You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Nick Spacek <ni...@lashpoint.com> on 2012/12/05 15:27:51 UTC

ibiblio resolver using mixed revision numbers in URL

Hi there,

I'm having some troubles with Ivy resolving the wrong latest.integration
for a Maven artifact. It is reading the Maven metadata (apparently) and
tries to get the 0.0.3-SNAPSHOT version. However, when it attempts to
retrieve the POM it is using both the 0.0.3-SNAPSHOT version from the
metadata and the 0.0.1-SNAPSHOT version from the metadata in the URL, as
you will see below. As far as I can tell, the Maven metadata is fine.

[ivy:resolve]   listing revisions from maven-metadata:
http://internal/maven/content/repositories/snapshots/com/lashpoint/artifact/maven-metadata.xml
[ivy:resolve] CLIENT ERROR: Not Found url=
http://internal/maven/content/repositories/snapshots/com/lashpoint/artifact/0.0.3-SNAPSHOT/artifact-0.0.1-20120412.180130-2.pom

0.0.1-20120412.180130-2 is a valid, earlier SNAPSHOT build. It eventually
does return this one as the latest.integration, pulling it from the correct
path at 0.0.1-SNAPSHOT/artifact-0.0.1-20120412.180130-2.pom.

It looks like the resolver is mixing the two revisions together for some
reason. Any thoughts?