You do not need the target tags. Just use:
tasks
echo message=testing/
/tasks
Doug Tanner
-Original Message-
From: Baz [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 8:49 PM
To: Maven Users List
Subject: SPAM:How to run ant tasks in maven 2?
All,
I read the
Look at the maven book, there are lots of examples, for example:
http://www.sonatype.com/book/lifecycle.html
Regards,
Nico
On 4/30/07, Baz [EMAIL PROTECTED] wrote:
All,
I read the page in
http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but i still
cannot make a simple ant task
Are you running the deploy goal or something else that executes that
phase? Also I'm not sure if you're supposed to define a target.
On Apr 30, 2007, at 8:48 PM, Baz wrote:
All,
I read the page in
http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but
i still
cannot make a
All,
I think I got it. I shouldnt put target line in the pom.xml. It works
without it.
Thank you.
A.
On 4/30/07, Jared Blitzstein [EMAIL PROTECTED] wrote:
Are you running the deploy goal or something else that executes that
phase? Also I'm not sure if you're supposed to define a target.