Alternatively you can use maven-antrun-plugin and just have that execute your ant script. http://maven.apache.org/plugins/maven-antrun-plugin/
On 10 May 2012 13:29, Antonio Petrelli <antonio.petre...@gmail.com> wrote: > 2012/5/10 chavanmukeshp <mukesh.cha...@igate.com> > >> Hello Friends, >> >> Can you please suggest me how to convert below ant target into maven, >> >> <target name="InitialiseContext"> >> >> <java classname="com.exceptions.ExceptionHandler" >> >> <arg value=”initializeContext”</> >> >> <arg value=${bldReqPath}/> >> >> </java> >> >> </target> >> > > No straight conversion, but I suppose you need the Exec Maven plugin: > http://mojo.codehaus.org/exec-maven-plugin/ > > Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org