Return-Path: Delivered-To: apmail-gump-general-archive@www.apache.org Received: (qmail 71981 invoked from network); 29 Jul 2010 05:55:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Jul 2010 05:55:47 -0000 Received: (qmail 70193 invoked by uid 500); 29 Jul 2010 05:55:47 -0000 Delivered-To: apmail-gump-general-archive@gump.apache.org Received: (qmail 70108 invoked by uid 500); 29 Jul 2010 05:55:46 -0000 Mailing-List: contact general-help@gump.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Gump code and data" Reply-To: "Gump code and data" Delivered-To: mailing list general@gump.apache.org Received: (qmail 70100 invoked by uid 99); 29 Jul 2010 05:55:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jul 2010 05:55:44 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [88.84.128.168] (HELO samaflost.de) (88.84.128.168) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jul 2010 05:55:38 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id 87AF340E000A for ; Thu, 29 Jul 2010 07:55:16 +0200 (CEST) Received: from samaflost.de ([127.0.0.1]) by localhost (v35516.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kuK0MA7EuzEi for ; Thu, 29 Jul 2010 07:55:15 +0200 (CEST) Received: by samaflost.de (Postfix, from userid 1000) id 9033040E0009; Thu, 29 Jul 2010 07:55:15 +0200 (CEST) From: Stefan Bodewig To: general@gump.apache.org Subject: mvn Question: Artifact Version and Inheritance X-Draft-From: ("nnfolder:mail.gump-general") Date: Thu, 29 Jul 2010 07:55:12 +0200 Message-ID: <87bp9qkf27.fsf@v35516.1blu.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi all, Gump's trunk contains a tweak to the new builder (which installs POMs to the local repository) where it tries to parse enough of the POM so that you no longer need to specify the version inside the Gump descriptor. The logic I use is: * if an element /project/version exists, use its text content * otherwise if an element /project/parent/version exists, use its text content * otherwise give up, complain that the Gump descriptor must contain a version attribute This assumes that if a POM doesn't specify a version it must inherit the one from the parent POM. Unfortunately I don't find any documentation on the maven site that would explicitly confirm this assumption (even though it seems to be true). Can anybody more familiar with mvn than me confirm this is correct? Thanks Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@gump.apache.org For additional commands, e-mail: general-help@gump.apache.org