Due to disk space considerations I\'d like to only ever keep one version of any snapshot in my repository. Rather than keeping multiple versions with timestamp suffixes
The simplest (and recommended) way is to use non-unique snapshots. If you must use unique snapshots, you can do this in Artifactory by specifying the
For example:
snapshots
false
false
true
1
**/*
non-unique
For reference you can do this in Nexus (via the UI) by setting up a scheduled service, it allows you to specify the minimum number to retain, the maximum period to retain them for, and whether to remove the snapshot if a release version is deployed.