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/20 11:25:19 UTC

Using maven-antrun-plugin

Hi

I am using maven2.0.6 and i need to execute ant build script from maven
so i use maven-antrun-plugin and the configuration is like.

  <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <version>1.1</version>
            <executions>
     <execution>
                <id>docbook</id>
                <phase>install</phase>
                <goals>
                  <goal>run</goal>
                </goals>
                <configuration>
                  <tasks>
                    
                          <ant antfile="build.xml"
                                             dir="${basedir}"/>
                    
                  </tasks>
               </configuration>
    </execution>

	<plugin>

but i need to specify parameters also. like :  ant -l deploy.log
-Dtarget.env=local vcm-deploy

can aneone please tell me where i can specify these parameters.

Regards
Vishal.