Clean configuration
This class contains configuration to clean the storage of the local maven repository
| Type | Name and description |
|---|---|
java.lang.Object |
dryRunFlag to control cleaner will run as dry-run. |
java.lang.Object |
maxAgeInDaysMax age that a version can be into repository |
java.lang.Object |
maxAgeSnapshotsInDaysMax age in days that an snapshot can be into repository |
java.lang.Object |
pathPath where local maven is |
java.lang.Object |
snapshotsOnlyFlag to only check snapshots |
java.lang.Object |
versionsToKeepVersion to keep. |
| Constructor and description |
|---|
CleanConfiguration
()Creates a new clean configuration |
CleanConfiguration
(java.lang.String path)Creates a new clean configuration |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Flag to control cleaner will run as dry-run. It is yes by default
Max age that a version can be into repository
Max age in days that an snapshot can be into repository
Path where local maven is
Flag to only check snapshots
Version to keep. It is an array that contains the version you want to keep in the repository
Groovy Documentation