Reputation: 9809
How does maven resolve dependency tree?
I ask this as I get 3 different dependency trees published in as many environments - though the versions of the components(those that get published) are the same.
For some components ,the dependencies simply get skipped to be mentioned in one environment,while not in another.
What causes maven to suppress mentioning dependencies?
I am using maven 3.2.1
Upvotes: 0
Views: 6681
Reputation: 78
Can you try running mvn dependency:tree
instead of mvn compile dependency:tree
? I am running the command and getting the output as expected. Thanks.
P.S: I wanted to add this as a comment, but can't because of my rep.
Upvotes: 2