I have an ant task that is suppose to run in the "process-resources"
phase.The configuration is :
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<configuration>
<tasks>
<copy todir="target/checkout" overwrite="true">
<fileset dir="../portal-ear/target">
<include name="portal.ear"/>
</fileset>
</copy>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
--
When I run "mvn install" , the output shows the ant task executing
twice as seen below :
---
[INFO] Building Portal :: Functional Tests
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
---
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[copy] Copying 1 file to D:\CONTINUUM-BUILDS\continuum\working-directory\8
\portal-functional-tests\target\checkout
[INFO] Executed tasks
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[copy] Copying 1 file to D:\CONTINUUM-BUILDS\continuum\working-directory\8
\portal-functional-tests\target\checkout
[INFO] Executed tasks
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\CONTINUUM-BUILDS\continuum\working-directory\86\portal-fu
ctional-tests\pom.xml to D:\Documents and Settings\mutonhj\.m2\repository\za\co\
pragmaticus\portal\portal-functional-tests\1.0.0\portal-functional-tests-1.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Jun 13 11:15:15 CAT 2007
[INFO] Final Memory: 5M/508M
"Don't take the name of root in vain."
Jeff Mutonho
Cape Town
South Africa
GoogleTalk : ejbengine
Skype : ejbengine
Registered Linux user number 366042
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]