continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy" <ol...@apache.org>
Subject Re: How to use exec-maven-plugin from Continuum?
Date Wed, 30 Apr 2008 13:11:24 GMT
Hi,
Don't define evrything under goals sections
Just  : exec:exec (or more goals you need)
The others must be in the Arguments section :
-N -Dexec.executable="2_Test_Update.pl"

2008/4/30 Tawfik, Sameh E <SamehTawfik@fairisaac.com>:
>
>  I've the following code in my pom.xml:
>
>             <plugin>
>               <groupId>org.codehaus.mojo</groupId>
>               <artifactId>exec-maven-plugin</artifactId>
>               <executions>
>                 <execution>
>                   <goals>
>                     <goal>exec</goal>
>                   </goals>
>                 </execution>
>               </executions>
>               <inherited>false</inherited>
>               <configuration>
>                 <executable>Test_Update.pl</executable>
>                 <arguments>
>                   <argument>20</argument>
>                 </arguments>
>               </configuration>
>             </plugin>
>
>  I can successfully execute this code from the command line, by running
>  the following command:
>
>  C:\projects>mvn -N exec:exec -Dexec.executable="2_Test_Update.pl"
>
>  But so far, I'd no luck executing this code from Continuum?
>
>  I defined -N exec:exec -Dexec.executable="2_Test_Update.pl" under Goals
>  section, but nothing happened?
>
>  I tried adding the same code under the Arguments section, but that did
>  not work either?
>
>  Does anyone know what the right syntax is?
>
>   Thanks,
>
>     Sameh
>  This email and any files transmitted with it are confidential, proprietary
>  and intended solely for the individual or entity to whom they are addressed.
>  If you have received this email in error please delete it immediately.
>
>

Mime
View raw message