org.apache.maven.plugin.dependency
Class PurgeLocalRepositoryMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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.html 861760 2013-05-12 17:31:26Z hboutemy $
- Author:
- jdcasey
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 |
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
PurgeLocalRepositoryMojo
public PurgeLocalRepositoryMojo()
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.