We have a Sonatype Nexus repo, where we publish RPMs with the Maven RPM plugin. Snapshots and release versions are available. The issue here is around the mapping between versions.
First, I obtain a list of snapshots in Nexus:
yum --showduplicates --disablerepo=* --enablerepo=snapshot list myrpm
Loaded plugins: downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
Available Packages
myrpm.noarch 0.10.6-SNAPSHOT20141128065137 snapshot
myrpm.noarch 0.10.6-SNAPSHOT20141128135713 snapshot
myrpm.noarch 0.10.6-SNAPSHOT20141128170402 snapshot
myrpm.noarch 0.10.6-SNAPSHOT20141201085055 snapshot
I want to fetch a specific version, for example 0.10.6-SNAPSHOT20141201085055:
yumdownloader --disablerepo=* --enablerepo=snapshot myrpm-0.10.6-SNAPSHOT20141201085055
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
wpsnapshot | 3.3 kB 00:00
myrpm-0.10.6-20141201.091715-23-rpm.rpm | 10 MB 00:11
My question is how is the mapping between the versions 'SNAPSHOT20141201085055' and '20141201.091715-23' worked out?