ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <>
Subject Re: relocation of transitive dependency
Date Tue, 15 Dec 2009 23:55:59 GMT
I don't have a problem when I add a dependency on this cleartk-test-util module.

What version of Ivy are you using?
If you are using the latest released version, could you try again with a snapshot build?
You can download snapshot builds here:


----- Original Message ----
From: Philipp Wetzler <>
Sent: Wed, December 16, 2009 12:44:17 AM
Subject: Re: relocation of transitive dependency

On Tue, Dec 15, 2009 at 4:32 PM, Maarten Coene <>wrote:

> Do you have an example of a public pom that has a dependency on org=jdom
> 1.1 ?

This is one I've been confronted with:

BTW, when building a Maven project that also depends on this, the problem
doesn't occur, so it seems that this is either due to my Ivy configuration
or Ivy itself.


> ----- Original Message ----
> From: Philipp Wetzler <>
> To:
> Sent: Wed, December 16, 2009 12:22:50 AM
> Subject: relocation of transitive dependency
> Hello,
> I've started using Ivy recently in order to better integrate one of my Ant
> based projects with it's Maven dependencies.
> Now I ran into a problem that I haven't been able to figure out: One of my
> Maven dependencies depends on jdom (org=jdom, name=jdom, rev=1.1). JDom 1.1
> is actually published under org=org.jdom, but there's a relocation record
> under org=jdom. When I do a resolve on my project, however, Ivy ignores the
> relocation record and attempts (and fails) to download the nonexistent jar
> from org=jdom (from
> Interestingly, when I remove the Maven dependency from my project and add
> JDom 1.1 as a direct dependency, Ivy manages to resolve it correctly using
> either org value, so it seems that this problem only occurs when the
> relocated dependency is a transitive one.
> How would I go about diagnosing this problem? I tried doing a resolve with
> the verbose / debug flags, but the additional information didn't seem
> helpful to me.
> Thanks for any suggestions
> Philipp


View raw message