apache / apache/maven-dependency-plugin

[MDEP-724] Dependency plugin bypasses reactor when resolving dependencies

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

Description

**[Tuure Laurinolli](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tulau)** opened **[MDEP-724](https://issues.apache.org/jira/browse/MDEP-724?redirect=false)** and commented

When running `mvn dependency:tree` on a multi-module project, inter-module dependencies are not resolved through reactor. Using another goal in the same build (e.g. `mvn compile dependency:tree`) as suggested in http://www.mail-archive.com/users@maven.apache.org/msg104341.html resolves the immediate issue.

---

**Affects:** 2.8

**Attachments:**
- [resolution.zip](https://issues.apache.org/jira/secure/attachment/12832105/resolution.zip) (_1.75 kB_)

0 votes, 7 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `mvn dependency:tree` in a multi-module Maven project and compare it with `mvn compile dependency:tree`, as described in the issue. Trace how the dependency plugin resolves inter-module dependencies; done means `dependency:tree` resolves them through the reactor without requiring another goal first.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.