The Maven tasks for Ant are limited to dependency management, artifact deployment and POM processing. They currently do not handle invoking Maven builds from Ant. I suspect the easiest solution for you is to just invoke Maven directly using an <exec> task.
Regards, Joe On Wed, March 25, 2009 2:58 pm, eyalg1972 wrote: > > Thanks, I saw the ant-task issue, but I still did not understood how to > use > them to invoke from ant a maven build... > > Eyal > > > mchenryc wrote: >> >> The maven team has created a set of Ant tasks to do some of the things >> maven >> does. I have not used it myself: >> http://maven.apache.org/ant-tasks/index.html >> >> However, once upon a time I did use a set of macros that would invoke >> maven. >> It was part of the JavaGen Ant Modules, which are no longer maintained >> (and >> point you to the Maven Ant Tasks) >> http://javagen.com/jam/index.html >> >> ...Chad >> >> On Wed, Mar 25, 2009 at 1:26 AM, eyalg1972 <eyal_go...@bmc.com> wrote: >> >>> >>> Hi, >>> >>> I have an ant build process, that needs to rely on some component built >>> by >>> maven. >>> >>> How can I run the maven build from ant? >>> >>> Just using the exec? >>> >>> Did anyone did it? >>> >>> Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org