Fyi, the inherited in the execution block does not work, but it does work in the plugin block.
-----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 7:55 PM To: Maven Users List Subject: Re: How to run a script from a pom.xml file? On Wed, Mar 12, 2008 at 4:25 PM, Tawfik, Sameh E <[EMAIL PROTECTED]> wrote: > I tried the exe plugin and it did what I was looking for, but I noticed > it repeated the execution few times and not just one time as needed! ... > Is there is a way where I can restrict the execution of this exe to just > one time? To have it run just once for the parent, use: <inherited>false</inherited> * http://maven.apache.org/ref/2.0.8/maven-model/maven.html (You should also add an <id> for the execution.) -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]