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 <[EMAIL PROTECTED]>:
>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to