Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 58020 invoked from network); 23 Aug 2006 16:29:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 16:29:02 -0000 Received: (qmail 3300 invoked by uid 500); 23 Aug 2006 16:28:54 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 3069 invoked by uid 500); 23 Aug 2006 16:28:53 -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 3058 invoked by uid 99); 23 Aug 2006 16:28:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 09:28:53 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 09:28:51 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GFvah-00039P-D7 for users@maven.apache.org; Wed, 23 Aug 2006 09:28:31 -0700 Message-ID: <5947937.post@talk.nabble.com> Date: Wed, 23 Aug 2006 09:28:31 -0700 (PDT) From: iceman To: users@maven.apache.org Subject: Re: exec plugin - how to define more than one? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <5935357.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the tip. I still don't seem to get it, based on what you are saying my config should change to: > ... > > org.codehaus.mojo > exec-maven-plugin > > > client > > exec > > > foo > > -classpath > > A B C D > > > ... [ more execution definitions here] > > However maven complains with the following error: --------------------------------------------- [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] One or more required plugin parameters are invalid/missing for 'exec:exec ' [0] inside the definition for plugin: 'exec-maven-plugin'specify the following: ... VALUE -OR- on the command line, specify: '-Dexec.executable=VALUE' --------------------------------- Assuming I were to get the config right, I am still not understanding how I would distinguish between one execution or another from the command line. My goal is that I want to use Maven to launch execution A, or execution B - not both. thanks! Jon SlinnHawkins wrote: > > Hi, > > Put the within an for each executable you > require. > > Cheers > > Jon > > "iceman" wrote in message > news:5935357.post@talk.nabble.com... >> >> I've been able to successfully define the configuration for a single >> execution, but I would like to define more than one. >> >> IOTW, I have the following: >> >> ... >> >> org.codehaus.mojo >> exec-maven-plugin >> >> >> client >> >> exec >> >> >> >> >> foo >> >> -classpath >> >> A B C D >> >> >> >> >> >> As you can see, I can define how to run foo, but not bar. I would like >> to >> do both, since it will be common for users of the software to run more >> than >> one application. >> -- >> View this message in context: >> http://www.nabble.com/exec-plugin---how-to-define-more-than-one--tf2149338.html#a5935357 >> Sent from the Maven - Users forum at Nabble.com. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > > -- View this message in context: http://www.nabble.com/exec-plugin---how-to-define-more-than-one--tf2149338.html#a5947937 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org