Plugin Documentation

Goals available for this plugin:

Goal Description
itdependency-resolution:aggregate-test Combines dependency resolution 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-resolution:compile Creates text files that list the dependencies with scope compile in the order returned from the Maven core. The path parameters of this mojo support the token @idx@ to dynamically insert a running index in order to distinguish multiple executions of the same mojo.
itdependency-resolution:compile-runtime Creates text files that list the dependencies with scope compile and runtime in the order returned from the Maven core. The path parameters of this mojo support the token @idx@ to dynamically insert a running index in order to distinguish multiple executions of the same mojo.
itdependency-resolution:fork-test Forks the "test" mojo to check interplay of forking and dependency resolution.
itdependency-resolution:inject Injects artifacts from the plugin into the dependency artifacts of the project.
itdependency-resolution:resolve-one-dependency Attempts to resolve a single artifact from dependencies, and logs the results for the Verifier to look at.
itdependency-resolution:runtime Creates text files that list the dependencies with scope runtime in the order returned from the Maven core. The path parameters of this mojo support the token @idx@ to dynamically insert a running index in order to distinguish multiple executions of the same mojo.
itdependency-resolution:test Creates text files that list the dependencies with scope test in the order returned from the Maven core. The path parameters of this mojo support the token @idx@ to dynamically insert a running index in order to distinguish multiple executions of the same mojo.

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-resolution</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-resolution</artifactId>
        <version>2.1-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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