History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-19809
Type: Bug Bug
Status: Open Open
Assignee: Anton Makeev
Reporter: Paulo Alexandre N. Traça
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Exclude dependencies with non-runtime scope (in pom.xml) from deployment

Created: 27 Sep 08 05:49   Updated: 29 Sep 08 14:02
Component/s: Maven Integration

Environment: Linux FC9, JDK 1.6.0_07

Build: 7,941
Severity: Medium


 Description  « Hide
Relates(Same as) issue IDEADEV-23941

I'm developing a Pluging using maven for dependencie management.
The problems has been explained on this - http://www.intellij.net/forums/thread.jspa?threadID=271574&tstart=0 - forum thread and originated IDEADEV-23941 issue that is now marked resolved on version 7.0.3.
I'm using IDEA version 7.0.4 and having the exact same problem.
IDEA is ignoring the scope tag on my POM file and copies the jar's to the plugin-sandbox\lib dir. It's also ignoring transitive exclusions .

Ex :
<dependency>
<groupId>com.logical.loomy</groupId>
<artifactId>core</artifactId>
<version>1.0-SNAPSHOT</version>
<exclusions>
<!--
Excludes xmlrpc transitive dep from loomy:core because xmlrpc is present in the
IDEA SDK
-->
<exclusion>
<groupId>xmlrpc</groupId>
<artifactId>xmlrpc</artifactId>
</exclusion>
<!--
Excludes velocity transitive dep from loomy:core because velocity is present in the
IDEA SDK
-->
<exclusion>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>5.1</version>
<classifier>jdk15</classifier>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>2.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymockclassextension</artifactId>
<version>2.2.2</version>
<scope>test</scope>
</dependency>

Copied jar's in the plugin-sandbox lib dir

lib/annotations-1.0.0.jar
lib/axis-1.3.jar
lib/axis-jaxrpc-1.3.jar
lib/xis-saaj-1.3.jar
lib/cglib-nodep-2.1_3.jar
lib/client-1.0-SNAPSHOT.jar
lib/cobra-0.98.3.jar
lib/commons-chain-1.2.jar
lib/commons-collections-3.1.jar
lib/commons-discovery-0.2.jar
lib/commons-lang-2.1.jar
lib/commons-logging-1.0.4.jar
lib/easymock-2.3.jar --> MARKED WITH SCOPE TEST
lib/easymockclassextension-2.2.2.jar --> MARKED WITH SCOPE TEST
lib/jira-ws-client-1.0-SNAPSHOT.jar
lib/js-0.98.3.jar
lib/junit-3.8.1.jar --> MARKED WITH SCOPE TEST
lib/maven-model-2.0.7.jar
lib/oro-2.0.8.jar
lib/plexus-utils-1.4.1.jar
lib/testng-5.1-jdk15.jar --> MARKED WITH SCOPE TEST
lib/tools.jar
lib/velocity-1.5.jar --> MARKED WITH EXCLUDE
lib/wsdl4j-1.5.1.jar
lib/xmlunit-1.1.jar --> MARKED WITH SCOPE TEST



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.