org.codehaus.mojo.buildhelper
Class RemoveLocalArtifactMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RemoveLocalArtifactMojo()
           
 
Method Summary
 void execute()
           
 
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
 

Constructor Detail

RemoveLocalArtifactMojo

public RemoveLocalArtifactMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Throws:
MojoExecutionException
MojoFailureException


Copyright © 2005-2011 Codehaus. All Rights Reserved.