jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1
  • MAVEN-1365

Dependency Being Skipped

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 1.0-rc3
  • Fix Version/s: None
  • Component/s: core
  • Labels:
    None
  • Environment:
    WinXp

Description

Example:
<dependency>
<groupId>displaytag</groupId>
<artifactId>displaytag</artifactId>
<version>1.0-rc1</version>
<jar>displaytag-1.0-rc1.jar</jar>
<url>http://displaytag.sourceforge.net/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>

<dependency>
<groupId>displaytag</groupId>
<artifactId>displaytag</artifactId>
<version>12</version>
<jar>displaytag-12.tld</jar>
<type>tld</type>
<url>http://displaytag.sourceforge.net/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>

Maven will download and integrate the first dependency, however it skips the second one thinking it is the same, even tho its version, jar name, and type are entirely different. It displays the same behavior if I omit the jar tag as well. (And the jar tag should likely be renamed since it could be something different than a jar, especially in this case).

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MAVEN-1087 Dependency type should participate in equals() and hashcode()

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is duplicated by

Bug - A problem which impairs or prevents the functions of the product. MAVEN-1418 A later dependency in project.xml with same name, different type is ignored

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    David Erickson
Vote (1)
Watch (2)

Dates

  • Created:
    07/Jul/04 6:03 PM
    Updated:
    08/Mar/06 10:45 PM
    Resolved:
    09/Aug/04 6:42 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.