-
Notifications
You must be signed in to change notification settings - Fork 135
Description
Christian Schulte opened MRESOLVER-9 and commented
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).
Issue Links:
-
MNG-6135 Maven plugins and core extensions are not dependencies, they should be resolved the same way as projects.
("blocks") -
MNG-5935 Optional true getting lost in managed dependencies when transitive
("blocks") -
MNG-7003 Inconsistent dependency tree
("blocks") -
MNG-5227 The 'optional' flag of a dependency should be manageable.
("blocks") -
MRESOLVER-235 Managed dependencies are not honoured when resolving a dependency graph
-
MNG-6139 Addition of command line option 'legacy-dependency-management'.
("is required by") -
MRESOLVER-12 Addition of unit tests for DependencySelector implementations
("is depended upon by")
Remote Links:
1 votes, 5 watchers