org.apache.maven.plugin.dependency
Class PurgeLocalRepositoryMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.dependency.PurgeLocalRepositoryMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="purge-local-repository",
threadSafe=true)
public class PurgeLocalRepositoryMojo- extends org.apache.maven.plugin.AbstractMojo
Remove the project dependencies from the local repository, and optionally re-resolve them.
- Since:
- 2.0
- Version:
- $Id: PurgeLocalRepositoryMojo.java 1481553 2013-05-12 13:25:34Z hboutemy $
- Author:
- jdcasey
| 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 |
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<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories
- List of Remote Repositories used by the resolver
PurgeLocalRepositoryMojo
public PurgeLocalRepositoryMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
isSkip
public boolean isSkip()
setSkip
public void setSkip(boolean skip)
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.