I am using Maven-2.0.9. In my project, i have a parent pom and n child poms.
Something like this:
Parent POM:
<modules>
<module>child-one</module>
<module>child-two</module>
</modules>
<build>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>doSomething</id>
<!-- Do something here -->
<phase>install</phase>
<configuration>
<tasks>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</build>
Note the "execution" which will be run during install phase of each module
(child-one, child-two etc...). I am looking for a phase which will be run
only once during the lifetime of the maven build process. Or is there some
way i can make the plugin run only once during the build, even if the child
modules inherit them?
--
View this message in context:
http://www.nabble.com/Maven-lifecycle---Is-there-a-%22run-only-once-in-a-lifetime%22-phase--tp20913469p20913469.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]