Package org.codehaus.mojo.buildhelper
Class RemoveLocalArtifactMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.buildhelper.RemoveLocalArtifactMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Deprecated @Mojo(name="remove-project-artifact", defaultPhase=PACKAGE, threadSafe=true) public class RemoveLocalArtifactMojo extends org.apache.maven.plugin.AbstractMojo
Deprecated.There is a similar goal: dependency:purge-local-repository By the way such goal should by not used with Maven 3/4 anymore.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.- Since:
- 1.1
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
failOnError
Deprecated.Indicates whether the build will continue even if there are removal errors.private org.apache.maven.project.MavenProject
project
Deprecated.private boolean
removeAll
Deprecated.When true, remove all built artifacts including all versions.private org.eclipse.aether.RepositorySystemSession
repoSession
Deprecated.
-
Constructor Summary
Constructors Constructor Description RemoveLocalArtifactMojo()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
execute()
Deprecated.
-
-
-
Field Detail
-
removeAll
@Parameter(defaultValue="true", property="buildhelper.removeAll") private boolean removeAll
Deprecated.When true, remove all built artifacts including all versions. When false, remove all built artifacts of this project version.- Since:
- 1.1
-
failOnError
@Parameter(defaultValue="true", property="buildhelper.failOnError") private boolean failOnError
Deprecated.Indicates whether the build will continue even if there are removal errors.- Since:
- 1.6
-
project
@Parameter(readonly=true, defaultValue="${project}") private org.apache.maven.project.MavenProject project
Deprecated.- Since:
- 1.1
-
repoSession
@Parameter(readonly=true, defaultValue="${repositorySystemSession}") private org.eclipse.aether.RepositorySystemSession repoSession
Deprecated.
-
-