You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adam Leggett <Ad...@upco.co.uk> on 2006/02/27 17:00:51 UTC

Multi-module override default goal

Hi all,

I have a multi-module maven 2 project which I have installing into my
repo with no issues from both command line and continuum.

However, I wish to override the default goal for one of the modules. I
included 

<defaultGoal>jboss:harddeploy</defaultGoal>

In the child module pom.

If I execute mvn against this pom only it works fine.
If I run from the pom parent it always defaults to install:install for
the child module and not jboss:deploy, which is what I need.

Thanks in advance.

Adam

Adam Leggett <ad...@upco.co.uk>
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org