Dependency graph plugin

The DepGraph plugin draws a dependency graph of the project the mojo is executed in. It traverses all dependencies and creates a graph using Graphviz.

There are two maven goals: depgraph to get a dependency graph just for your project and fullgraph for graph for all the modules as they are interconnected. Please refer to the next two sections for more info on how to use them.

Handling of child->parent dependencies: To make the graph output more readable, parent->child dependencies are not considered as dependencies where no other dependencies exist. This typically leads to "orphan" artifacts that seem to be not connected to the rest of the artifacts. You can use the depgraph.filterEmptyArtifacts property if you want to eliminate them from the graph.

Here is an example of the plugin's output.

For usage see the plugin info page.