build-helper:attach-artifact
Full name:
org.codehaus.mojo:build-helper-maven-plugin:3.2.0:attach-artifact
Description:
Attach additional artifacts to be installed and deployed.
Attributes:
- Requires a Maven project to be executed.
- Since version: 1.0.
- Binds by default to the lifecycle phase: package.
Required Parameters
Name |
Type |
Since |
Description |
artifacts |
Artifact[] |
1.0 |
Attach an array of artifacts to the project.
|
Optional Parameters
Name |
Type |
Since |
Description |
runOnlyAtExecutionRoot |
boolean |
1.5 |
This will cause the execution to be run only at the top of a given
module tree. That is, run in the project contained in the same
folder where the mvn execution was launched. Default value is: false. User property is: buildhelper.runOnlyAtExecutionRoot.
|
skipAttach |
boolean |
1.6 |
This allows to skip the attach execution in case it is known that
the corresponding file does not exists. For example, when the
previous ant-run task is skipped with a unless. Default value is: false. User property is: buildhelper.skipAttach.
|
Parameter Details
artifacts:
Attach an array of artifacts to the project.
- Type: org.codehaus.mojo.buildhelper.Artifact[]
- Since: 1.0
- Required: Yes
runOnlyAtExecutionRoot:
This will cause the execution to be run only at the top of a given
module tree. That is, run in the project contained in the same
folder where the mvn execution was launched.
- Type: boolean
- Since: 1.5
- Required: No
- User Property: buildhelper.runOnlyAtExecutionRoot
- Default: false
skipAttach:
This allows to skip the attach execution in case it is known that
the corresponding file does not exists. For example, when the
previous ant-run task is skipped with a unless.
- Type: boolean
- Since: 1.6
- Required: No
- User Property: buildhelper.skipAttach
- Default: false