Plugin Documentation

Goals available for this plugin:

GoalDescription
dependency-check:checkGoal of "dependency-check:check" is used to check missing artifacts in a specified Maven Repository. The format of the list printed out is: G:A:T:V, where G is the groupId, A is the ArtifactId, T is the Type, V is the version. It will print the list to console by default, or you can specify an output file by a parameter: -DoutputFile=. This goal checks only one Maven Repository a time, the -DrepoURL has higher priority than -DrepoId.
dependency-check:generate-pomsGoal of 'dependency-check:generate-poms' will generate each test pom file for each BOM module. It can be used to check against whether the BOM declared correct dependencies versions using the generated pom files.
dependency-check:helpDisplay help information on dependency-check-maven-plugin.
Call mvn dependency-check:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.

System Requirements

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

Maven2.0
JDK1.5
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.jboss.maven.plugins</groupId>
          <artifactId>dependency-check-maven-plugin</artifactId>
          <version>1.0.4-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.jboss.maven.plugins</groupId>
        <artifactId>dependency-check-maven-plugin</artifactId>
        <version>1.0.4-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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