apache / apache/maven

[MNG-7436] Do not fail if there is one bad dependency

Open
#9,146 0 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Christoph Läubrich](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=laeubi)** opened **[MNG-7436](https://issues.apache.org/jira/browse/MNG-7436?redirect=false)** and commented

We currently have a [bug-report at tycho](https://github.com/eclipse/tycho/issues/781) that complains about missing dependency resolution.
It seems that a dependency with system scope but missing path triggers this (something that should be fixed of course), but I think maven should be a bit more forgiven here:

Instead of failing completely, it should simply skip the "bad" dependency. If that's not feasible , in any case it should clearly indicate the causing item in the pom.

---
No further details from [MNG-7436](https://issues.apache.org/jira/browse/MNG-7436?redirect=false)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing dependency resolution with a system-scoped dependency whose path is missing, using the POM scenario described in the issue. Trace the Maven dependency-resolution failure and determine whether the expected result is to skip the bad dependency or report the causing POM item clearly; done means the chosen behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.