Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4134

Conflict resolution with scope widening can cause transitive dependencies to be omitted

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.1.0
    • None
    • Dependencies
    • None

    Description

      The attached zip contains the following project hierarchy:

      p
      +- a
      |  \- b
      |     \- x:2
      |        \- y:1
      +- c:runtime
      |  \- d
      |     \- y:2
      +- e
         \- x:1

      The expected resolved dependencies would be:

      • test:a:jar:1:compile
      • test:b:jar:1:compile
      • test:c:jar:1:runtime
      • test:d:jar:1:runtime
      • test:e:jar:1:compile
      • test:x:jar:1:compile
      • test:y:jar:2:runtime

      But running build.sh shows that test:y is omitted entirely. Note that changing the scope of c in p to compile shows the correct behaviour.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            markh Mark Hobson
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment