Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode



asked 2016-07-20 05:15:52 -0700

KushalKumar gravatar image


I have an activity where I have to find the availability of a plugin/jar of a specific version from the nexus repository of Opendaylight.

Since there are too many jars, I need to know if NEXUS exposes any REST API for this purpose. We have a UI (link text) for this purpose, but feeding in artifactID,groupID and version for each jar will become a cumbersome task.

Please let me know if anybody has any info on that.

Regards, Kushal Kumar TCS, Gurgaon

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-20 08:09:29 -0700

Linux Foundation Staff

The Nexus webUI only uses REST to communicate with the backend process. You can easily inspect what the webUI is doing if you want, or do some googling on Sonatype Nexus REST.

Finally, if you already know the basic coordinates of the objects you're looking for, there is a maven-metadata.xml file that is at the top of each groupID/artifactID location in the repositories that lists out all of the versions for a particular artifact, including the most current one. For instance using the groupID and artifactID you searched for in your example and looking in just the releases repository you'll find this metadata file.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-07-20 05:15:52 -0700

Seen: 18 times

Last updated: Jul 20 '16