Can I resolve maven artifact dependencies in artifactory?

We are currently moving from Nexus to Artifactory and one thing we are missing is an API call to resolve maven dependencies in artifactory. Nexus has this endpoint /service/local/dependency?r=snapshots,releases&c=&e=pom&s=compile&f=list&g=<my.group>&a=<my-artifact>&v=<my-version>

, which gives a compiled list of all, including transient, depdendencies.

We need this because we (mis) use maven as a general deployment / version control system to generate artifacts (actually zip files of shell scripts) and to manage dependencies. These dependencies are also required for production deployment.

Since we are migrating from Nexus we have no assemblies available and I'm not sure yet if we want to use them. Is there a way to get a rest endpoint like nexus one in Artifactory? Maybe a custom plugin? Any hints on how this can be done?

+3


source to share





All Articles