Hi, I've two Perl scripts, "Before_Build.pl", and "After_Build.pl " that I need to run the first one before the build starts and the other one after the build is complete.
So, what is the command line syntax to run a full build with the above requirements? 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>Before_Build.pl</executable> <arguments> <argument>20</argument> </arguments> </configuration> </plugin> <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>After_Build.pl</executable> <arguments> <argument>20</argument> </arguments> </configuration> </plugin> I can successfully execute the first Perl script "Before_Build.pl" from the command line, by running the following command: C:\projects>mvn -N exec:exec -Dexec.executable=" Before_Build.pl" 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]