[ 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.2, 2.0, 2.1 > Reporter: Reinhard Poetz > Attachments: 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]