[ http://jira.codehaus.org/browse/MECLIPSE-70?page=all ]
fabrizio giustina closed MECLIPSE-70:
-------------------------------------
Assign To: fabrizio giustina
Resolution: Duplicate
Fix Version: 2.2
this is the same as MECLIPSE-86 , already fixed in svn for 2.2
> 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
> Assignee: fabrizio giustina
> Fix For: 2.2
> 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