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

Dependencies in two paths are not added to resolution when scope needs to be updated in the nearest due to any of nearest parents

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 2.0.2
    • Fix Version/s: 2.0.3
    • Labels:
      None

      Description

      scopes are not correctly calculated for this case

      my pom: a compile, b test
      a: c compile, d compile
      b: d compile

      then d ends in test scope because d is closer to my project through the path b-d

      I think scope importance should also be taken into account

        Attachments

        1. MNG-1895.patch
          9 kB
          Carlos Sanchez

          Issue Links

            Activity

              People

              • Assignee:
                carlos Carlos Sanchez
                Reporter:
                carlos Carlos Sanchez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: