hi Marco
Thanks for your replay now i am able to run the ant task in
maven 2.0.4
Regards
Neeraj
On 10/5/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
Hello,
try this
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<echo message="--------Properties Configured
----------"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
this will run before anybuilds (generate-sources phase). if you see the
echo message, then your ant is running just fine
it should be enough for you to run mvn generate:sources or mnv compile or
mvn test... you should be able tos ee echo string
hth
marco