Hi guys,

With the Rest API, is it possible to retrieve the latest version (release
or snapshots) for a given groupId and artifactId?

For example, let's consider the artifacts org.acme:artifact:1.0.0 and
org.acme:artifact:2.0.0-SNAPSHOT
The following command will return 1.0.0.
/api/search/latestVersion?g=org.acme&a=artifact

I'm looking for a similar command which will return the latest release or
snapshot version, in this case 2.0.0-SNAPSHOT.
I'd like to avoid playing with the "repos=", because I have quite a lot of
local repositories, which are grouped in virtual repos.

Cheers,
Jérémy
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to