maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MRESOLVER-8) Direct dependencies incorrectly detected as transitive.
Date Mon, 14 Nov 2016 02:05:58 GMT

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

Hudson commented on MRESOLVER-8:
--------------------------------

SUCCESS: Integrated in Jenkins build maven-resolver #23 (See [https://builds.apache.org/job/maven-resolver/23/])
[MRESOLVER-8] Direct dependencies incorrectly detected as transitive. (schulte: rev 7d270dae8f72d14376fffd46652a629e2446ae0e)
* (edit) maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/DefaultDependencyCollectionContext.java
* (edit) maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/DefaultDependencyCollector.java


> Direct dependencies incorrectly detected as transitive.
> -------------------------------------------------------
>
>                 Key: MRESOLVER-8
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-8
>             Project: Maven Resolver
>          Issue Type: Bug
>            Reporter: Christian Schulte
>            Assignee: Christian Schulte
>            Priority: Critical
>             Fix For: Maven Artifact Resolver 1.2.0
>
>
> The 'DefaultDependencyCollector' updates the state of the 'DependencyCollectionContext'
when recursively processing dependencies but does never return the context to the former state.
This context is passed to various methods when deriving child components ('DependencyManager.deriveChildManager',
'DependencySelector.deriveChildSelector', 'DependencyTraverser.deriveChildTraverser', 'VersionFilter.deriveChildFilter')
which fail to correctly detect the depth/transitivity of the context passed due to that context
never getting reset after recursion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message