public class RemoveCacheMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
private org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
Local maven repository.
|
| Constructor and Description |
|---|
RemoveCacheMojo() |
| Modifier and Type | Method and Description |
|---|---|
private void |
deleteMarkerFiles(java.util.List notAvailableMarkerFiles)
Delete each file in the notAvailableMarkerFiles list.
|
void |
execute() |
private java.util.List |
getNotAvailableMarkerFiles()
A list of all the not available marker
Files in the localRepository. |
private org.apache.maven.artifact.repository.ArtifactRepository localRepository
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprivate void deleteMarkerFiles(java.util.List notAvailableMarkerFiles)
notAvailableMarkerFiles - the list of marker files to delete.private java.util.List getNotAvailableMarkerFiles()
Files in the localRepository. If there are no marker files
then an empty list is returned.