Plugin Documentation

Goals available for this plugin:

GoalDescription
graph:condensed

This mojo lays out the dependency graph in condensed mode.

Each dependency appears on the graph once. Graphviz algorithms present the connections between the dependencies as a directed hierarchical graph.

graph:conflicts

This mojo displays any dependencies where conflict resolution has taken place.

Maven supports the resolution of artifact versions by way of nearest-wins. That is, for any set of dependencies sharing the same [groupId]:[artifactId]:[type]:[classifier], the one declared nearest to the current project in the dependency tree is selected for use.

graph:flat

This mojo lays out the dependency graph in the same order they are defined in the pom's.

This style can make it easier to comprehend the dependency tree but the graph will have more nodes on it.

System Requirements

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

Maven2.0
JDK1.6
MemoryNo minimum requirement.
Disk SpaceNo 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>org.kuali.maven.plugins</groupId>
          <artifactId>graph-maven-plugin</artifactId>
          <version>1.0.2</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.kuali.maven.plugins</groupId>
        <artifactId>graph-maven-plugin</artifactId>
        <version>1.0.2</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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