org.apache.maven.plugin.dependency
Class PurgeLocalRepositoryMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo
All Implemented Interfaces:
ContextEnabled, Mojo

@Mojo(name="purge-local-repository",
      threadSafe=true)
public class PurgeLocalRepositoryMojo
extends AbstractMojo

Remove the project dependencies from the local repository, and optionally re-resolve them.

Since:
2.0
Version:
$Id: PurgeLocalRepositoryMojo.java 1451088 2013-02-28 04:22:41Z brianf $
Author:
jdcasey

Field Summary
static String ARTIFACT_ID_FUZZINESS
           
static String FILE_FUZZINESS
           
static String GROUP_ID_FUZZINESS
           
protected  List<ArtifactRepository> remoteRepositories
          List of Remote Repositories used by the resolver
static String VERSION_FUZZINESS
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PurgeLocalRepositoryMojo()
           
 
Method Summary
 void execute()
           
 boolean isSkip()
           
 void setSkip(boolean skip)
           
 
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
 

Field Detail

FILE_FUZZINESS

public static final String FILE_FUZZINESS
See Also:
Constant Field Values

VERSION_FUZZINESS

public static final String VERSION_FUZZINESS
See Also:
Constant Field Values

ARTIFACT_ID_FUZZINESS

public static final String ARTIFACT_ID_FUZZINESS
See Also:
Constant Field Values

GROUP_ID_FUZZINESS

public static final String GROUP_ID_FUZZINESS
See Also:
Constant Field Values

remoteRepositories

@Parameter(defaultValue="${project.remoteArtifactRepositories}",
           readonly=true,
           required=true)
protected List<ArtifactRepository> remoteRepositories
List of Remote Repositories used by the resolver

Constructor Detail

PurgeLocalRepositoryMojo

public PurgeLocalRepositoryMojo()
Method Detail

execute

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

isSkip

public boolean isSkip()

setSkip

public void setSkip(boolean skip)


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.