itdependency-resolution:runtime

Full name:

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

Description:

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.

Attributes:

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

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 runtime artifacts, the collection of project artifacts additionally contains those artifacts that do not contribute to the class path.
User property is: depres.projectArtifacts.
runtimeArtifacts String - The path to the output file for the runtime 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.runtimeArtifacts.
runtimeClassPath String - The path to the output file for the runtime 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.runtimeClassPath.
runtimeClassPathChecksums String - The path to the properties file for the checksums of the runtime 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.runtimeClassPathChecksums.
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

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

runtimeArtifacts:

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

runtimeClassPath:

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

runtimeClassPathChecksums:

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

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