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 178C8E442 for ; Wed, 13 Feb 2013 14:27:49 +0000 (UTC) Received: (qmail 49480 invoked by uid 500); 13 Feb 2013 14:27:48 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 49058 invoked by uid 500); 13 Feb 2013 14:27:47 -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 49036 invoked by uid 99); 13 Feb 2013 14:27:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 14:27:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [141.35.1.28] (HELO mailout0.rz.uni-jena.de) (141.35.1.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 14:27:40 +0000 Received: from mailsmtp1.rz.uni-jena.de (smtp.uni-jena.de [141.35.1.18]) by mailout0.rz.uni-jena.de (8.14.4/8.14.4) with ESMTP id r1DERHBZ011317 for ; Wed, 13 Feb 2013 15:27:17 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-jena.de; s=uni-jena; t=1360765637; bh=ZgrmtcvGXaRfckpz5bLZXsn2ieyrvnb7DxA8+0Q1DGE=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=f/sssAkMzP5z3N40oy+mhmu9fJYJeQugeoSkQe9GU/gNG08Uo2DXSzVnEAmiCYMkU ryRGY7r7fWPBcrD0JNUWSF631cdvMQUkY5vFbhBFPToefWMzpF2tpBFmmXrWW0gxGf 7kpA6AXWVxz1FZORAa7GB/8E+T0rtZJPaT1v3Utg= Received: from [141.35.20.241] (ulbp2364.thulb.uni-jena.de [141.35.20.241]) (authenticated id=m8scth bits=0) by mailsmtp1.rz.uni-jena.de (8.14.4/8.14.4) with ESMTP id r1DERHYY010365 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 13 Feb 2013 15:27:17 +0100 Message-ID: <511BA2C5.2030403@uni-jena.de> Date: Wed, 13 Feb 2013 15:27:17 +0100 From: Thomas Scheffler Organization: =?UTF-8?B?RnJpZWRyaWNoLVNjaGlsbGVyLVVuaXZlcnNpdMOkdCBKZW5h?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130114 Thunderbird/17.0.2 MIME-Version: 1.0 To: users@maven.apache.org Subject: property expansion in pom.xml of archetype Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I created my first archetype. In archetype-metadata.xml I specified When creating a project I want ${mylib.version} in the prototype pom.xml to be expanded to the specified value: mycore org.mycore ${mylib.version} On the command line I see the correct value but it is not used for pom.xml. Just ${artifactId}, ${groupId} and ${version} seem to get expanded. How can I achieve this without releasing a new archetype with every version of mylib? regards, Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org