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 2003/12/03 03:11:55 UTC

[jira] Deleted: (MAVEN-194) Two dependiencise having the same id but diffrent type should not be assumed as duplicats

Message:

  The following issue has been deleted from JIRA.

---------------------------------------------------------------------

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-194
    Summary: Two dependiencise having the same id but diffrent type should not be assumed as duplicats
       Type: Bug

     Status: Reopened
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven

   Assignee: Jason van Zyl
   Reporter: Michal Maczka

    Created: Sun, 12 Jan 2003 10:22 AM
    Updated: Mon, 4 Aug 2003 12:56 PM

Description:
Currently in case of following dependincies in POM:

<dependencies>
    <dependency>
      <id>mydep</id>
      <version>1.0.1</version>
      <type>war</type>
    </dependency>
  </dependencies>


  <dependencies>
    <dependency>
      <id>mydep</id>
      <version>1.0.1</version>
       <type>jar</type>
    </dependency>
  </dependencies>

only the first dependency will be availabe in dependency list.

Solution:

Both "id" and "type" should be used in org.apache.maven.project.BaseObject and two dependincies should
be assumed as equal only if
dep1.id == dep2.id
   &&
dep1.type == dep2.type





---------------------------------------------------------------------
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