[ http://jira.codehaus.org/browse/MECLIPSE-86?page=all ] fabrizio giustina closed MECLIPSE-86: -------------------------------------
Resolution: Fixed fix in svn for 2.2 > Dependencies of type test-jar get added twice > --------------------------------------------- > > Key: MECLIPSE-86 > URL: http://jira.codehaus.org/browse/MECLIPSE-86 > Project: Maven 2.x Eclipse Plugin > Type: Bug > Versions: 2.1 > Reporter: Geoffrey De Smet > Assignee: fabrizio giustina > Fix For: 2.2 > Attachments: meclipse-86-maven-eclipse-plugin.patch, meclipse-86-patch.txt > > > Consider a project with these dependencies: > <dependency> > <groupId>org.springframework.richclient</groupId> > <artifactId>spring-richclient-core</artifactId> > <version>${pom.version}</version> > </dependency> > <dependency> > <groupId>org.springframework.richclient</groupId> > <artifactId>spring-richclient-core</artifactId> > <type>test-jar</type> > <version>${pom.version}</version> > <scope>test</scope> > </dependency> > From Larry Streepy: > "When the eclipse plugin processes this pom, it processes both dependency > entries and adds each of them to the classpath as type "src". It > doesn't appear to be doing any kind of handling for duplicate entries, > and I see nothing in the plugin code that seems to deal with the "type" > of a dependency." -- 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