Plugin Documentation

Goals available for this plugin:

Goal Description
depgraph:aggregate Aggregates all dependencies of a multi-module project into one single graph.
depgraph:aggregate-by-groupid Aggregates all dependencies of a multimodule by their group IDs.
depgraph:by-groupid Creates a graph containing the group IDs of all dependencies.
depgraph:example Creates an example graph. This Mojo has the same capabilities as the graph Mojo. So it might be useful to try out different options and node stylings.
depgraph:for-artifact Creates a dependency graph from an arbitrary artifact.
depgraph:graph Creates a dependency graph of a maven module.
depgraph:help Display help information on depgraph-maven-plugin.
Call mvn depgraph:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
depgraph:reactor Creates a dependency graph of the Maven rector in a multimodule project.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.2.5
JDK 1.8
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>com.github.ferstl</groupId>
          <artifactId>depgraph-maven-plugin</artifactId>
          <version>4.0.3</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.github.ferstl</groupId>
        <artifactId>depgraph-maven-plugin</artifactId>
        <version>4.0.3</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"