Hi,

In my company we used something like that
http://ionixx.wordpress.com/2008/03/10/running-specified-ant-tasks-within-maven2-outside-the-lifecycle/
 [?] I hope this will help you.

2009/8/28 <[email protected]>

> Hi,
>
> I am newbie to MAVEN. However I have knowledge about Ant.
>
> In ant we can call various targets from command line saying "ant
> myserver.deploy", "ant myserver.undeploy" etc.
>
> I want similar behaviour with Maven, that means I should be entering on
> command line something like this --
> "mvn myserver.deploy", "mvn myserver.undeploy" etc.
> Basically, I need to call corrosponding ANT tasks from maven using
> maven.antrun plugin, based on user input.
>
> Anyone has used similar feature?
>
> Thanks in advance,
>
> Renuka Kale
> **********************************************************************
> This e-mail transmission and any attachments that accompany it may
> contain information that is privileged, confidential or otherwise
> exempt from disclosure under applicable law and is intended solely for
> the use of the individual(s) to whom it was intended to be addressed.
> If you have received this e-mail by mistake, or you are not the
> intended recipient, any disclosure, dissemination, distribution,
> copying or other use or retention of this communication or its
> substance is prohibited.  If you have received this communication in
> error, please immediately reply to the author via e-mail that you
> received this message by mistake and also permanently delete the
> original and all copies of this e-mail and any attachments from your
> computer. Thank you.
> **********************************************************************
>



-- 
Regards,
Alexander

Reply via email to