You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vishal Pahwa <vp...@sapient.com> on 2007/11/17 18:27:23 UTC
Executing ant from maven2
Hi
I have 1 ant build.xml file and i need to execute this file from maven2.
How can i do this.
Regards
Vishal.
Re: Executing ant from maven2
Posted by Graham Leggett <mi...@sharp.fm>.
Vishal Pahwa wrote:
> I have 1 ant build.xml file and i need to execute this file from maven2.
Use the antrun plugin.
Regards,
Graham
--
Re: Executing ant from maven2
Posted by nicolas de loof <ni...@gmail.com>.
I myself run the dockook build file using :
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>docbook</id>
<phase>site</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo>Generating the reference documentation...</echo>
<ant antfile="${basedir}/docs/build.xml"
dir="${basedir}/docs"/>
<echo>reference documentation generated.</echo>
</tasks>
</configuration>
</execution>
2007/11/17, Paul MERLIN <pa...@nosphere.org>:
>
> On Saturday 17 November 2007 18:27:23 Vishal Pahwa wrote:
> > Hi
> >
> > I have 1 ant build.xml file and i need to execute this file from maven2.
> > How can i do this.
> >
> > Regards
> >
> > Vishal.
> Look at the maven-antrun-plugin.
>
> Paul
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Executing ant from maven2
Posted by Paul MERLIN <pa...@nosphere.org>.
On Saturday 17 November 2007 18:27:23 Vishal Pahwa wrote:
> Hi
>
> I have 1 ant build.xml file and i need to execute this file from maven2.
> How can i do this.
>
> Regards
>
> Vishal.
Look at the maven-antrun-plugin.
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org