From notifications-return-31864-archive-asf-public=cust-asf.ponee.io@ant.apache.org Wed Aug 8 19:23:03 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2C41A180600 for ; Wed, 8 Aug 2018 19:23:03 +0200 (CEST) Received: (qmail 85922 invoked by uid 500); 8 Aug 2018 17:23:02 -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 85909 invoked by uid 99); 8 Aug 2018 17:23:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2018 17:23:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DD7AB180112 for ; Wed, 8 Aug 2018 17:23:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id KkMMbV2UXnPr for ; Wed, 8 Aug 2018 17:23:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BCCD85F1E4 for ; Wed, 8 Aug 2018 17:23:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 571A3E0F4C for ; Wed, 8 Aug 2018 17:23:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 155C523F9C for ; Wed, 8 Aug 2018 17:23:00 +0000 (UTC) Date: Wed, 8 Aug 2018 17:23:00 +0000 (UTC) From: =?utf-8?Q?C=C3=A9dric_Damioli_=28JIRA=29?= To: notifications@ant.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IVY-1587) Wrong POM translation for dependencies appearing more than once MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 C=C3=A9dric Damioli created IVY-1587: ----------------------------------- Summary: Wrong POM translation for dependencies appearing more= than once Key: IVY-1587 URL: https://issues.apache.org/jira/browse/IVY-1587 Project: Ivy Issue Type: Bug Affects Versions: 2.5.0-rc1 Reporter: C=C3=A9dric Damioli Using=C2=A0 =C2=A0 {code:java} java -jar ivy.jar -dependency "org.slf4j" "slf4j-log4j12" "1.7.25" -confs d= efault -types jar {code} With Ivy 2.4.0, I get two artifacts : slf4j-api.jar and slf4j-log4j12.jar With Ivy 2.5.0RC1, I only get {color:#333333}slf4j-log4j12.jar with no mean= s to get the -api artifact=C2=A0{color} =C2=A0 This seems to be related to the resolution of IVY-1576 =C2=A0 In the POM, the slf4j-api dependency is present twice, once for compile, on= ce for tests. Before IVY-1576, it resulted in two different dependencies. With IVY-1576, there's only one dependency, offering only the test artifact= . =C2=A0 The fix was good for "merging" dependencies with classifiers, but in this c= ase, the merge should not have occured =C2=A0 I don't set this ticket as critical as there are workarounds, but it is at = least very annoying =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)