Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1
-
None
-
None
Description
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."