Return-Path: X-Original-To: apmail-ant-ivy-user-archive@www.apache.org Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2984CC60 for ; Fri, 14 Jun 2013 14:29:55 +0000 (UTC) Received: (qmail 88257 invoked by uid 500); 14 Jun 2013 14:29:54 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 88150 invoked by uid 500); 14 Jun 2013 14:29: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 88130 invoked by uid 99); 14 Jun 2013 14:29:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 14:29:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [87.239.22.116] (HELO reast.uk.wizzdns.com) (87.239.22.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 14:29:40 +0000 Received: from [192.168.0.69] (94-195-235-46.zone9.bethere.co.uk [94.195.235.46]) by reast.uk.wizzdns.com (Postfix) with ESMTP id 5ADD92660090 for ; Fri, 14 Jun 2013 15:29:18 +0100 (BST) Message-ID: <51BB28C1.9010603@reast.net> Date: Fri, 14 Jun 2013 15:29:21 +0100 From: Jason R-J User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: ivy-user@ant.apache.org Subject: Re: Unexpected behavior from *->@ (mapping configurations not like-named) References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------050502090608060508020200" X-Virus-Checked: Checked by ClamAV on apache.org --------------050502090608060508020200 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 13/06/2013 21:10, Charles Duffy wrote: > Howdy -- > > I have a wrapper with the following: > > > revision="3.0.5.RELEASE"/> > > > > > > > > > conf="*->@"/> > > > > My expectation is that this will map local to remote configurations only > for those which are like-named. > > However, this expectation doesn't hold up in reality -- for some reason, > the "compile" configuration in the shim gets mapped to the "optional" > configuration in the target: > > == resolving dependencies > shims.spring#spring-web-servlet;3.0.5.RELEASE->spring#spring-webmvc;3.0.5.RELEASE > [compile->optional] > == resolving dependencies spring#spring-webmvc;3.0.5.RELEASE->rome#rome;1.0 > [optional->master(*)] > > Why could this happen? How can I prevent it? > Hi Charles, Have a look in your local cache at the ivy.xml that Ivy has created for spring-mvc, it will have derived an Ivy file from the pom.xml and sometimes I've seen unusual output from that which may explain what you're seeing. If that's the case it might make sense to hand-crank the ivy file in a local repo for that library. Unless anyone else can suggest a workaround. Jason --------------050502090608060508020200--