Hello list,
I love IVY, but sometimes it drives me crazy. So please help me out of
the dark by a leading hand.
I have following ivysettings: http://pastebin.com/ZeBWWepy
And my ivy.xml looks like: http://pastebin.com/hQJMJnWX
If I try to resolve the deps I am getting strange URL-accesses and
strange dependencies.
e.g.:
http://nexus.local:8081/nexus/content/groups/public/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/working@pc-hkais/jboss-annotations-api_1.1_spec-work...@pc-hkais.pom
or
http://nexus.local:8081/nexus/content/groups/public/commons-io/commons-io/${dep.commons-io.version}/commons-io-${dep.commons-io.version}.pom
Questions:
How can I figure out, who needs the deps, which currently cannot be
resolved (see also later in my console output)?
I have really no clue about there the deps come from, and how to figure
out who needs this deps. So I am currently lost at this place.
Additionally, what does "working" in IVY words is doing exactly and why
is it trying to lookup for working and of course also adding my hostname
to the url respectively jar filename?
I've also tried it with mavencentral (without our nexus) directly, but
also no success.
Here my log output on resolve is (sorry for the big pasting here, but I
think for later users it would be helpful to see the errors):
common-ivy.resolve:
[echo] resolving ivyFile=/mnt/data/myProject/redd-web/ivy.xml
[ivy:resolve] :: loading settings :: file =
/mnt/data/myProject/dev-environment/ivysettings.xml
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found:
org.jboss.spec.javax.annotation#jboss-annotations-api_1.1_spec;working@pc-hkais
[ivy:resolve] ==== localRedd: tried
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/org.jboss.spec.javax.annotation/jboss-annotations-api_1.1_spec/[revision]/ivys/ivy-[revision].xml
[ivy:resolve] -- artifact
org.jboss.spec.javax.annotation#jboss-annotations-api_1.1_spec;latest.integration!jboss-annotations-api_1.1_spec.jar:
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/org.jboss.spec.javax.annotation/jboss-annotations-api_1.1_spec/[revision]/jars/jboss-annotations-api_1.1_spec-[revision].jar
[ivy:resolve] ==== nexus: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/working@pc-hkais/jboss-annotations-api_1.1_spec-work...@pc-hkais.pom
[ivy:resolve] -- artifact
org.jboss.spec.javax.annotation#jboss-annotations-api_1.1_spec;working@pc-hkais!jboss-annotations-api_1.1_spec.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/working@pc-hkais/jboss-annotations-api_1.1_spec-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-releases: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/working@pc-hkais/jboss-annotations-api_1.1_spec-work...@pc-hkais.pom
[ivy:resolve] -- artifact
org.jboss.spec.javax.annotation#jboss-annotations-api_1.1_spec;working@pc-hkais!jboss-annotations-api_1.1_spec.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/working@pc-hkais/jboss-annotations-api_1.1_spec-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-snapshots: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/working@pc-hkais/jboss-annotations-api_1.1_spec-work...@pc-hkais.pom
[ivy:resolve] -- artifact
org.jboss.spec.javax.annotation#jboss-annotations-api_1.1_spec;working@pc-hkais!jboss-annotations-api_1.1_spec.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/working@pc-hkais/jboss-annotations-api_1.1_spec-work...@pc-hkais.jar
[ivy:resolve] module not found:
javax.activation#activation;working@pc-hkais
[ivy:resolve] ==== localRedd: tried
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/javax.activation/activation/[revision]/ivys/ivy-[revision].xml
[ivy:resolve] -- artifact
javax.activation#activation;latest.integration!activation.jar:
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/javax.activation/activation/[revision]/jars/activation-[revision].jar
[ivy:resolve] ==== nexus: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/javax/activation/activation/working@pc-hkais/activation-work...@pc-hkais.pom
[ivy:resolve] -- artifact
javax.activation#activation;working@pc-hkais!activation.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/javax/activation/activation/working@pc-hkais/activation-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-releases: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/javax/activation/activation/working@pc-hkais/activation-work...@pc-hkais.pom
[ivy:resolve] -- artifact
javax.activation#activation;working@pc-hkais!activation.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/javax/activation/activation/working@pc-hkais/activation-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-snapshots: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/javax/activation/activation/working@pc-hkais/activation-work...@pc-hkais.pom
[ivy:resolve] -- artifact
javax.activation#activation;working@pc-hkais!activation.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/javax/activation/activation/working@pc-hkais/activation-work...@pc-hkais.jar
[ivy:resolve] module not found:
org.apache.httpcomponents#httpclient;working@pc-hkais
[ivy:resolve] ==== localRedd: tried
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/org.apache.httpcomponents/httpclient/[revision]/ivys/ivy-[revision].xml
[ivy:resolve] -- artifact
org.apache.httpcomponents#httpclient;latest.integration!httpclient.jar:
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/org.apache.httpcomponents/httpclient/[revision]/jars/httpclient-[revision].jar
[ivy:resolve] ==== nexus: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/org/apache/httpcomponents/httpclient/working@pc-hkais/httpclient-work...@pc-hkais.pom
[ivy:resolve] -- artifact
org.apache.httpcomponents#httpclient;working@pc-hkais!httpclient.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/org/apache/httpcomponents/httpclient/working@pc-hkais/httpclient-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-releases: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/org/apache/httpcomponents/httpclient/working@pc-hkais/httpclient-work...@pc-hkais.pom
[ivy:resolve] -- artifact
org.apache.httpcomponents#httpclient;working@pc-hkais!httpclient.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/org/apache/httpcomponents/httpclient/working@pc-hkais/httpclient-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-snapshots: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/org/apache/httpcomponents/httpclient/working@pc-hkais/httpclient-work...@pc-hkais.pom
[ivy:resolve] -- artifact
org.apache.httpcomponents#httpclient;working@pc-hkais!httpclient.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/org/apache/httpcomponents/httpclient/working@pc-hkais/httpclient-work...@pc-hkais.jar
[ivy:resolve] module not found:
commons-io#commons-io;${dep.commons-io.version}
[ivy:resolve] ==== localRedd: tried
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/commons-io/commons-io/[revision]/ivys/ivy-[revision].xml
[ivy:resolve] -- artifact
commons-io#commons-io;latest.integration!commons-io.jar:
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/commons-io/commons-io/[revision]/jars/commons-io-[revision].jar
[ivy:resolve] ==== nexus: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/commons-io/commons-io/${dep.commons-io.version}/commons-io-${dep.commons-io.version}.pom
[ivy:resolve] -- artifact
commons-io#commons-io;${dep.commons-io.version}!commons-io.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/commons-io/commons-io/${dep.commons-io.version}/commons-io-${dep.commons-io.version}.jar
[ivy:resolve] ==== nexus-releases: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/commons-io/commons-io/${dep.commons-io.version}/commons-io-${dep.commons-io.version}.pom
[ivy:resolve] -- artifact
commons-io#commons-io;${dep.commons-io.version}!commons-io.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/commons-io/commons-io/${dep.commons-io.version}/commons-io-${dep.commons-io.version}.jar
[ivy:resolve] ==== nexus-snapshots: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/commons-io/commons-io/${dep.commons-io.version}/commons-io-${dep.commons-io.version}.pom
[ivy:resolve] -- artifact
commons-io#commons-io;${dep.commons-io.version}!commons-io.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/commons-io/commons-io/${dep.commons-io.version}/commons-io-${dep.commons-io.version}.jar
[ivy:resolve] module not found:
net.jcip#jcip-annotations;working@pc-hkais
[ivy:resolve] ==== localRedd: tried
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/net.jcip/jcip-annotations/[revision]/ivys/ivy-[revision].xml
[ivy:resolve] -- artifact
net.jcip#jcip-annotations;latest.integration!jcip-annotations.jar:
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/net.jcip/jcip-annotations/[revision]/jars/jcip-annotations-[revision].jar
[ivy:resolve] ==== nexus: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/net/jcip/jcip-annotations/working@pc-hkais/jcip-annotations-work...@pc-hkais.pom
[ivy:resolve] -- artifact
net.jcip#jcip-annotations;working@pc-hkais!jcip-annotations.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/net/jcip/jcip-annotations/working@pc-hkais/jcip-annotations-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-releases: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/net/jcip/jcip-annotations/working@pc-hkais/jcip-annotations-work...@pc-hkais.pom
[ivy:resolve] -- artifact
net.jcip#jcip-annotations;working@pc-hkais!jcip-annotations.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/net/jcip/jcip-annotations/working@pc-hkais/jcip-annotations-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-snapshots: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/net/jcip/jcip-annotations/working@pc-hkais/jcip-annotations-work...@pc-hkais.pom
[ivy:resolve] -- artifact
net.jcip#jcip-annotations;working@pc-hkais!jcip-annotations.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/net/jcip/jcip-annotations/working@pc-hkais/jcip-annotations-work...@pc-hkais.jar
[ivy:resolve] module not found:
com.sun.xml.bind#jaxb-impl;working@pc-hkais
[ivy:resolve] ==== localRedd: tried
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/com.sun.xml.bind/jaxb-impl/[revision]/ivys/ivy-[revision].xml
[ivy:resolve] -- artifact
com.sun.xml.bind#jaxb-impl;latest.integration!jaxb-impl.jar:
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/com.sun.xml.bind/jaxb-impl/[revision]/jars/jaxb-impl-[revision].jar
[ivy:resolve] ==== nexus: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/com/sun/xml/bind/jaxb-impl/working@pc-hkais/jaxb-impl-work...@pc-hkais.pom
[ivy:resolve] -- artifact
com.sun.xml.bind#jaxb-impl;working@pc-hkais!jaxb-impl.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/com/sun/xml/bind/jaxb-impl/working@pc-hkais/jaxb-impl-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-releases: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/com/sun/xml/bind/jaxb-impl/working@pc-hkais/jaxb-impl-work...@pc-hkais.pom
[ivy:resolve] -- artifact
com.sun.xml.bind#jaxb-impl;working@pc-hkais!jaxb-impl.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/com/sun/xml/bind/jaxb-impl/working@pc-hkais/jaxb-impl-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-snapshots: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/com/sun/xml/bind/jaxb-impl/working@pc-hkais/jaxb-impl-work...@pc-hkais.pom
[ivy:resolve] -- artifact
com.sun.xml.bind#jaxb-impl;working@pc-hkais!jaxb-impl.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/com/sun/xml/bind/jaxb-impl/working@pc-hkais/jaxb-impl-work...@pc-hkais.jar
[ivy:resolve] module not found: javax.mail#mail;working@pc-hkais
[ivy:resolve] ==== localRedd: tried
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/javax.mail/mail/[revision]/ivys/ivy-[revision].xml
[ivy:resolve] -- artifact javax.mail#mail;latest.integration!mail.jar:
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/javax.mail/mail/[revision]/jars/mail-[revision].jar
[ivy:resolve] ==== nexus: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/javax/mail/mail/working@pc-hkais/mail-work...@pc-hkais.pom
[ivy:resolve] -- artifact javax.mail#mail;working@pc-hkais!mail.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/javax/mail/mail/working@pc-hkais/mail-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-releases: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/javax/mail/mail/working@pc-hkais/mail-work...@pc-hkais.pom
[ivy:resolve] -- artifact javax.mail#mail;working@pc-hkais!mail.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/javax/mail/mail/working@pc-hkais/mail-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-snapshots: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/javax/mail/mail/working@pc-hkais/mail-work...@pc-hkais.pom
[ivy:resolve] -- artifact javax.mail#mail;working@pc-hkais!mail.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/javax/mail/mail/working@pc-hkais/mail-work...@pc-hkais.jar
[ivy:resolve] module not found:
org.apache.james#apache-mime4j;working@pc-hkais
[ivy:resolve] ==== localRedd: tried
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/org.apache.james/apache-mime4j/[revision]/ivys/ivy-[revision].xml
[ivy:resolve] -- artifact
org.apache.james#apache-mime4j;latest.integration!apache-mime4j.jar:
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/org.apache.james/apache-mime4j/[revision]/jars/apache-mime4j-[revision].jar
[ivy:resolve] ==== nexus: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/org/apache/james/apache-mime4j/working@pc-hkais/apache-mime4j-work...@pc-hkais.pom
[ivy:resolve] -- artifact
org.apache.james#apache-mime4j;working@pc-hkais!apache-mime4j.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/org/apache/james/apache-mime4j/working@pc-hkais/apache-mime4j-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-releases: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/org/apache/james/apache-mime4j/working@pc-hkais/apache-mime4j-work...@pc-hkais.pom
[ivy:resolve] -- artifact
org.apache.james#apache-mime4j;working@pc-hkais!apache-mime4j.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/org/apache/james/apache-mime4j/working@pc-hkais/apache-mime4j-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-snapshots: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/org/apache/james/apache-mime4j/working@pc-hkais/apache-mime4j-work...@pc-hkais.pom
[ivy:resolve] -- artifact
org.apache.james#apache-mime4j;working@pc-hkais!apache-mime4j.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/org/apache/james/apache-mime4j/working@pc-hkais/apache-mime4j-work...@pc-hkais.jar
[ivy:resolve] module not found:
javax.servlet#servlet-api;working@pc-hkais
[ivy:resolve] ==== localRedd: tried
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/javax.servlet/servlet-api/[revision]/ivys/ivy-[revision].xml
[ivy:resolve] -- artifact
javax.servlet#servlet-api;latest.integration!servlet-api.jar:
[ivy:resolve]
/mnt/data/myProject/.ivyLocalRedd/javax.servlet/servlet-api/[revision]/jars/servlet-api-[revision].jar
[ivy:resolve] ==== nexus: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/javax/servlet/servlet-api/working@pc-hkais/servlet-api-work...@pc-hkais.pom
[ivy:resolve] -- artifact
javax.servlet#servlet-api;working@pc-hkais!servlet-api.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/groups/public/javax/servlet/servlet-api/working@pc-hkais/servlet-api-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-releases: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/javax/servlet/servlet-api/working@pc-hkais/servlet-api-work...@pc-hkais.pom
[ivy:resolve] -- artifact
javax.servlet#servlet-api;working@pc-hkais!servlet-api.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/releases/javax/servlet/servlet-api/working@pc-hkais/servlet-api-work...@pc-hkais.jar
[ivy:resolve] ==== nexus-snapshots: tried
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/javax/servlet/servlet-api/working@pc-hkais/servlet-api-work...@pc-hkais.pom
[ivy:resolve] -- artifact
javax.servlet#servlet-api;working@pc-hkais!servlet-api.jar:
[ivy:resolve]
http://nexus.local:8081/nexus/content/repositories/snapshots/javax/servlet/servlet-api/working@pc-hkais/servlet-api-work...@pc-hkais.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] ::
org.jboss.spec.javax.annotation#jboss-annotations-api_1.1_spec;working@pc-hkais:
not found
[ivy:resolve] :: javax.activation#activation;working@pc-hkais:
not found
[ivy:resolve] ::
org.apache.httpcomponents#httpclient;working@pc-hkais: not found
[ivy:resolve] ::
commons-io#commons-io;${dep.commons-io.version}: not found
[ivy:resolve] :: net.jcip#jcip-annotations;working@pc-hkais: not
found
[ivy:resolve] :: com.sun.xml.bind#jaxb-impl;working@pc-hkais:
not found
[ivy:resolve] :: javax.mail#mail;working@pc-hkais: not found
[ivy:resolve] ::
org.apache.james#apache-mime4j;working@pc-hkais: not found
[ivy:resolve] :: javax.servlet#servlet-api;working@pc-hkais: not
found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
bye Hans