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 C44FCCEB2 for ; Fri, 1 Jun 2012 13:41:14 +0000 (UTC) Received: (qmail 3630 invoked by uid 500); 1 Jun 2012 13:41:12 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 3555 invoked by uid 500); 1 Jun 2012 13:41:12 -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 3546 invoked by uid 99); 1 Jun 2012 13:41:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2012 13:41:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [85.17.66.185] (HELO mail-out-1.dcube-resource.be) (85.17.66.185) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2012 13:41:04 +0000 Received: from 181.251-200-80.adsl-static.isp.belgacom.be ([80.200.251.181] helo=[192.168.103.64]) by mail.dcube-resource.be with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SaS5q-0007du-DE for users@maven.apache.org; Fri, 01 Jun 2012 15:40:42 +0200 Message-ID: <4FC8C656.2070807@progs.be> Date: Fri, 01 Jun 2012 15:40:38 +0200 From: Joachim Van der Auwera User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: users@maven.apache.org Subject: Re: Using scope in dependencyManagement: good idea or bad? References: <4FC8BE16.7040500@st.informatik.tu-darmstadt.de> In-Reply-To: <4FC8BE16.7040500@st.informatik.tu-darmstadt.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-authenticated-id: joachim@progs.be X-Virus-Checked: Checked by ClamAV on apache.org In my experience a bad idea (bitten by this in the past). If the same dependency is mentioned in dependencyManagement in various places, then you may end up with the wrong scope. I use dependencyManagement to specify the version and possibly exclusions. Scope is still managed in the dependency declaration itself. Kind regards, Joachim On 01-06-12 15:05, Andreas Sewe wrote: > Hi all, > > the subject say it all: Is declaring scopes in the dependencyManagement > section of your parent POM a good idea or a bad idea? > > Best wishes, > > Andreas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org