Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 11429 invoked from network); 15 Dec 2009 23:44:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Dec 2009 23:44:49 -0000 Received: (qmail 35149 invoked by uid 500); 15 Dec 2009 23:44:48 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 35058 invoked by uid 500); 15 Dec 2009 23:44:48 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 35048 invoked by uid 99); 15 Dec 2009 23:44:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 23:44:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phwetzler@gmail.com designates 209.85.220.214 as permitted sender) Received: from [209.85.220.214] (HELO mail-fx0-f214.google.com) (209.85.220.214) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 23:44:38 +0000 Received: by fxm6 with SMTP id 6so480314fxm.20 for ; Tue, 15 Dec 2009 15:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=HStv5S1HE69LAQ45EYeNb3Mq95jwMJiBRtfdtGH2/WU=; b=BzCuXXRFMmALzxZoo3hMfCVcmh3JzG4JIGFs4TsC0q+emdjr7J2/0xxsutQ3HOYSRa F7dS/alt9mmr+DcsRP8x2ifvaYyqqQGtT4pLXg7qxC3xEiQYJ3M06GFt+9focuCXfuva 9kMbfs6aiOhWBtlG5R/zHkZftdbwwK1JueFP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; b=IIw7RnMm0SfzSywi2P43lmw4tSMvkmNf9HWEU3PtVZu9/hWkukHrunLdoTbexsEl+S 1PgU8tjzqZGzOJkb9zmdlZFxBKVwEFZqRNITf5zNqXkiZ38/5ZA2v8d137Xcjrn0AQFF av49RsxRn4+Wo7F6mtQtAySk6EFtmf+HP7W2o= MIME-Version: 1.0 Received: by 10.223.55.152 with SMTP id u24mr298472fag.24.1260920657780; Tue, 15 Dec 2009 15:44:17 -0800 (PST) Reply-To: phwetzler@gmail.com In-Reply-To: <860035.79552.qm@web30808.mail.mud.yahoo.com> References: <5ddadc7e0912151522v2e1ef7a8ucf193f8abbc4ac1f@mail.gmail.com> <860035.79552.qm@web30808.mail.mud.yahoo.com> Date: Tue, 15 Dec 2009 16:44:17 -0700 Message-ID: <5ddadc7e0912151544n611d534fi9b0c5292f6afb84@mail.gmail.com> Subject: Re: relocation of transitive dependency From: Philipp Wetzler To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=00151744843ae59f31047accf7ad X-Virus-Checked: Checked by ClamAV on apache.org --00151744843ae59f31047accf7ad Content-Type: text/plain; charset=UTF-8 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: http://cleartk.googlecode.com/svn/repo/org/cleartk/cleartk-test-util/0.1/cleartk-test-util-0.1.pom 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. Philipp > ----- Original Message ---- > From: Philipp Wetzler > To: ivy-user@ant.apache.org > 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 repo1.maven.org). > > 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 > > > > > --00151744843ae59f31047accf7ad--