You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/06/08 20:16:00 UTC

[jira] [Updated] (MRESOLVER-8) ScopeDependencySelector incorrectly de-selects direct dependencies

     [ https://issues.apache.org/jira/browse/MRESOLVER-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated MRESOLVER-8:
-----------------------------------
    Summary: ScopeDependencySelector incorrectly de-selects direct dependencies  (was: ScopeDependencySelector incorrectly de-selects direct dependencies.)

> ScopeDependencySelector incorrectly de-selects direct dependencies
> ------------------------------------------------------------------
>
>                 Key: MRESOLVER-8
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-8
>             Project: Maven Resolver
>          Issue Type: Bug
>            Reporter: Christian Schulte
>            Priority: Critical
>             Fix For: Maven Artifact Resolver 1.2.0 pre-reset
>
>
> The {{ScopeDependencySelector}} decides if a node is a direct dependency or transitive dependency differently based on the request performed. For the {{CollectRequest.setRootArtifact(Artifact)}} case, the class is working correctly. For the {{CollectRequest.setRoot(Dependency)}} case, the class is de-selecting direct dependencies instead of transitive dependencies.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)