[
https://issues.apache.org/jira/browse/MNG-6101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17187956#comment-17187956
]
Martin Kanters commented on MNG-6101:
-------------------------------------
I'm not sure if it was common knowledge already, but I've verified that phases
earlier in the lifecycle than compile (such as validate) do not build the
reactor.
It's not a proper solution, but you could check if skipping compilation is good
enough:
{{mvn compile dependency:tree -Dmaven.main.skip}}
> Dependency plugin bypasses reactor when resolving dependencies
> --------------------------------------------------------------
>
> Key: MNG-6101
> URL: https://issues.apache.org/jira/browse/MNG-6101
> Project: Maven
> Issue Type: Bug
> Components: Dependencies, Reactor and workspace
> Affects Versions: 3.3.9
> Reporter: Tuure Laurinolli
> Priority: Major
> Fix For: 3.x / Backlog
>
> Attachments: resolution.zip
>
>
> 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/[email protected]/msg104341.html resolves
> the immediate issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)