You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Reinhard Poetz (JIRA)" <ji...@codehaus.org> on 2006/03/01 16:52:06 UTC

[jira] Updated: (MECLIPSE-70) Duplicate entries in .project (/projectDescription/projects/project)

     [ http://jira.codehaus.org/browse/MECLIPSE-70?page=all ]

Reinhard Poetz updated MECLIPSE-70:
-----------------------------------

    Attachment: patch_removeDuplicateEntries.diff

> Duplicate entries in .project (/projectDescription/projects/project)
> --------------------------------------------------------------------
>
>          Key: MECLIPSE-70
>          URL: http://jira.codehaus.org/browse/MECLIPSE-70
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>     Versions: 2.0, 2.2, 2.1
>     Reporter: Reinhard Poetz
>  Attachments: patch_removeDuplicateEntries.diff, patch_removeDuplicateEntries.diff
>
>
> If a pom.xml has following dependencies
>     <dependency>
>       <groupId>com.mycompany</groupId>
>       <artifactId>app-framework</artifactId>
>       <version>1.0-SNAPSHOT</version>  
>       <type>jar</type>
>     </dependency>      
>     <dependency>
>       <groupId>com.mycompany</groupId>
>       <artifactId>app-framework</artifactId>
>       <version>1.0-SNAPSHOT</version>  
>       <type>test-jar</type>
>       <scope>test</scope>
>     </dependency> 
>  the plugin creates an invalid .project for Eclipse as the artifactId is used as project name. As the artifactId is not a unique identifier, following is created:
> <projectDescription>
>   <name>webapp</name>
>   <comment/>
>   <projects>
>     <project>app-framework</project>
>     <project>app-framework</project>
>   </projects>
> </projectDescription>
> This, of course, leads to an error in Eclipse

-- 
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