Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-215

maven-filtering brings in JUnit as transitive dependency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-filtering-1.0
    • maven-filtering-1.1
    • maven-filtering
    • None
    • n/a
    • Patch

    Description

      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.

      Attachments

        1. maven-filtering_junit-dep.patch
          0.6 kB
          Anders Hammar

        Activity

          People

            olamy Olivier Lamy
            afloom Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: