[
https://issues.apache.org/jira/browse/MRESOLVER-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov updated MRESOLVER-9:
-----------------------------------
Component/s: resolver
> DefaultDependencyCollector does not correctly handle dependency management
> --------------------------------------------------------------------------
>
> Key: MRESOLVER-9
> URL: https://issues.apache.org/jira/browse/MRESOLVER-9
> Project: Maven Resolver
> Issue Type: Bug
> Components: resolver
> Reporter: Christian Schulte
> Priority: Critical
> Fix For: Maven Artifact Resolver 1.2.0 pre-reset
>
>
> 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).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)