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 2004/10/06 19:18:53 UTC

[jira] Created: (MAVEN-1456) Two dependencies with same group and artifactId, but different type, are thought to be the same

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Resolved: (MAVEN-1456) Two dependencies with same group and artifactId, but different type, are thought to be the same

Posted by ji...@codehaus.org.
Message:

   The following issue has been resolved as DUPLICATE.

---------------------------------------------------------------------
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: Resolved
   Priority: Critical
 Resolution: DUPLICATE

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.1
   Versions:
             1.0

   Assignee: 
   Reporter: Daniel Fernández

    Created: Wed, 6 Oct 2004 1:17 PM
    Updated: Wed, 6 Oct 2004 1:59 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MAVEN-1456) Two dependencies with same group and artifactId, but different type, are thought to be the same

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Felipe Leme
       Date: Wed, 6 Oct 2004 2:11 PM

Closed as duplicated of MAVEN-1087
---------------------------------------------------------------------
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: Closed
   Priority: Critical
 Resolution: DUPLICATE

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.1
   Versions:
             1.0

   Assignee: 
   Reporter: Daniel Fernández

    Created: Wed, 6 Oct 2004 1:17 PM
    Updated: Wed, 6 Oct 2004 2:11 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MAVEN-1456) Two dependencies with same group and artifactId, but different type, are thought to be the same

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Brett Porter (mailto:brett@codehaus.org)
       Date: Thu, 2 Dec 2004 9:51 PM
    Changes:
             Fix Version changed from 1.1
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MAVEN-1456?page=history

---------------------------------------------------------------------
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: Closed
   Priority: Critical
 Resolution: DUPLICATE

 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: Thu, 2 Dec 2004 9:51 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org