Is there a URL for the latest snapshot for an artifact in Artifactory? -


i make permalink latest snapshot version of artifact in artifactory. if on 1.0-snapshot, url downloads latest 1.0-snapshot jar. can find latest artifact locating artifact on our server @ http://hostname/artifactory/libs-snapshot/groupid/artifactid/1.0-snapshot/. other checking timestamps, can figure out 1 if latest opening maven-metadata.xml , matching metadata/versioning/snapshot timestamp , buildnumber jar in same directory. scripted, ideally artifactory has way construct permalink in manner. artifactory provide such url?

doing normal query entry artifactid-1.0-snapshot.jar in url name should return automatically latest snapshot. see doc here

one thing: base either on latest creation date if no pom present, or latest creation of pom if there some. mixing pom , non-pom deployment may results in strange results!


Comments