Ivy failed to resolve dependency : What to check, what to do ?

Posted by fardon57 on Stack Overflow See other posts from Stack Overflow or by fardon57
Published on 2009-10-15T19:30:19Z Indexed on 2010/03/25 7:03 UTC
Read the original article Hit count: 348

Filed under:
|
|

Hi everyone,

I'm using Ivy to resolve dependency in my very small project. It's the first time I'm doing that and it's more to learn as my project is very small.

I had a problem 5 minutes ago, when trying to download log4j.

My configuration is very basic, I have an ant task :

<target name="resolve" description="--> retrieve dependencies with ivy">
        <ivy:retrieve/>
    </target>

and my Ivy.xml file is like this :

    <dependency org="javax.servlet" name="servlet-api" rev="2.5" />
    <dependency org="log4j" name="log4j" rev="1.2.15" />


</dependencies>

The problem is seems to happen when ivy tries to download jms 1.1 (I suppose it's needed for log4j) as I can see in the console :

:

:::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]  	::              FAILED DOWNLOADS            ::
[ivy:retrieve]  	:: ^ see resolution messages for details  ^ ::
[ivy:retrieve]  	::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]  	:: javax.jms#jms;1.1!jms.jar
[ivy:retrieve]  	:: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
[ivy:retrieve]  	:: com.sun.jmx#jmxri;1.2.1!jmxri.jar
[ivy:retrieve]  	::::::::::::::::::::::::::::::::::::::::::::::

Is there anything I can do ?

Thanks a lot guys.

F

© Stack Overflow or respective owner

Related posts about java

Related posts about ant