Hi folks,

I'm working on MDEP-269 <http://jira.codehaus.org/browse/MDEP-269> - convert
a legacy lib/*.jar to maven <dependencies>
I've attached a patch to Jira as I'd like your opinion on the way to support
this use case.

My patch uses Nexus REST API to query the repository manager for artifacts
based on local files SHA1 hash.
The query URL is configurable, and the Xpath expression to extract data
should also, so that a non-nexus repository manager that provides comparable
feature may be user.

Maybe there is more performant/portable way to do this,
for example using repository index generated by Nexus (not sure if other
repository manager do the same) but this one doesn't include the artifacts
hash yet (NEXUS-3596 <http://issues.sonatype.org/browse/NEXUS-3596>)

WDYT ?

Nicolas

Reply via email to