build-helper:remove-project-artifact
Full name:
org.codehaus.mojo:build-helper-maven-plugin:3.6.0:remove-project-artifact
Deprecated:
There is a similar goal: dependency:purge-local-repository By the way such goal should by not used with Maven 3/4 anymore.
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.
- The goal is thread-safe and supports parallel builds.
- 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: true User Property: buildhelper.failOnError |
<removeAll> |
boolean |
1.1 |
When true, remove all built artifacts including all versions. When false, remove all built artifacts of this project version. Default: true User Property: buildhelper.removeAll |
Parameter Details
<failOnError>
Indicates whether the build will continue even if there are removal errors.
- Type:
boolean
- Since:
1.6
- Required:
No
- User Property:
buildhelper.failOnError
- 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
- User Property:
buildhelper.removeAll
- Default:
true