build-helper:remove-project-artifact
Full name:
org.codehaus.mojo:build-helper-maven-plugin:1.7:remove-project-artifact
Description:
Remove project's artifacts from local repository. Useful to keep
only one copy of large local snapshot, for example: installer, for
disk space optimization purpose.
Attributes:
- Requires a Maven project to be executed.
- Since version: 1.1.
- Binds by default to the lifecycle phase: package.
Optional Parameters
| Name |
Type |
Since |
Description |
| failOnError |
boolean |
1.6 |
Indicates whether the build will continue even if there are removal
errors. Default value is: true. |
| removeAll |
boolean |
1.1 |
When true, remove all built artifacts including all versions. When
false, remove all built artifacts of this project version. Default value is: true. |
Parameter Details
failOnError:
Indicates whether the build will continue even if there are removal
errors.
- Type: boolean
- Since: 1.6
- Required: No
- Expression: ${buildhelper.removeCritical}
- Default: true
removeAll:
When true, remove all built artifacts including all versions. When
false, remove all built artifacts of this project version.
- Type: boolean
- Since: 1.1
- Required: No
- Expression: ${buildhelper.removeAll}
- Default: true