You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jorg Heymans (JIRA)" <ji...@codehaus.org> on 2005/10/26 15:47:11 UTC

[jira] Created: (MNG-1329) duplicate project references

duplicate project references
----------------------------

         Key: MNG-1329
         URL: http://jira.codehaus.org/browse/MNG-1329
     Project: Maven 2
        Type: Bug
  Components: maven-eclipse-plugin  
    Versions: 2.0    
 Reporter: Jorg Heymans


eclipse:eclipse generates duplicate project references for following pom 

  <dependencies>
    <dependency>
      <groupId>apache-cocoon</groupId>
      <artifactId>cocoon-core</artifactId>
      <version>2.2-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>apache-cocoon</groupId>
      <artifactId>cocoon-core</artifactId>
      <version>2.2-SNAPSHOT</version>
      <classifier>tests</classifier>
    </dependency>

The classifier should be taken into account.

-- 
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
-
For more information on JIRA, 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] Commented: (MNG-1329) duplicate project references

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1329?page=comments#action_49638 ] 

fabrizio giustina commented on MNG-1329:
----------------------------------------

the current version in svn (beta3-SNAPSHOT) already seems to handle classifiers correctly: two different entries are generated in .classpath
<classpathentry kind="var" path="M2_REPO/maven/jars/maven-core-98.0.jar" ...
<classpathentry kind="var" path="M2_REPO/maven/jars/maven-core-98.0-tests.jar" ...
... and 2 different entries in .wtpmodules:
<dependent-module deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/maven/jars/maven-core-98.0.jar">
<dependent-module deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/maven/jars/maven-core-98.0-tests.jar">

A testcase has been added (test project #7). Does this fully reproduce your current layout or the problem is related to a multiproject build?

> duplicate project references
> ----------------------------
>
>          Key: MNG-1329
>          URL: http://jira.codehaus.org/browse/MNG-1329
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0
>     Reporter: Jorg Heymans
>     Assignee: fabrizio giustina

>
>
> eclipse:eclipse generates duplicate project references for following pom 
>   <dependencies>
>     <dependency>
>       <groupId>apache-cocoon</groupId>
>       <artifactId>cocoon-core</artifactId>
>       <version>2.2-SNAPSHOT</version>
>     </dependency>
>     <dependency>
>       <groupId>apache-cocoon</groupId>
>       <artifactId>cocoon-core</artifactId>
>       <version>2.2-SNAPSHOT</version>
>       <classifier>tests</classifier>
>     </dependency>
> The classifier should be taken into account.

-- 
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
-
For more information on JIRA, 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: (MNG-1329) duplicate project references

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1329?page=all ]
     
fabrizio giustina closed MNG-1329:
----------------------------------

    Resolution: Fixed

closing: testcases show that this is working and no more comments have been added to this issue

> duplicate project references
> ----------------------------
>
>          Key: MNG-1329
>          URL: http://jira.codehaus.org/browse/MNG-1329
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0
>     Reporter: Jorg Heymans
>     Assignee: fabrizio giustina

>
>
> eclipse:eclipse generates duplicate project references for following pom 
>   <dependencies>
>     <dependency>
>       <groupId>apache-cocoon</groupId>
>       <artifactId>cocoon-core</artifactId>
>       <version>2.2-SNAPSHOT</version>
>     </dependency>
>     <dependency>
>       <groupId>apache-cocoon</groupId>
>       <artifactId>cocoon-core</artifactId>
>       <version>2.2-SNAPSHOT</version>
>       <classifier>tests</classifier>
>     </dependency>
> The classifier should be taken into account.

-- 
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
-
For more information on JIRA, 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