You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pe...@ubs.com on 2006/08/03 18:48:00 UTC

M2 J2EE Project Just Execute this folder and not the sub modules

Hi

I found a grave error whilst following the "Better Builds with Maven"
book.

I found that if you don't install the POM from the root project into
your local repository then the other dependent sub project can fail,
if there is a dependency on another sub project.

Is there a way to say to M2 "do not perform this action" on submodules?
(in other words don't recurse)




--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: M2 J2EE Project Just Execute this folder and not the sub modules

Posted by Jorgen Fastrup <fa...@gmail.com>.
Have you tried the maven CLI switch  "-N,--non-recursive" ??
i.e. execute
c:\.....\rootproject\mvn -N install
in your top level project.

Regards
Jorgen

-- 
View this message in context: http://www.nabble.com/M2-J2EE-Project-Just-Execute-this-folder-and-not-the-sub-modules-tf2046719.html#a5649330
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org