Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 45551 invoked from network); 5 Mar 2011 05:32:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Mar 2011 05:32:08 -0000 Received: (qmail 76914 invoked by uid 500); 5 Mar 2011 05:32:08 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 76828 invoked by uid 500); 5 Mar 2011 05:32:07 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 76818 invoked by uid 99); 5 Mar 2011 05:32:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Mar 2011 05:32:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Mar 2011 05:32:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BE5C6562CB for ; Sat, 5 Mar 2011 05:31:45 +0000 (UTC) Date: Sat, 5 Mar 2011 05:31:45 +0000 (UTC) From: "Joe Bowbeer (JIRA)" To: notifications@ant.apache.org Message-ID: <623977904.661.1299303105760.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <413613034.656.1299302865764.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (IVY-1274) extra attribute in dependency artifact ignored by resolver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVY-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowbeer updated IVY-1274: ----------------------------- Attachment: extra_attr.zip unzip and exec "ant all" to see that project1's artifact is resolved by project2. > extra attribute in dependency artifact ignored by resolver > ---------------------------------------------------------- > > Key: IVY-1274 > URL: https://issues.apache.org/jira/browse/IVY-1274 > Project: Ivy > Issue Type: Bug > Components: Core > Affects Versions: 2.2.0 > Environment: Ant-1.8.2 / Windows7 > Reporter: Joe Bowbeer > Priority: Minor > Attachments: extra_attr.zip > > > A dependency declared on an explicit artifact with an extra attribute is resolved regardless of the value of the extra attribute. > Given the modules below and the default settings, sprocket can retrieve the artifact that widget published to the local repo even though the requested data value is different than the value published: two vs. one. > {noformat} > version="2.0" > xmlns:e="http://ant.apache.org/ivy/extra" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"> > organisation="acme" > module="widget" /> > > name="artifact" > type="txt" > e:data="one" /> > > > > {noformat} > {noformat} > version="2.0" > xmlns:e="http://ant.apache.org/ivy/extra" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"> > organisation="acme" > module="sprocket" /> > > name="widget" > rev="latest.integration"> > name="artifact" > type="txt" > e:data="two" /> > > > > {noformat} -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira