build-helper:attach-artifact
Full name:
org.codehaus.mojo:build-helper-maven-plugin:1.8:attach-artifact
Description:
Attach additional artifacts to be installed and deployed.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- 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 |
| basedir |
String |
1.5 |
This project's base directory. Default value is: ${basedir}.
|
| 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 exemple, 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
basedir:
This project's base directory.
- Type: java.lang.String
- Since: 1.5
- Required: No
- Default: ${basedir}
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 exemple, when the
previous ant-run task is skipped with a unless.
- Type: boolean
- Since: 1.6
- Required: No
- User Property: buildhelper.skipAttach
- Default: false