itdependency-resolution:aggregate-test

Full name:

org.apache.maven.its.plugins:maven-it-plugin-dependency-resolution:2.1-SNAPSHOT:aggregate-test

Description:

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.

Attributes:

  • Requires a Maven project to be executed.
  • Executes as an aggregator plugin.
  • Requires dependency resolution of artifacts in scope: test.

Optional Parameters

Name Type Since Description
projectArtifacts String - The path to the output file for the project artifacts, relative to the project base directory. Each line of this UTF-8 encoded file specifies an artifact identifier. If not specified, the artifact list will not be written to disk. Unlike the test artifacts, the collection of project artifacts additionally contains those artifacts that do not contribute to the class path.
User property is: depres.projectArtifacts.
significantPathLevels int - The number of trailing path levels that should be used to denote a class path element. If positive, each class path element is trimmed down to the specified number of path levels by discarding leading directories, e.g. set this parameter to 1 to keep only the simple file name. The trimmed down paths will always use the forward slash as directory separator. For non-positive values, the full/absolute path is returned, using the platform-specific separator.
User property is: depres.significantPathLevels.
testClassPath String - The path to the output file for the test class path, relative to the project base directory. Each line of this UTF-8 encoded file specifies the absolute path to a class path element. If not specified, the class path will not be written to disk.
User property is: depres.testClassPath.
testClassPathChecksums String - The path to the properties file for the checksums of the test class path elements, relative to the project base directory. The (trimmed) path to a JAR is used as the property key, the property value is the SHA-1 hash of the JAR. If not specified, the class path checksums will not be calculated.
User property is: depres.testClassPathChecksums.

Parameter Details

projectArtifacts:

The path to the output file for the project artifacts, relative to the project base directory. Each line of this UTF-8 encoded file specifies an artifact identifier. If not specified, the artifact list will not be written to disk. Unlike the test artifacts, the collection of project artifacts additionally contains those artifacts that do not contribute to the class path.
  • Type: java.lang.String
  • Required: No
  • User Property: depres.projectArtifacts

significantPathLevels:

The number of trailing path levels that should be used to denote a class path element. If positive, each class path element is trimmed down to the specified number of path levels by discarding leading directories, e.g. set this parameter to 1 to keep only the simple file name. The trimmed down paths will always use the forward slash as directory separator. For non-positive values, the full/absolute path is returned, using the platform-specific separator.
  • Type: int
  • Required: No
  • User Property: depres.significantPathLevels

testClassPath:

The path to the output file for the test class path, relative to the project base directory. Each line of this UTF-8 encoded file specifies the absolute path to a class path element. If not specified, the class path will not be written to disk.
  • Type: java.lang.String
  • Required: No
  • User Property: depres.testClassPath

testClassPathChecksums:

The path to the properties file for the checksums of the test class path elements, relative to the project base directory. The (trimmed) path to a JAR is used as the property key, the property value is the SHA-1 hash of the JAR. If not specified, the class path checksums will not be calculated.
  • Type: java.lang.String
  • Required: No
  • User Property: depres.testClassPathChecksums