Plugin Documentation

Goals available for this plugin:

GoalReport?Description
graph:conflictsNo

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:dependenciesNo

This mojo produces customizable graphs of Maven dependency trees.

By default, the complete dependency tree (including transitive dependencies) is graphed. Graphs can be filtered with include/exclude criteria for artifacts (eg -Dgraph.includes=org.apache.*) and with show/hide criteria for Maven scope and optional settings (eg -Dgraph.show=compile,runtime)

Two layout styles are supported. In LINKED mode, relationships between shared dependencies are included in the graph. In FLAT mode, dependencies are displayed how they are defined in pom's.

graph:multiNoConvenience mojo for generating multiple graphs.
graph:reportYesNo description.

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.5-SNAPSHOT</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.5-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- To use the report goals in your POM or parent POM -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.kuali.maven.plugins</groupId>
        <artifactId>graph-maven-plugin</artifactId>
        <version>1.0.5-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>

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