Dear nathaniel,
<phase>generate-sources</phase> should change to <phase>install</phase>
, run "mvn install".
The phase should be same to mvn lifecycle phase.
thanks.
Tel: (020)36315358-328 Fax: (020)36315170
Nathaniel Auvil
<nathaniel.auvil@ To: [email protected]
gmail.com> cc:
Subject: calling an Ant task
from "mvn" command
01/12/2005 03:16
Please respond to
"Maven Users
List"
i have the following defined in my POM
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<echo message="yeah yeah yeah" />
<!--
Place any ant
task here. You can add anything
you can add
between <target> and </target> in a
build.xml.
-->
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
How can i invoke that ant script in and of itself? I have tried: "mvn
ant:run" but it says there is no goal "run" defined.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hactl..........Moving forward with you.
Best Air Cargo Terminal - Asia 2005
Air Cargo Terminal of the Year 2002, 2003 & 2004
Web: http://www.hactl.com
DISCLAIMER :-
The information contained in this message, including any attachment, is
confidential and may also be privileged. The information is intended only
for the person or entity to which it is addressed. Any review,
re-transmission, copying, storage, distribution or other use or disclosure
of this information by persons or entities other than the intended
recipient is prohibited. If you are not the intended recipient, please
contact the sender immediately by return email and delete this message from
your system. Thank you.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]