Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87D4A1013B for ; Mon, 17 Jun 2013 16:26:04 +0000 (UTC) Received: (qmail 56663 invoked by uid 500); 17 Jun 2013 16:26:04 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 56636 invoked by uid 500); 17 Jun 2013 16:26:04 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 56627 invoked by uid 99); 17 Jun 2013 16:26:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 16:26:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of olegk@apache.org) Received: from [217.150.250.48] (HELO kalnich.nine.ch) (217.150.250.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 16:25:57 +0000 Received: from [192.168.42.116] (unknown [213.55.184.234]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by kalnich.nine.ch (Postfix) with ESMTPSA id 4E0BFB8042D for ; Mon, 17 Jun 2013 18:25:37 +0200 (CEST) Message-ID: <1371486334.5115.15.camel@ubuntu> Subject: Re: Maven prerequisites are not inherited From: Oleg Kalnichevski To: HttpComponents Project Date: Mon, 17 Jun 2013 18:25:34 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.2-0ubuntu1~raring1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2013-06-17 at 15:41 +0100, sebb wrote: > Maven prerequisites are not inherited [1], so the entry in the parent > pom does not affect child builds. > > Unfortunately it looks like one cannot use a property for the version, > so it might be necessary to add the prerequisites section to every > POM. > Or perhaps use the enforcer plugin? > > [1] http://jira.codehaus.org/browse/MNG-2423 > Looks like the enforcer plugin is the only realistic choice if want to enforce a minimal Maven version in all modules. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org