Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: 1.1-beta-1
-
Component/s: model
-
Labels:None
-
Number of attachments :
Description
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).
Attachments
Issue Links
| This issue is duplicated by: | ||||
| MAVEN-1456 | Two dependencies with same group and artifactId, but different type, are thought to be the same |
|
|
|
| MAVEN-1418 | A later dependency in project.xml with same name, different type is ignored |
|
|
|
| MAVEN-1365 | Dependency Being Skipped |
|
|
|
Oops, I see I just entered a duplicate of this in http://jira.codehaus.org/browse/MAVEN-1418.
I REALLY want this fixed also. Any chance it can get in 1.0.1?