Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 38204 invoked from network); 6 Apr 2010 15:08:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Apr 2010 15:08:17 -0000 Received: (qmail 7633 invoked by uid 500); 6 Apr 2010 15:08:15 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 7559 invoked by uid 500); 6 Apr 2010 15:08: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 7551 invoked by uid 99); 6 Apr 2010 15:08:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 15:08:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [213.121.63.125] (HELO ironport.dstintl.com) (213.121.63.125) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 15:08:09 +0000 X-IronPort-AV: E=Sophos;i="4.51,373,1267401600"; d="scan'208";a="24489262" Received: from unknown (HELO mail.dstintl.com) ([129.0.10.35]) by ironport.dstintl.com with ESMTP; 06 Apr 2010 16:07:42 +0100 In-Reply-To: <401AFC87BCEBAE439D15640EE236276D03C02EAB@afb96.de.afb.lan> Subject: Re: AW: Controlling maven... To: "Maven Users List" X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 From: Andy.Bell@dstglobalsolutions.com Message-ID: Date: Tue, 6 Apr 2010 16:06:58 +0100 X-MIMETrack: Serialize by Router on DSTIUK01/Server/DST/US(Release 6.5.6FP3|March 27, 2008) at 06/04/2010 16:06:58 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" harald Unfortunately, this leads to the problem I mentioned: [INFO] One or more required plugin parameters are invalid/missing for 'wagon:download' [0] Inside the definition for plugin 'wagon-maven-plugin' specify the following: ... VALUE Maven is not picking up the execution specific configuration... Andy Bell | DST Global Solutions Limited | 44 020 8390 5000x5837 =20 "Entner Harald" =20 To=20 "Maven Users List" =20 06/04/2010 15:55 =20 cc=20 =20 Please respond to Subject=20 "Maven Users AW: Controlling maven... =20 List" =20 =20 =20 =20 =20 you don't have to declare the plugin twice, you can declare it only once and add two execution nodes.(with all required properties). Afaik, you can put configuration information that is common to both execution nodes outside the execution node and put the execution specific information into the configuration child of the execution node. e.g. ... ... ... ... .. common configuration.. hope it helps harald -----Urspr=FCngliche Nachricht----- Von: Andy.Bell@dstglobalsolutions.com [mailto:Andy.Bell@dstglobalsolutions.com] Gesendet: Dienstag, 6. April 2010 16:46 An: users@maven.apache.org Betreff: Controlling maven... Hi I am trying to use Maven to automate a complicated process: I have 3 machines: a Maven build machine, a Project WebSite server machine and a Project Install Builder Machine. We have several builds, controlled by Hudson. After a particular build, the Project Install Builder Machine will have created an Installer and a nice set of web pages to go with it. These have been zipped up to make transferring them easier. I then need Maven to: 1) Get the project Installer from the Project Install Builder Machine (a .zip file) using FTP 2) Unzip this file to a project specific folder 3) FTP the contents this folder to the WebSite machine. I am trying to use the wagon plugin to do steps 1 and 3 but I am finding that specifying the plugin twice in the same pom.xml is causing trouble. If I try this... org.codehaus.mojo wagon-maven-plugin ftp-deployed-properties-files download ${project.build.directory}\WebInstaller ftp://anonymous:hwscruis@isbuild/WebServicesBuild/target/installanywhe= re/investmentaccounting_Build_Output ... org.codehaus.mojo wagon-maven-plugin ftp-deployed-properties-files upload ${project.build.directory}\WebInstaller\V-1.0.0.${buildNumber}\ ftp://anonymous:hwscruis@localhost and call it with this command: mvn wagon:download wagon:upload then the section from the upload is also used for the download. However, if I move the sections to within the tag, I get this message: [INFO] One or more required plugin parameters are invalid/missing for 'wagon:download' [0] Inside the definition for plugin 'wagon-maven-plugin' specify the following: ... VALUE -OR- on the command line, specify: '-Dwagon.url=3DVALUE' I can't use the latter option because the URL is dynamically generated from the SCM version number and I need two different locations! So, it seems that the wagon plugin cannot use 2 different URL's in the same pom.xml. I know I can put the commands in separate pom's, but that seems like a poor solution to me. Andy Bell | DST Global Solutions Limited | 44 020 8390 5000x5837 http://www.dstglobalsolutions.com ***************************************************************************= ** >From May 18th 2009: DST International Limited will be known as DST Global Solutions Limited. DST International Output Limited will be known as DST Output Limited. Please update your address book with the new email address and visit our new websites: http://www.dstglobalsolutions.com and http://www.dstoutput.co.uk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Notice: This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. Whilst we run anti-virus software on all internet e-mails we are not liable for any loss or damage. The recipient is advised to run their own anti-virus software. If you have received this transmission in error, please return the material received to the sender and delete all copies from your system. Thank you. DST Global Solutions Limited is a company registered in England and Wales with company number 1772349. DST Global Solutions Group Services Limited is a company registered in England and Wales with company number 5211646. DST Global Solutions Billing Limited is a company registered in England and Wales with company number 4370287. DST Output Limited is a company registered in England and Wales with company number 4220397. Pensions and Actuarial Services Limited is a company registered in England and Wales with company number 2957435. The registered office for all the above mentioned companies is: DST House, St Mark's Hill, Surbiton, Surrey, KT6 4QD, England. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org http://www.dstglobalsolutions.com ***************************************************************************= ** >From May 18th 2009: DST International Limited will be known as DST Global Solutions Limited. DST International Output Limited will be known as DST Output Limited. Please update your address book with the new email address and visit our ne= w websites: http://www.dstglobalsolutions.com and http://www.dstoutput.co.uk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Notice: This e-mail and any attachments are intended only for the individua= l or company to which it is addressed and may contain information which is = privileged, confidential and prohibited from disclosure or unauthorized use= under applicable law. If you are not the intended recipient of this e-mai= l, you are hereby notified that any use, dissemination or copying of this e= -mail or the information contained in this e-mail is strictly prohibited by= the sender. Whilst we run anti-virus software on all internet e-mails we are not liable= for any loss or damage. The recipient is advised to run their own anti-vi= rus software. If you have received this transmission in error, please return the material= received to the sender and delete all copies from your system. Thank you. DST Global Solutions Limited is a company registered in England and Wales w= ith company number 1772349. DST Global Solutions Group Services Limited is a company registered in Engl= and and Wales with company number 5211646. DST Global Solutions Billing Limited is a company registered in England and= Wales with company number 4370287. DST Output Limited is a company registered in England and Wales with compan= y number 4220397. Pensions and Actuarial Services Limited is a company registered in England = and Wales with company number 2957435. The registered office for all the above mentioned companies is: DST House, = St Mark's Hill, Surbiton, Surrey, KT6 4QD, England. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org