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] [Commented] (MRESOLVER-8) ScopeDependencySelector incorrectly de-selects direct dependencies.

    [ https://issues.apache.org/jira/browse/MRESOLVER-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859310#comment-16859310 ] 

Michael Osipov commented on MRESOLVER-8:
----------------------------------------

The following ITs are broken for now:

{noformat}
[ERROR] Failures:
[ERROR]   MavenITmng5783PluginDependencyFiltering>AbstractMavenIntegrationTestCase.runTest:222->testSLF4j:34 expected:<3> but was:<2>
[ERROR] Errors:
[ERROR]   MavenITmng3599useHttpProxyForWebDAVMk2Test>AbstractMavenIntegrationTestCase.runTest:222->testitUseHttpProxyForWebDAV:204 » Verification
[ERROR]   MavenITmng5771CoreExtensionsTest>AbstractMavenIntegrationTestCase.runTest:222->testCoreExtensionRetrievedFromAMirrorWithBasicAuthentication:85 » Verification
{noformat}

> 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)