Well, we had an issue:

https://issues.sonatype.org/browse/NEXUS-644

but it was fixed more then a year ago... maybe he suffered from that one?

But index downloaded from central was never suffering from this issue (it is
not a Nexus instance, and Central would not be a group anyway). Use the
latest release of Nexus Indexer and please test it. If you find hashes
usable, please close the issue.

Note: In issue above MD5 hashes are mentioned, but MD5 is not supported
anymore, not on index. Only SHA1 hashes are.

Thanks,
~t~

On Fri, Jun 18, 2010 at 10:35 PM, nicolas de loof
<[email protected]>wrote:

> I discussed with the author of alf-maven-osecm (that suggested me this
> feature) and he reported me he first tried to use the repo index but didn't
> find the hash in it. I've not tried by myslef. If hash is included, please
> close my Jira issue on Nexus and I'll double check this.
>
> 2010/6/18 Tamás Cservenák <[email protected]>
>
> > I don't get it, what do you mean by "repository index generated by Nexus
> > ...
> > doesn't include the artifact hash"?
> >
> > What makes you think hash is not on the index?
> >
> > Thanks,
> > ~t~
> >
> > On Fri, Jun 18, 2010 at 11:52 AM, nicolas de loof
> > <[email protected]>wrote:
> >
> > > 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