Visualize Maven Project Dependencies with dependency:tree and Dot Diagram Output
Join the DZone community and get the full member experience.Join For Free
The dependency:tree goal of the Maven plugin dependency supports various graphical outputs from the version 2.4 up. This is how you would create a diagram showing all dependencies in the com.example group in the dot format:
mvn dependency:tree -Dincludes=com.example-DappendOutput=true -DoutputType=dot -DappendOutput=true -DoutputFile=/path/to/output.dot
Opinions expressed by DZone contributors are their own.