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 <[email protected]> wrote:
> 2012/5/10 chavanmukeshp <[email protected]>
>
>> Hello Friends,
>>
>> Can you please suggest me how to convert below ant target into maven,
>>
>> <target name="InitialiseContext">
>>
>>              <java classname=&quot;com.exceptions.ExceptionHandler&quot;
>>
>>              &lt;arg value=”initializeContext”&lt;/>
>>
>> <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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to