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
@Mojo(name="remove-project-artifact",
defaultPhase=PACKAGE,
threadSafe=true)
public class RemoveLocalArtifactMojo- extends org.apache.maven.plugin.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 17587 2012-09-22 20:42:37Z hboutemy $
- Author:
- Dan T. Tran
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| 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 org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
Copyright © 2005-2013 Codehaus. All Rights Reserved.