You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ingo Düppe <ma...@dueppe.com> on 2006/05/04 10:01:43 UTC

Starting M2 from ant script

Hi,

is there a simple way to start maven from inside an ant-script.
I like to wrap my maven goals with ant-scripts due to better ant 
starting support of eclipse.

Regards,

Ingo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Starting M2 from ant script

Posted by Piéroni Raphaël <ra...@gmail.com>.
yep use the exec element

<target name="clean" description="Clean">
  <exec executable="mvn">
    <arg line="clean"/>
  </exec>
</target>


Raphaël

2006/5/4, Ingo Düppe <ma...@dueppe.com>:
>
> Hi,
>
> is there a simple way to start maven from inside an ant-script.
> I like to wrap my maven goals with ant-scripts due to better ant
> starting support of eclipse.
>
> Regards,
>
> Ingo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>