You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2011/12/06 15:36:40 UTC

[jira] Closed: (MSHARED-215) maven-filtering brings in JUnit as transitive dependency

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

Olivier Lamy closed MSHARED-215.
--------------------------------

       Resolution: Fixed
    Fix Version/s: maven-filtering-1.1
         Assignee: Olivier Lamy

fixed r1210936.
Thanks!

> maven-filtering brings in JUnit as transitive dependency
> --------------------------------------------------------
>
>                 Key: MSHARED-215
>                 URL: https://jira.codehaus.org/browse/MSHARED-215
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-filtering
>    Affects Versions: maven-filtering-1.0
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Olivier Lamy
>             Fix For: maven-filtering-1.1
>
>         Attachments: maven-filtering_junit-dep.patch
>
>
> The dependency to org.codehaus.plexus:plexus-container-default:1.0-alpha-9-stable-1 incorrectly brings in a compile scope transitive dependency to junit:junit:3.8.1. The reason is that plexus-container-default also includes test code using JUnit.
> Adding dependencyManagement to change scope to test for JUnit solves this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira