itdependency-resolution:test

Full name:

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

Description:

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.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.

Optional Parameters

Name Type Since Description
dependencyArtifacts String - The path to the output file for the direct 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 direct project artifacts additionally contains those artifacts that do not contribute to the class path.
User property is: depres.dependencyArtifacts.
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.
testArtifacts String - The path to the output file for the test 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.
User property is: depres.testArtifacts.
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

dependencyArtifacts:

The path to the output file for the direct 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 direct project artifacts additionally contains those artifacts that do not contribute to the class path.
  • Type: java.lang.String
  • Required: No
  • User Property: depres.dependencyArtifacts

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

testArtifacts:

The path to the output file for the test 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.
  • Type: java.lang.String
  • Required: No
  • User Property: depres.testArtifacts

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