In our art, we have a snapshot repository designed to handle a maximum of 5 unique snapshots. We added the -SNAPSHOT extension to the file name. SNAPSHOT is also converted to a timestamp. The build is done using gradle, and the artifact is published with a bamboo and artificial plugin.
File deployed to artifactory ...
inhouse-snapshots:com/example/project/subproject/trunk-SNAPSHOT/subproject-trunk-SNAPSHOT-79.amp
becomes ...
inhouse-snapshots:com/example/project/subproject/trunk-SNAPSHOT/subproject-trunk-20120321.154621-1-79.amp
This is fine, and each assembly adds a new file with an assembly extension number, but the timestamp number always remains in the list 20120321.154621-1, so we have a list of files, for example:
- subproject-negotiation 20120321.154621-1-79.amp
- subproject-negotiation 20120321.154621-1-80.amp
- subproject-negotiation 20120321.154621-1-81.amp
- ?