org.codehaus.mojo.buildhelper
Class RemoveLocalArtifactMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.RemoveLocalArtifactMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class RemoveLocalArtifactMojo
- extends AbstractMojo
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
- Version:
- $Id: RemoveLocalArtifactMojo.java 11881 2010-02-12 08:00:57Z dennisl $
- Author:
- Dan T. Tran
- Is bound to the specified phase of the standard build lifecycle:
- package
- Is defined by the goal name:
- remove-project-artifact
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveLocalArtifactMojo
public RemoveLocalArtifactMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Throws:
MojoExecutionException
MojoFailureException
Copyright © 2005-2011 Codehaus. All Rights Reserved.