Idea plugin doesn't respect dependency exclusion
------------------------------------------------
Key: MIDEA-61
URL: http://jira.codehaus.org/browse/MIDEA-61
Project: Maven 2.x Idea Plugin
Type: Bug
Reporter: Dain Sundstrom
I have the following in the xbean-spring-v2 module:
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>2.0-m5</version>
</dependency>
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-spring-common</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
</exclusion>
</exclusions>
</dependency>
When I run idea:idea it generates an iml file containing the spring version
1.2.4 from the xbean-spring-common module and not the spring 2 version.
Specifically the iml file contains:
<orderEntry type="module-library">
<library>
<CLASSES>
<root
url="jar:///Users/dain/.m2/repository/org/springframework/spring/1.2.4/spring-1.2.4.jar!/"/>
</CLASSES>
</library>
</orderEntry>
--
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