I like depgraph-maven-plugin to visualize dependencies in a multi-module project, see also previous answer.
To get an aggregated result in text format (like dependency:tree
) for your modules, use:
mvn com.github.ferstl:depgraph-maven-plugin:aggregate -DgraphFormat=text -Dincludes=myGroupId
The syntax for includes is the same as with maven-dependency-plugin includes.
It has a lot of properties to customize the result/behavior. I prefer to use it together with graphviz, so I can use the (default) graph format dot
and let it create a png
file in the target
folder:
mvn com.github.ferstl:depgraph-maven-plugin:aggregate -DcreateImage -Dincludes=myGroupId
There are also other interesting goals, e.g. an example
goal to quickly play around with the properties.