maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maria Odea Ching <och...@mergere.com>
Subject Re: Antrun plugin and the war:war phases
Date Sat, 26 Nov 2005 02:57:59 GMT
Hi JS,

Are you trying to deploy your war file? Because there's an existing 
deploy goal that already runs ant.

Regards,
Odea

Jean-Sebastien Bournival wrote:

>Hi,
>
>I am trying to trigger an ant task after I used the maven war:war goal.  The
>problem I have is that nothing ever happens regarding the antrun plugin.  I
>do not see any trace of execution besides the war:war plugin.  Am I doing
>something wrong?  Am I targeting the right phase?  What are the lifecycle
>involved in the war:war plugin? How can I know this?
>
>Here is my <build /> block in my pom.xml:
>
>  <build>
>    <finalName>my-webapp</finalName>
>    <plugins>
>	  <plugin>
>		<artifactId>maven-antrun-plugin</artifactId>
>		<executions>
>		  <execution>
>			<phase>package</phase>
>			<configuration>
>			  <tasks>
>			    <ant antfile="build.xml" target="deploy" />
>			  </tasks>
>			</configuration>
>			<goals>
>			  <goal>run</goal>
>		    </goals>
>		  </execution>
>	    </executions>
>      </plugin>
>    </plugins>
>  </build>
>
>Thanx,
>
>JS.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message