Apache Ivy – Fail to Resolve Dependency (jdmk, jmx)

Posted by themamakcorner December - 1 - 2011 0 Comment

Just started using Apache Ivy and it’s already giving me some headache.
Have been hitting the following error:

[antlib:org.apache.ivy.ant:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[antlib:org.apache.ivy.ant:retrieve] :: FAILED DOWNLOADS ::
[antlib:org.apache.ivy.ant:retrieve] :: ^ see resolution messages for details ^ ::
[antlib:org.apache.ivy.ant:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[antlib:org.apache.ivy.ant:retrieve] :: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
[antlib:org.apache.ivy.ant:retrieve] :: com.sun.jmx#jmxri;1.2.1!jmxri.jar
[antlib:org.apache.ivy.ant:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[antlib:org.apache.ivy.ant:retrieve]
[antlib:org.apache.ivy.ant:retrieve]
[antlib:org.apache.ivy.ant:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

It says that one of the dependency jar is depending on some other jars (in my case, jmxri-1.2.1.jar which does not exists in the repo)

Found some suggestions found from forums, is the exclude these unwanted jars. Example:




somehow, I only manage to resolve if I insist the conf to be “core”

Related Posts Plugin for WordPress, Blogger...