ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Weintraub" <>
Subject Calling Maven in Ant
Date Thu, 23 Oct 2008 23:16:08 GMT
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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message