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 15C9DD8B4 for ; Thu, 20 Dec 2012 17:17:58 +0000 (UTC) Received: (qmail 19510 invoked by uid 500); 20 Dec 2012 17:17:56 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 19394 invoked by uid 500); 20 Dec 2012 17:17:56 -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 19209 invoked by uid 99); 20 Dec 2012 17:17:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2012 17:17:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of khmarbaise@gmx.de designates 212.227.17.20 as permitted sender) Received: from [212.227.17.20] (HELO mout.gmx.net) (212.227.17.20) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Dec 2012 17:17:48 +0000 Received: from mailout-de.gmx.net ([10.1.76.35]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MYIEJ-1TYFMc3Ofx-00V6aO for ; Thu, 20 Dec 2012 18:17:27 +0100 Received: (qmail 24153 invoked by uid 0); 20 Dec 2012 17:17:27 -0000 Received: from 194.153.191.21 by www005.gmx.net with HTTP; Thu, 20 Dec 2012 18:17:27 +0100 (CET) Content-Type: text/plain; charset="utf-8" Date: Thu, 20 Dec 2012 18:17:27 +0100 From: "Karl Heinz Marbaise" In-Reply-To: Message-ID: <20121220171727.258320@gmx.net> MIME-Version: 1.0 References: Subject: Re: Detecting any dependencies specified without versions? To: "Maven Users List" , users@maven.apache.org X-Authenticated: #3658064 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX19taLpxcs9tsMfUbk0b5UEPCR3ifNykmfuvW5IwVu fnoAb4XVHA1SHjI2Ck1k0w7gz6QuSKuUzB4Q== Content-Transfer-Encoding: 8bit X-GMX-UID: cC2hcIwFeSEqVDGyXHQhzFJ+IGRvb8DV X-Virus-Checked: Checked by ClamAV on apache.org Hi, if you have really dependencies without version the build will fail in Maven. This sounds more like having a dependencyManagement block somewhere in the parents which define the appropriate versions which is ok. The question is what you like to achieve? Kind regards Karl-Heinz Marbaise -------- Original-Nachricht -------- > Datum: Thu, 20 Dec 2012 17:09:59 +0000 > Von: "KARR, DAVID" > An: Maven Users List > Betreff: Detecting any dependencies specified without versions? > I just noticed that our large project has a lot of poms with dependencies > with no version specified. I'd like to detect that at build time. I see > that the enforcer plugin comes close out of the box, with the > "requirePluginVersions" rule. However, there doesn't appear to be a > "requireDependencyVersions" rule, at least out of the box. > > Is there an easy way to make this work? Has anyone written and released a > custom "requireDependencyVersions" rule? > > --------------------------------------------------------------------- > 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