apache / apache/maven-dependency-plugin

[MDEP-884] go-offline goal should have an option to ignore failures on optional dependencies

Open
#1,392 0 comments 0 reactions 0 assignees View on GitHub
priority:major
Dominant language
Java
Stars
175
Forks
196
Avg merge
19h 30m
Merged PRs (30d)
5

Description

**[Daniel Cruver](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ddcruver)** opened **[MDEP-884](https://issues.apache.org/jira/browse/MDEP-884?redirect=false)** and commented

When optional dependencies can not be found it fails to execution of the goal.

Our project ran into the case were an optional transitive dependency could not be found and it tried to use the dependency repo url which was http based and the http maven blocker blocked it.

To be clear this was an optional dependency of a dependency of our project in which we did not reference and excluding that optional transitive dependency did not help. Which in the context of a optional dependency doesn't make sense but I was trying anything.

---

1 votes, 2 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the go-offline goal and its optional-dependency resolution path. Reproduce the failure with an unavailable optional transitive dependency and determine how an ignore-failures option should affect the goal; done means the option is documented and the goal no longer fails for that case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.