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 60B5B9CB0 for ; Mon, 11 Mar 2013 00:53:18 +0000 (UTC) Received: (qmail 72428 invoked by uid 500); 11 Mar 2013 00:53:15 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 72348 invoked by uid 500); 11 Mar 2013 00:53:15 -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 72340 invoked by uid 99); 11 Mar 2013 00:53:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 00:53:15 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mgainty@hotmail.com designates 65.55.116.48 as permitted sender) Received: from [65.55.116.48] (HELO blu0-omc1-s37.blu0.hotmail.com) (65.55.116.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 00:53:09 +0000 Received: from BLU172-W29 ([65.55.116.7]) by blu0-omc1-s37.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 10 Mar 2013 17:52:47 -0700 X-EIP: [NpYaG9ZCl9YtWyrzfUdrVMb2l6xoaEZm] X-Originating-Email: [mgainty@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_fca70bcb-c6f8-4964-bfc2-153b7e9aaa33_" From: Martin Gainty To: "users@maven.apache.org" Subject: RE: Changing groupID,artifactID of pom.xml using maven-properties-plugin Date: Sun, 10 Mar 2013 20:52:47 -0400 Importance: Normal In-Reply-To: References: <1362902990013-5750255.post@n5.nabble.com>,,<1362929492280-5750281.post@n5.nabble.com>, MIME-Version: 1.0 X-OriginalArrivalTime: 11 Mar 2013 00:52:47.0963 (UTC) FILETIME=[BFED8AB0:01CE1DF2] X-Virus-Checked: Checked by ClamAV on apache.org --_fca70bcb-c6f8-4964-bfc2-153b7e9aaa33_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable use Archetype to create your poms as Baptiste and Wayne has suggested http://maven.apache.org/guides/introduction/introduction-to-archetypes.html IF the archetype creation mechanism does not properly create your your pom.= xmlTHEN we should consider other environments such as gradle=2Cvelocity=2C= ftl to create your environment for you..... Remember when you configure non-maven-template-tool you must make first con= firm that tool is configured correctly for each possible environment permut= ation where you wish to run the template-tool to generate your template.. http://irregularexpression.blogspot.com/2010/01/create-new-maven-archetype-= from.html Martin ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . > Date: Sun=2C 10 Mar 2013 18:45:33 +0100 > Subject: Re: Changing groupID=2CartifactID of pom.xml using maven-propert= ies-plugin > From: ml@batmat.net > To: users@maven.apache.org >=20 > Hi Fayaz=2C > From what you describe=2C it seems to me you should have a look at the > maven-archetype-plugin. >=20 > Archetypes are templates in the standard Maven way. >=20 > Hope that helps. >=20 > Cheers > Le 10 mars 2013 16:32=2C "fyzahmd" a =E9crit : >=20 > > Hi Baptiste=2C > > > > Thanks for your response. > > > > I want to create a pom.xml (a general template) such that all the > > configurable parameters can be picked up from a .properties during the > > maven > > build .I don't want to search for the same tags in the pom.xml and edit > > them.Is there a way in Maven through which i can acheive this ? > > > > > > Thanks and Regards=2C > > Fayaz ahamed. > > > > > > > > -- > > View this message in context: > > http://maven.40175.n5.nabble.com/Changing-groupID-artifactID-of-pom-xml= -using-maven-properties-plugin-tp5750255p5750281.html > > Sent from the Maven - Users mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe=2C e-mail: users-unsubscribe@maven.apache.org > > For additional commands=2C e-mail: users-help@maven.apache.org > > > > = --_fca70bcb-c6f8-4964-bfc2-153b7e9aaa33_--