Maven Shared Components
  1. Maven Shared Components
  2. MSHARED-215

maven-filtering brings in JUnit as transitive dependency

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      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.

        Activity

        Hide
        Olivier Lamy added a comment -

        fixed r1210936.
        Thanks!

        Show
        Olivier Lamy added a comment - fixed r1210936. Thanks!

          People

          • Assignee:
            Olivier Lamy
            Reporter:
            Anders Hammar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: