If you want to bind it to the lifecycle, the last phase is deploy. [1]
If you want to do it after deploy, you should invoke maven like "mvn
deploy plugin:goal".

[1] 
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Tue, Nov 25, 2008 at 6:07 PM, Durbha, Praveen (GE Healthcare)
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have ANT tasks configured in my POM file..I would like to have these
> ANT tasks execute only if my Maven build is successful..
>
> What build life cycle phase can I use to achieve this?
>
> Thanks very much!
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to