This post has NOT been accepted by the mailing list yet.
I would like to perform some ant task after the war file being generated.
with following script, if i change the phase to different value like "Install" , it will not prompt error, but i want the ant script run once the war file being generated
<!-- Execute an ant task within maven -->
<echo message="Hello World from pom.xml" />
<!-- Execute an ant task in an external build.xml file. It assumes
the file is called build.xml and is located in the same directory as the
pom.xml file. The target in the external file is called default. -->
<ant target="default" />
When i try to save it with value "compile", it prompt me error "Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-antrun-plugin:1.7:run (execution: default, phase: compile)" in eclipse Juno.
appreciated if anyone can shed some light for this and thanks for your tim