Details
-
Bug
-
Status: Reopened
-
Critical
-
Resolution: Unresolved
-
None
-
None
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
- blocks
-
MNG-6135 Maven plugins and core extensions are not dependencies, they should be resolved the same way as projects.
- Reopened
-
MNG-5935 Optional true getting lost in managed dependencies when transitive
- Closed
-
MNG-7003 Inconsistent dependency tree
- Closed
-
MNG-5227 The 'optional' flag of a dependency should be manageable.
- Reopened
- is depended upon by
-
MRESOLVER-12 Addition of unit tests for DependencySelector implementations
- Reopened
- is related to
-
MRESOLVER-235 Managed dependencies are not honoured when resolving a dependency graph
- Closed
- is required by
-
MNG-6139 Addition of command line option 'legacy-dependency-management'.
- Closed
- links to