itdependency-resolution:compile

Full name:

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

Description:

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.

Attributes:

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

Optional Parameters

Name Type Since Description
compileArtifacts String - The path to the output file for the compile 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.compileArtifacts.
compileClassPath String - The path to the output file for the compile 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.compileClassPath.
compileClassPathChecksums String - The path to the properties file for the checksums of the compile 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.compileClassPathChecksums.
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 compile 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.

Parameter Details

compileArtifacts:

The path to the output file for the compile 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.compileArtifacts

compileClassPath:

The path to the output file for the compile 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.compileClassPath

compileClassPathChecksums:

The path to the properties file for the checksums of the compile 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.compileClassPathChecksums

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 compile 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