0
votes

I have multi-module project. say for example : x |_b |_c When I run the command mvn dependency : tree This will output dependency trees for the modules "b" and "c"

I know we can get specific module dependency tree by using this command mvn -f modulename/pom.xml dependency:tree

Is there a way to generate a dependency tree for specific module using only its groupId,artifactId, and version.

1

1 Answers

0
votes

What about

mvn dependency:tree -pl modulename

?

This should run the command only on the desired module.