Return-Path: Delivered-To: apmail-continuum-users-archive@www.apache.org Received: (qmail 3862 invoked from network); 4 Aug 2008 14:45:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 14:45:57 -0000 Received: (qmail 2666 invoked by uid 500); 4 Aug 2008 14:45:54 -0000 Delivered-To: apmail-continuum-users-archive@continuum.apache.org Received: (qmail 2643 invoked by uid 500); 4 Aug 2008 14:45:53 -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 2632 invoked by uid 99); 4 Aug 2008 14:45:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 07:45:53 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 14:44:56 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KQ1JK-00005q-Gp for users@continuum.apache.org; Mon, 04 Aug 2008 07:45:22 -0700 Message-ID: <18812693.post@talk.nabble.com> Date: Mon, 4 Aug 2008 07:45:22 -0700 (PDT) From: Daniel Reuterwall To: users@continuum.apache.org Subject: Re: maven2 goal option in build definition In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: daniel.reuterwall@polopoly.com References: <179194EF-0729-4F9A-8C28-5B74D269A6EA@polopoly.com> <7CA45EC6F903DA4EB4ADB6D08D24B0F633A45E0A@fnbfdtmx01.fnb.co.za> <18812189.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 1- Yes, I use 'unless' to skip the ant task in continuum 2- I've tried to put '-Dmaven.test.skip=true' in the argument field. But it still runs my ant targets. Emmanuel Venisse-2 wrote: > > 1- do you use an ANT property in your plugin definition like the 'unless' > one in the sample? > 2- I never used --define, I prefer to use something like > '-Dmaven.test.skip=true' > > Emmanuel > > On Mon, Aug 4, 2008 at 4:19 PM, Daniel Reuterwall < > daniel.reuterwall@polopoly.com> wrote: > >> >> I've tried almost every alternative I could come up with. Except for the >> right one I guess... >> I tried to ad it to the argument field like this: --define >> maven.ant.skip. >> The build runs but my argument is not passed to maven. >> >> What I'm trying to do is to skip some ant tasks similar to this the >> example: >> >> http://maven.apache.org/plugins/maven-antrun-plugin/examples/tasksAttributes.html >> >> http://maven.apache.org/plugins/maven-antrun-plugin/examples/tasksAttributes.html >> >> >> Jeffery, Mark wrote: >> > >> > Are you including the -D itself ? >> > >> > -----Original Message----- >> > From: Daniel Reuterwall [mailto:daniel.reuterwall@polopoly.com] >> > Sent: 31 July 2008 09:44 >> > To: users@continuum.apache.org >> > Subject: maven2 goal option in build definition >> > >> > How can I add a maven2 -D option in my continuum build definition? >> > I've tried the argument field and adding it in the goal field but >> > neither works. >> > >> > Thanks for any help or hints. >> > >> > -- >> > Daniel Reuterwall >> > To read FirstRand Bank's Disclaimer for this email click on the >> following >> > address or copy into your Internet browser: >> > https://www.fnb.co.za/disclaimer.html >> > >> > If you are unable to access the Disclaimer, send a blank e-mail to >> > firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the >> > Disclaimer. >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/maven2-goal-option-in-build-definition-tp18749577p18812189.html >> Sent from the Continuum - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/maven2-goal-option-in-build-definition-tp18749577p18812693.html Sent from the Continuum - Users mailing list archive at Nabble.com.