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

maven-filtering brings in JUnit as transitive dependency

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: maven-filtering-1.0
    • Fix Version/s: maven-filtering-1.1
    • Component/s: maven-filtering
    • Labels:
      None
    • Environment:
      n/a
    • Flags:
      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

          Activity

            People

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              afloom Anders Hammar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: