itartifact:set

Full name:

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

Description:

Sets the main artifact's file. This is the essence of the Maven JAR Plugin and all the other packaging plugins. Creating the actual file for the main artifact is a specific plugin job and not related to the Maven core.

Attributes:

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

Required Parameters

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

Parameter Details

mainFile:

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