Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-9

DefaultDependencyCollector does not correctly handle dependency management

    XMLWordPrintableJSON

    Details

      Description

      During dependency processing the DependencySelector is called to decide if a dependency is to be selected. The call to DependencySelector.selectDependency() is performed with the unmanaged dependency, but needs to be performed with the managed dependency. With the fix applied, the result no longer contains dependencies whose scope or optionality has been managed to not be part of the result (correct behaviour). Without the fix applied, the result contains dependencies with a managed scope or optionality not filtered out by the DependencySelector in use (incorrect behaviour).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                schulte77 Christian Schulte
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: