ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Harrigan <dharri...@gmail.com>
Subject Unable to resolve dependency in Sonatype Repo.
Date Thu, 15 Dec 2011 14:06:00 GMT
Hiya,

Apache Ivy 2.2.x-local-20111215135840 (latest update from svn)

ivysettings.xml:

<ivysettings>
    <properties file="versions.properties" override="false" />
    <settings defaultResolver="default" />
    <resolvers m2compatible="true" changingPattern=".*-SNAPSHOT"
checkmodified="true">
        <chain name="default" returnFirst="true">
           <ibiblio name="sonatype" m2compatible="true"
root="https://oss.sonatype.org/content/repositories/snapshots/"
pattern="[organization]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"/>
        </chain>
</resolvers>
</ivysettings>

ivy.xml:

<dependency org="com.bluelock" name="camel-spring-amqp"
rev="1.0-SNAPSHOT" changing="true" conf="runtime->default" />

I've getting this error:

[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] 		module not found: com.bluelock#camel-spring-amqp;1.0-SNAPSHOT
[ivy:retrieve] 	==== sonatype: tried
[ivy:retrieve] 	
https://oss.sonatype.org/content/repositories/snapshots/com/bluelock/camel-spring-amqp/1.0-SNAPSHOT/camel-spring-amqp-1.0-SNAPSHOT.pom
[ivy:retrieve] 	  -- artifact
com.bluelock#camel-spring-amqp;1.0-SNAPSHOT!camel-spring-amqp.jar:
[ivy:retrieve] 	
https://oss.sonatype.org/content/repositories/snapshots/com/bluelock/camel-spring-amqp/1.0-SNAPSHOT/camel-spring-amqp-1.0-SNAPSHOT.jar
[ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 		::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 		:: com.bluelock#camel-spring-amqp;1.0-SNAPSHOT: not found
[ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ivy:retrieve] :: retrieving :: uk.co.mailonline#mol-router [sync]
[ivy:retrieve] 	confs: [default, runtime, compile, sources, javadoc,
test, build-support]
[ivy:retrieve] 	0 artifacts copied, 0 already retrieved (0kB/29ms)

I notice that the actual artifact in Sonatype has a datetime stamp:

camel-spring-amqp-1.0-20111214.201145-1.pom

but the maven-metadata.xml seems okay. I'm at a loss as to why it's
not resolving. Anyone got any ideas?

-=david=-


-- 
I prefer encrypted and signed messages. KeyID: B20A22F9
Fingerprint: 110A F423 3647 54E2 880F ADAD 1C52 85BF B20A 22F9

"It is not usually until you've built and used a version of the
program that you understand the issues well enough to get the design
right." - Rob Pike, Brian Kernighan.

No trees were harmed in the sending of this message, however, a number
of electrons were inconvenienced.

Mime
View raw message