opensubscriber
   Find in this group all groups
 
Unknown more information…

u : user@ant.apache.org 26 March 2009 • 12:15AM -0400

Re: How do I run maven build from ant
by Joe Schmetzer

REPLY TO AUTHOR
 
REPLY TO GROUP




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_goren@bmc....> 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-unsubscribe@ant....
For additional commands, e-mail: user-help@ant....


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.