Return-Path: Delivered-To: apmail-continuum-users-archive@www.apache.org Received: (qmail 77884 invoked from network); 11 Mar 2008 20:02:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2008 20:02:36 -0000 Received: (qmail 59515 invoked by uid 500); 11 Mar 2008 20:02:32 -0000 Delivered-To: apmail-continuum-users-archive@continuum.apache.org Received: (qmail 59488 invoked by uid 500); 11 Mar 2008 20:02:32 -0000 Mailing-List: contact users-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@continuum.apache.org Delivered-To: mailing list users@continuum.apache.org Received: (qmail 59479 invoked by uid 99); 11 Mar 2008 20:02:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 13:02:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [198.160.111.226] (HELO mx2out.acxiom.com) (198.160.111.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 20:01:51 +0000 X-IronPort-AV: E=Sophos;i="4.25,482,1199685600"; d="scan'208";a="390879078" Received: from unknown (HELO ACXMSXFE02.Corp.Acxiom.net) ([10.85.225.22]) by mx2out.acxiom.com with ESMTP; 11 Mar 2008 15:01:37 -0500 Received: from SMTMSX01.Corp.Acxiom.net ([10.85.225.115]) by ACXMSXFE02.Corp.Acxiom.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 11 Mar 2008 15:01:58 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: unsubscribe Date: Tue, 11 Mar 2008 15:01:57 -0500 Message-ID: <1EC454D90699BD4FBF74E57B13E096C60371655C@SMTMSX01.Corp.Acxiom.net> In-Reply-To: <7cfb44750803111209k1d9b548eo582ce2271a5ece40@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: unsubscribe Thread-Index: AciDq327siUwrA1KS/isdKlnCyo/kwABzWZQ References: <917A33EC255AEB49836D3E748199DE5003FA527A@invldnmexmb1.uk.corp.investec.com> <917A33EC255AEB49836D3E748199DE5003FA527C@invldnmexmb1.uk.corp.investec.com> <7cfb44750803111209k1d9b548eo582ce2271a5ece40@mail.gmail.com> From: "Drummond Daren - dadrum" To: X-OriginalArrivalTime: 11 Mar 2008 20:01:58.0971 (UTC) FILETIME=[C3A2E8B0:01C883B2] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org unsubscribe -----Original Message----- From: murali mohan [mailto:muralihere@gmail.com]=20 Sent: Tuesday, March 11, 2008 12:09 PM To: users@continuum.apache.org Subject: Re: Build Definition Arguments Maven profiles can be used for this purpose. For example, You can have one profile for non-continuum build, which can be activated only when the Environment property project.version has a value of " 9.2.0-build-${continuum.project.nextBuild.number} ". I think the syntax is: project.version 9.2.0-build-${continuum.project.nextBuild.number} ... Not sure if this is the best approach. rgds, Murali On Tue, Mar 11, 2008 at 5:06 PM, Robin Roos wrote: > It might help if I point out WHY I wish to do this. > > My POM has its version defined as: > > > 9.2.0-build-${continuum.project.nextBuild.number} > > The mvn assembly:assembly invocation will only work if a value is=20 > specified for this property. When evecuting mvn from outside=20 > Continuum I must provide a dummy value. (The assumed value of "null"=20 > is sufficient to build the artifact but causes assembly to fail). > > My intention is to define the version thus: > > 9.2.0-SNAPSHOT > > So that the POM can be built from outside Continuum, but then have=20 > continuum pass=20 > -Dproject.version=3D9.2.0-build-${continuum.project.nextBuild.number}=20 > when it invokes mvn. > > Any offers? > > Thanks, Robin. > > -----Original Message----- > From: Robin Roos > Sent: 11 March 2008 16:56 > To: users@continuum.apache.org > Subject: Build Definition Arguments > > Hi All > > My project uses Maven2 and the build definition I have created is for=20 > goals "assembly:assembly". I'm interested in more information about=20 > the "Arguments" field on the build definition panel. > > I'd like to send mvn an argument of the form: > > -Dproject.version=3D9.2.0-build-${continuum.project.nextBuild.number} > > Of course this is a "VM Argument". Does continuum support VM=20 > Arguments such as this and, if it does, must I provide the -D qualifier? > > Thanks, Robin. > > _____________________________________________________________________ > Before acting on this e mail or opening any attachment please read the > disclaimer which can be accessed at=20 > http://www.investec.com/EmailDisclaimer/UKEmailDisclaimer.htm > Investec Bank (UK) Limited is authorised and regulated by the=20 > Financial Services Authority. > _____________________________________________________________________ > > _____________________________________________________________________ > This e-mail has been scanned for viruses by MCI's Internet Managed=20 > Scanning Services - powered by MessageLabs. For further information=20 > visit http://www.mci.com > > Investec Bank (UK) Limited > Registered office: 2 Gresham Street, London, EC2V 7QP Company No: > 00489604 Incorporated in England and Wales > > _____________________________________________________________________ > This e-mail has been scanned for viruses by Verizon Business Internet=20 > Managed Scanning Services - powered by MessageLabs. For further=20 > information visit http://www.verizonbusiness.com/uk > > _____________________________________________________________________ > Before acting on this e mail or opening any attachment please read the > disclaimer which can be accessed at=20 > http://www.investec.com/EmailDisclaimer/UKEmailDisclaimer.htm > Investec Bank (UK) Limited is authorised and regulated by the=20 > Financial Services Authority. > _____________________________________________________________________ > > _____________________________________________________________________ > This e-mail has been scanned for viruses by MCI's Internet Managed=20 > Scanning Services - powered by MessageLabs. For further information=20 > visit http://www.mci.com > > Investec Bank (UK) Limited > Registered office: 2 Gresham Street, London, EC2V 7QP Company No:=20 > 00489604 Incorporated in England and Wales > *************************************************************************** The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. ****************************************************************************