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

maven-filtering brings in JUnit as transitive dependency

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment