From issues-return-110443-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Thu Mar 3 10:33:18 2016 Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8CB061869D for ; Thu, 3 Mar 2016 10:33:18 +0000 (UTC) Received: (qmail 83536 invoked by uid 500); 3 Mar 2016 10:33:18 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 83485 invoked by uid 500); 3 Mar 2016 10:33:18 -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 83472 invoked by uid 99); 3 Mar 2016 10:33:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2016 10:33:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 25B4A2C1F64 for ; Thu, 3 Mar 2016 10:33:18 +0000 (UTC) Date: Thu, 3 Mar 2016 10:33:18 +0000 (UTC) From: "Christian Schulte (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MNG-5761) Dependency management is not transitive. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MNG-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schulte updated MNG-5761: ----------------------------------- Summary: Dependency management is not transitive. (was: picks wrong version for transitive dependencies) > Dependency management is not transitive. > ---------------------------------------- > > Key: MNG-5761 > URL: https://issues.apache.org/jira/browse/MNG-5761 > Project: Maven > Issue Type: Bug > Components: Dependencies > Affects Versions: 3.2.5 > Reporter: Jeff Schnitzer > Assignee: Christian Schulte > Attachments: MNG-5761.zip > > > A detailed description of the issue is here: > http://stackoverflow.com/questions/28312975/maven-dependencymanagement-version-ignored-in-transitive-dependencies > The short of it is that maven appears to be using the wrong version in a transitive dependency. There are two relevant sections in the build, one pulled in by guice and one pulled in by gwizard-parent. These are the dependency paths from the top: > gwizard-example -> gwizard-config -> gwizard-parent > gwizard-example -> gwizard-config -> guice -> guice-parent > gwizard-parent's dependencyManagement specifies guava 18 > guice-parent's dependencyManagement specifies guava 16 > Guava 16 is winning. This seems highly undesirable, and in fact it breaks our build. I would expect that in a version # fight, "closest to the top" should win. -- This message was sent by Atlassian JIRA (v6.3.4#6332)