maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Updated: (MAVEN-1087) Dependency type should participate in equals() and hashcode()
Date Fri, 03 Dec 2004 02:44:17 GMT
The following issue has been updated:

    Updater: Brett Porter (
       Date: Thu, 2 Dec 2004 9:43 PM
             Fix Version changed to 1.1-beta-1
             Fix Version changed from 1.1
For a full history of the issue, see:

View the issue:

Here is an overview of the issue:
        Key: MAVEN-1087
    Summary: Dependency type should participate in equals() and hashcode()
       Type: Bug

     Status: Reopened
   Priority: Major

 Original Estimate: 1 hour
 Time Spent: Unknown
  Remaining: 1 hour

    Project: maven
   Fix Fors:

   Assignee: Brett Porter
   Reporter: Eric Bottard

    Created: Mon, 22 Dec 2003 3:48 PM
    Updated: Thu, 2 Dec 2004 9:43 PM

I was trying to bundle taglibs in a war project when i stumbled into this unexpected behavior
: for each and every taglib in my web-app, either the jar file or the tld got copied to the
target web-app, but I could not get them to be copied together.

After a moment I realized that the dependency for a given taglib (one jar and one tld) had
the same artifactId but different types (jar and tld). A quick hack in the war plugin shows
that the forEach loop only sees one of the two.

So I guess that the dependency type should participate in equals() and hashcode() for a dependency
(or modify the getId() of Dependency, but I don't know the other impacts).

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message