itartifact:attach

Full name:

org.apache.maven.its.plugins:maven-it-plugin-artifact:2.1-SNAPSHOT:attach

Description:

Attaches a secondary artifact to the current project. This mimics source/javadoc attachments or other assemblies.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
attachedFile String - The path to the file to attach, relative to the project base directory. The plugin will not validate this path.
User property is: artifact.attachedFile.

Optional Parameters

Name Type Since Description
artifactClassifier String - The classifier for the attached artifact. If unspecified, the default classifier for the specified artifact type is used.
User property is: artifact.artifactClassifier.
artifactType String - The type of the artifact to attach.
User property is: artifact.artifactType.

Parameter Details

artifactClassifier:

The classifier for the attached artifact. If unspecified, the default classifier for the specified artifact type is used.
  • Type: java.lang.String
  • Required: No
  • User Property: artifact.artifactClassifier

artifactType:

The type of the artifact to attach.
  • Type: java.lang.String
  • Required: No
  • User Property: artifact.artifactType

attachedFile:

The path to the file to attach, relative to the project base directory. The plugin will not validate this path.
  • Type: java.lang.String
  • Required: Yes
  • User Property: artifact.attachedFile