Plugin Documentation

Goals available for this plugin:

Goal Description
itdependency-collection:aggregate-test Combines dependency collection with aggregation. The path parameters of this mojo support the token @artifactId@ to dynamically adjust the output file for each project in the reactor whose dependencies are dumped.
itdependency-collection:compile Creates text files that list the dependencies with scope compile in the order returned from the Maven core.
itdependency-collection:runtime Creates text files that list the dependencies with scope runtime in the order returned from the Maven core.
itdependency-collection:test Creates text files that list the dependencies with scope test in the order returned from the Maven core.

System Requirements

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

Maven 2.0
JDK Default target for maven-compiler-plugin version 3.8.1
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>org.apache.maven.its.plugins</groupId>
          <artifactId>maven-it-plugin-dependency-collection</artifactId>
          <version>2.1-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.apache.maven.its.plugins</groupId>
        <artifactId>maven-it-plugin-dependency-collection</artifactId>
        <version>2.1-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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