From issues-return-35638-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Wed Jan 30 21:23:31 2008 Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 62633 invoked from network); 30 Jan 2008 21:23:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2008 21:23:30 -0000 Received: (qmail 88211 invoked by uid 500); 30 Jan 2008 21:23:21 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 88163 invoked by uid 500); 30 Jan 2008 21:23:21 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 88152 invoked by uid 99); 30 Jan 2008 21:23:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 13:23:21 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 21:23:05 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 1CDC414A8045 for ; Wed, 30 Jan 2008 15:22:58 -0600 (CST) Message-ID: <23705571.1201728178116.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 30 Jan 2008 15:22:58 -0600 (CST) From: "Arnaud Heritier (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (MECLIPSE-367) Dependendy to artifact with classifier tests not distinguished from the regular artifact In-Reply-To: <16580304.1200298917772.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MECLIPSE-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arnaud Heritier updated MECLIPSE-367: ------------------------------------- Fix Version/s: 2.5 > Dependendy to artifact with classifier tests not distinguished from the regular artifact > ---------------------------------------------------------------------------------------- > > Key: MECLIPSE-367 > URL: http://jira.codehaus.org/browse/MECLIPSE-367 > Project: Maven 2.x Eclipse Plugin > Issue Type: Bug > Components: Dependencies resolution and build path > Affects Versions: 2.5 > Environment: Maven 2.0.8 > Java 6 > Eclipse 3.3 > Reporter: Brynjar Glesnes > Fix For: 2.5 > > > When a project has a dependency to both the "regular" jar and the classifier tests jar for the same groupId/artifactId, the Eclipse project resulting from running eclipse:eclipse only has one of the jars as a referenced library. This worked just fine with version 2.4. > Example: (pom.xml for the referenced project) > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> > 4.0.0 > mygroup > lib > jar > 1.0-SNAPSHOT > lib > http://maven.apache.org > > > junit > junit > 3.8.1 > test > > > > > > org.apache.maven.plugins > maven-jar-plugin > > > > test-jar > > > > > > > > (pom.xml for the referencing project) > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> > 4.0.0 > mygroup > app > jar > 1.0-SNAPSHOT > app > http://maven.apache.org > > > junit > junit > 3.8.1 > test > > > mygroup > lib > 1.0-SNAPSHOT > > > mygroup > lib > 1.0-SNAPSHOT > tests > test > > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira