maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MECLIPSE-70) Duplicate entries in .project (/projectDescription/projects/project)
Date Wed, 01 Mar 2006 15:52:06 GMT
     [ 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


Mime
View raw message