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 7F2EF200BEC for ; Thu, 15 Dec 2016 01:32:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7DCC4160B2E; Thu, 15 Dec 2016 00:32:12 +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 C4D1E160B19 for ; Thu, 15 Dec 2016 01:32:11 +0100 (CET) Received: (qmail 24081 invoked by uid 500); 15 Dec 2016 00:32:10 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 24060 invoked by uid 99); 15 Dec 2016 00:32:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2016 00:32:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 363B11AB318 for ; Thu, 15 Dec 2016 00:32:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.001 X-Spam-Level: X-Spam-Status: No, score=-3.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id R0lisf64m1Y3 for ; Thu, 15 Dec 2016 00:32:07 +0000 (UTC) Received: from vps.schulte.it (vps.schulte.it [176.28.31.178]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 78B975F58F for ; Thu, 15 Dec 2016 00:32:07 +0000 (UTC) Received: from t60.schulte.it (p5DE93D5D.dip0.t-ipconnect.de [93.233.61.93]) (authenticated bits=0) by vps.schulte.it (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id uBF0ThHL018249 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 15 Dec 2016 01:29:44 +0100 Subject: Re: maven-wagon git commit: [MRESOLVER-9] DefaultDependencyCollector does not correctly handle dependency management. Reply-To: Maven Developers List References: <087d915b797a40fcb7b41c728520f06b@git.apache.org> <144d382f-f71f-61d8-073a-dbb358730dbf@apache.org> To: Maven Developers List From: Christian Schulte Message-ID: Date: Thu, 15 Dec 2016 01:29:43 +0100 User-Agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.3.9 (vps.schulte.it [176.28.31.178]); Thu, 15 Dec 2016 01:29:44 +0100 (CET) archived-at: Thu, 15 Dec 2016 00:32:12 -0000 Am 12/15/16 um 01:15 schrieb Christian Schulte: > Am 12/14/16 um 23:29 schrieb Michael Osipov: >> I just hit the same issue with the Maven Clean Plugin: >> plexus-container-default is missing on the classpath. >> >> I think that Christian does the right thing, either adjusting code to >> documentation or the other way around. We just need to agree what is the >> right thing and change the problematic spot accordingly. >> >> Don't having compile, runtime and test scoped transitive deps of a >> direct test dependency doesn't look right to me. There must be some >> reason why this decision was made eons ago. > > That could be another bug. > > A -> B (test) -> C (compile) > > When we say "Test scope is not transitive", C should not be resolved as > well. That's just another inconsistency. We have B in test scope and so > all transitive dependencies of B implicitly will become test scope. That > scope is not transitive, so C and all other transitive dependencies of B > should not be resolved. It's really still inconsistent. By this I mean: If the scope of C is not managed to 'test', it currently will be resolved. It really shouldn't, following the 'Test scope is not transitive'. I read that as: The test scope does not support transitive dependencies. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org