ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Calling Maven in Ant
Date Fri, 24 Oct 2008 05:10:01 GMT
The Maven tasks in Maven should make Ant to do some Maven stuff, so the way inverse.

If the <exec> way works you could define a Makro for invoking with that signature.
You could also use <java> in that makro instead of <exec>.


>-----Urspr√ľngliche Nachricht-----
>Von: David Weintraub [] 
>Gesendet: Freitag, 24. Oktober 2008 01:16
>An: Ant Users List
>Betreff: Calling Maven in Ant
>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:

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

View raw message