Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 11E63200C00 for ; Wed, 14 Dec 2016 01:12:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 10BFF160B31; Wed, 14 Dec 2016 00:12:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5B29D160B23 for ; Wed, 14 Dec 2016 01:11:59 +0100 (CET) Received: (qmail 94135 invoked by uid 500); 14 Dec 2016 00:11:58 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 94098 invoked by uid 99); 14 Dec 2016 00:11:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2016 00:11:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6A0152C03DE for ; Wed, 14 Dec 2016 00:11:58 +0000 (UTC) Date: Wed, 14 Dec 2016 00:11:58 +0000 (UTC) From: "Hudson (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MRESOLVER-9) DefaultDependencyCollector does not correctly handle dependency management. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 14 Dec 2016 00:12:00 -0000 [ https://issues.apache.org/jira/browse/MRESOLVER-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15746698#comment-15746698 ] Hudson commented on MRESOLVER-9: -------------------------------- SUCCESS: Integrated in Jenkins build maven-wagon #1320 (See [https://builds.apache.org/job/maven-wagon/1320/]) [MRESOLVER-9] DefaultDependencyCollector does not correctly handle (schulte: rev f244ece2eee01500e4b1bc334b8dcd35b47f9422) * (edit) pom.xml * (edit) wagon-tcks/wagon-tck-http/pom.xml > 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 > Reporter: Christian Schulte > Assignee: Christian Schulte > Priority: Critical > Fix For: Maven Artifact Resolver 1.2.0 > > > During dependency processing the 'DependencySelector' is called to decide if a dependency is to be selected. The call to 'DependencySelector.selectDependency( dependency )' is performed with the unmanagement 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 (v6.3.4#6332)