After setting up your pom you'd just call [mvn clean deploy] and it will do everything in the build lifecycle to that point.
see http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
Kind regards,
Dave Sag
"Adam Leggett" <[EMAIL PROTECTED]> wrote on 01-03-2006 17:03:44:
> Hi all,
>
> May be a simple answer to this, but how in my pom do I define multiple
> goals to be executed.
>
> I can achieve the desired result by typing at cmd prompt mvn
> [plugin1:goal1] [plugin2:goal2] ... [pluginn:goaln]
>
> But I would like to be able to simply type mvn and have these goals
> execute.
>
> Specifically I wish to run clean, install then jboss:deploy. Can this
> been done via the pom?
>
> In ANT I would define a 'master' target to aggregate the others. What is
> the maven approach to this?
>
> TIA
>
> Adam
>
> Adam Leggett <[EMAIL PROTECTED]>
> Senior Consultant
> UPCO
> Direct Line: 0113 20 10 631
> Fax: 0113 20 10 666
> <http://www.upco.co.uk>
>
>
>
>
> ===========================================================================
> The contents of this email are intended for the named addresses and may
> contain confidential and/or privileged material. If received in error,
> please contact UPCO head office on +44(0)113 201 0600 and then delete
> the entire mail from your system. Unauthorised review, distribution,
> disclosure or other use of information could constitute a breach of
> confidence. Your co-operation in this matter is greatly appreciated.
>
> Every effort has been taken to ensure that this email and any
> attachments are virus-free. However, UPCO does not make any warranty
> to this effect, and is not liable for any damage done by an infected
> email message or attachment. UPCO recommends that all emails and
> attachments are checked before opening.
>
> All views or opinions expressed in this electronic message and its
> attachements are those of the sender and do not necessarily reflect
> the views and opinions of The Ultimate People Company Ltd.
> ===========================================================================
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
