Okay, without using the <exec> task, how do I call a Maven task from Ant?

I have a pom.xml, so all I want to do is say something like:

<maven dir="${prog.dir}" pom="pom.xml" step="package"/>

I looked over the Maven Ant tasks that are in Maven, and they look
overly complex for what I want. They look like they define the whole
dependency relationship that's already in the pom.xml. I already have
a pom.xml, and simply want to execute Maven from Ant.

So, what is the best way of calling Maven from Ant?

--
David Weintraub
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to