Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24D5C18A94 for ; Sun, 3 Jan 2016 10:14:21 +0000 (UTC) Received: (qmail 26971 invoked by uid 500); 3 Jan 2016 10:14:20 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 26876 invoked by uid 500); 3 Jan 2016 10:14:19 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 26774 invoked by uid 99); 3 Jan 2016 10:14:19 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2016 10:14:19 +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 EC5BC1A0B2E for ; Sun, 3 Jan 2016 10:14:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id vlzmdNmNPnlO for ; Sun, 3 Jan 2016 10:14:18 +0000 (UTC) Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 6A72120B91 for ; Sun, 3 Jan 2016 10:14:17 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id bx1so204324095obb.0 for ; Sun, 03 Jan 2016 02:14:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xDw0DXPtBpR4mkId3EejbDJklj7wspcyHlp2Q/U/XaU=; b=l5RoawlNCECPHGFW4d+r05z6GWTfodHegG+mYcgRnKD5PwUggqwVHUP293DnX98WrR kW6UnxcdlV3ui5OWGGo6GLmJpKmU1p1u9MQM9wOq7QoOwH3gPxNQ0JY2CUe7qXX0nxYP mzzFZlwfdw1C9qU1BUtKQpYfWFLouDiMlxD4QV9vfQvvm+n0idNKwK6a7XMthqSkmiMb D1TB6amhwA92T+qsAkbup6fq67r5LLmDDwxNO8TPGJf9r847O9T8ak6GS0ffS171Rf1d BqV/pThWc3d1zITJiztE3uiW6FGfhJa1tur2Ta5/2IiWOo2iV+kmijl0OAIL+gNdNPQe g+4Q== MIME-Version: 1.0 X-Received: by 10.60.159.230 with SMTP id xf6mr56093151oeb.43.1451816050337; Sun, 03 Jan 2016 02:14:10 -0800 (PST) Received: by 10.76.144.167 with HTTP; Sun, 3 Jan 2016 02:14:10 -0800 (PST) In-Reply-To: References: <5687F140.6060308@artifact-software.com> <5687F5DF.9010601@apache.org> Date: Sun, 3 Jan 2016 11:14:10 +0100 Message-ID: Subject: Re: [MNG-5947] dependency management: imports and lack of nearest-wins From: =?UTF-8?Q?Micha=C5=82_Kowalcze?= To: Maven Users List Content-Type: multipart/alternative; boundary=047d7bd6a9d6f5af5005286b4324 --047d7bd6a9d6f5af5005286b4324 Content-Type: text/plain; charset=UTF-8 > > Michal, does your change take imports nesting into account? > Yes, my patch determines distance between dependencies based on depth of a particular dependency - and nesting is supported. However I'm still working on an approach that will not change generated maven model classes as this is more likely to go into version 3 of maven. Basically the problem with current mode is that dependency management data does not support at all tree-like structure. There's only flat list of resolved dependencies - built during depth-first traversal of maven model - so this is the reason of improper behavior. --047d7bd6a9d6f5af5005286b4324--