Fork me on GitHub

build-helper:remove-project-artifact

Full name:

org.codehaus.mojo:build-helper-maven-plugin:3.5.0: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.
  • 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 value is: true.
User property is: 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 value is: true.
User property is: 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