Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 70981 invoked from network); 20 Oct 2009 09:44:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Oct 2009 09:44:38 -0000 Received: (qmail 94756 invoked by uid 500); 20 Oct 2009 09:44:35 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 94663 invoked by uid 500); 20 Oct 2009 09:44:35 -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 94653 invoked by uid 99); 20 Oct 2009 09:44:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 09:44:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.85.222.181] (HELO mail-pz0-f181.google.com) (209.85.222.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 09:44:25 +0000 Received: by pzk11 with SMTP id 11so3863444pzk.14 for ; Tue, 20 Oct 2009 02:44:03 -0700 (PDT) Received: by 10.114.162.20 with SMTP id k20mr8906927wae.135.1256031843173; Tue, 20 Oct 2009 02:44:03 -0700 (PDT) Received: from ?10.0.0.1? ([121.218.188.139]) by mx.google.com with ESMTPS id 22sm644928pzk.6.2009.10.20.02.44.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Oct 2009 02:44:02 -0700 (PDT) Sender: Brett Porter Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: I would like build to fail From: Brett Porter In-Reply-To: Date: Tue, 20 Oct 2009 20:43:58 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "Maven Users List" X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org dependencyManagement applies the settings to all dependencies - so =20 you've effectively declared all dependencies to be [1.0.0]. - Brett On 20/10/2009, at 8:39 PM, Borut Bol=C4=8Dina wrote: > Hi, > > if in parent pom (company POM for example): > > > > > com.acme > coyote-tornado-kit > [1.0.0] > > > > and in some project: > > > > com.acme > coyote-tornado-kit > [2.0.0] > > > > then I would expect build to fail becouse hard versions are used. =20 > Why is > that not so? > > -Borut --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org