[ 
http://jira.codehaus.org/browse/MNG-5056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261292#action_261292
 ] 

Lars Vonk commented on MNG-5056:
--------------------------------

I forgot to mention that these jars wind up in the WAR file (see debug.out):

antlr-2.7.6.jar
asm-1.5.3.jar
asm-attrs-1.5.3.jar
cglib-2.1_3.jar
commons-collections-2.1.1.jar
commons-logging-1.0.4.jar
dom4j-1.6.1.jar
ehcache-1.2.3.jar
hibernate-3.2.5.ga.jar
jms-1.1.jar
jta-1.0.1B.jar

> Test dependencies get packaged into WAR file.
> ---------------------------------------------
>
>                 Key: MNG-5056
>                 URL: http://jira.codehaus.org/browse/MNG-5056
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.0.3
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
> Maven home: /usr/share/maven
> Java version: 1.6.0_24, vendor: Apple Inc.
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.6.6", arch: "x86_64", family: "mac"
>            Reporter: Lars Vonk
>            Priority: Critical
>         Attachments: debug.out, web.zip
>
>
> When I add the following dependency as scope test in my pom.xml some of its 
> transitive dependencies (I guess) still get packaged into the WAR file.
> <dependency>
>   <groupId>com.atomikos</groupId>
>   <artifactId>transactions-jta</artifactId>
>   <version>3.6.4</version>
>   <scope>test</scope>
> </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

        

Reply via email to