You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/09/15 09:17:12 UTC

[jira] Closed: (MAVEN-1446) Dependencies with identical artifactId, but different types

Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1446

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1446
    Summary: Dependencies with identical  artifactId, but different types
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: DUPLICATE

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Versions:
             1.0

   Assignee: 
   Reporter: Richard Easterling

    Created: Wed, 15 Sep 2004 2:49 AM
    Updated: Wed, 15 Sep 2004 3:16 AM

Description:
The central repository contains spring-1.0.jar and spring-1.0.tld entries under the springframework groupId.  This should not be allowed because if you enter:

<dependency>
  <artifactId>spring</artifactId>
  <groupId>springframework</groupId>
  <version>1.0.2</version>
  <type>tld</type>
</dependency>   
<dependency>
  <artifactId>spring</artifactId>
  <groupId>springframework</groupId>
  <version>1.0.2</version>
</dependency>

The second dependency (i.e. the jar file) can't be accessed from the POM code, it is simply ignored.  The POM could should raise an excpetion if it finds a duplicate artifactId.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org