itdependency-resolution:resolve-one-dependency

Full name:

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

Description:

Attempts to resolve a single artifact from dependencies, and logs the results for the Verifier to look at.

Attributes:

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

Required Parameters

Name Type Since Description
artifactId String - Artifact ID of the artifact to resolve.
groupId String - Group ID of the artifact to resolve.
project MavenProject - (no description)
Default value is: ${project}.
scope String - The scope to resolve for.
type String - Type of the artifact to resolve.
version String - Version of the artifact to resolve.

Optional Parameters

Name Type Since Description
classifier String - Classifier of the artifact to resolve.
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

artifactId:

Artifact ID of the artifact to resolve.
  • Type: java.lang.String
  • Required: Yes

classifier:

Classifier of the artifact to resolve.
  • Type: java.lang.String
  • Required: No

groupId:

Group ID of the artifact to resolve.
  • Type: java.lang.String
  • Required: Yes

project:

(no description)
  • Type: org.apache.maven.project.MavenProject
  • Required: Yes
  • Default: ${project}

scope:

The scope to resolve for.
  • Type: java.lang.String
  • Required: Yes

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

type:

Type of the artifact to resolve.
  • Type: java.lang.String
  • Required: Yes

version:

Version of the artifact to resolve.
  • Type: java.lang.String
  • Required: Yes