You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2015/01/21 20:06:18 UTC

[jira] (MNG-5056) Test dependencies get packaged into WAR file.

     [ https://jira.codehaus.org/browse/MNG-5056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte updated MNG-5056:
--------------------------------

    Description: 
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.
{code:xml}
<dependency>
  <groupId>com.atomikos</groupId>
  <artifactId>transactions-jta</artifactId>
  <version>3.6.4</version>
  <scope>test</scope>
</dependency>
{code}

  was:
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>


> Test dependencies get packaged into WAR file.
> ---------------------------------------------
>
>                 Key: MNG-5056
>                 URL: https://jira.codehaus.org/browse/MNG-5056
>             Project: Maven
>          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
>            Assignee: Jason van Zyl
>            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.
> {code:xml}
> <dependency>
>   <groupId>com.atomikos</groupId>
>   <artifactId>transactions-jta</artifactId>
>   <version>3.6.4</version>
>   <scope>test</scope>
> </dependency>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)