maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Watkins (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-5056) Test dependencies get packaged into WAR file.
Date Mon, 01 Aug 2011 11:36:42 GMT

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

Robert Watkins commented on MNG-5056:
-------------------------------------

See http://jira.codehaus.org/browse/MNG-5145 for a probably related bug.

> Test dependencies get packaged into WAR file.
> ---------------------------------------------
>
>                 Key: MNG-5056
>                 URL: https://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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message