Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1456
    Summary: Two dependencies with same group and artifactId, but different type, are 
thought to be the same
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Versions:
             1.0

   Assignee: 
   Reporter: Daniel Fern�ndez

    Created: Wed, 6 Oct 2004 1:17 PM
    Updated: Wed, 6 Oct 2004 1:17 PM
Environment: Sun's J2SE 1.4.2_04 on Fedora Core 2. Apache Ant 1.6.1.

Description:
If, in the project.xml file of my project, I declare two different dependencies with 
the same groupId and artifactId, but different "type", maven thinks they're one and 
the same and only downloads and processes the first of them.

As an example (these can be found at ibiblio.org/maven):
  
    <dependency>
      <groupId>struts-menu</groupId>
      <artifactId>struts-menu</artifactId>
      <version>2.3</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

    <dependency>
      <groupId>struts-menu</groupId>
      <artifactId>struts-menu</artifactId>
      <version>1.2</version>
      <type>tld</type>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

This avoids a correct use of maven in cases like the one above, where we have a web 
tool library and an associated tld. In this case maven will download the 
struts-menu-2.3.jar file (and include it in the war) and ignore completely the 
struts-menu-1.2.tld file.




---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to