multi-project uses the reactor, but you don't have to manually invoke the reactor at 
all.


app
   war
   util
   ear

at each level set the property (not sure if this is the right property name) 
maven.multiproject.type to be 'war' or 'jar' or 'ear'

you can then call (by default from the app directory location)

maven multiproject:install

and it will automatically call war:install, jar:install, ear:install and will factor 
in all the dependencies (like reactor).

I believe there is another type for 'plugin' as well and maybe others.

If you have custom goals that are the same across all sub-projects:


maven -Dgoal=custom:goal multiproject:goal

but this isn't recommended because of all the typing.

See the docos on multiproject plugin for more info.

sandeep

-----Original Message-----
From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 29, 2004 11:23 AM
To: [EMAIL PROTECTED]
Subject: Multiproject and Reactor


Hi folks,

What the difference betwenn Multproject and Reactor ?

I use reactor, but I don't use the maven.multiproject.*  properties.

When Would  I use maven.multiproject.* properties ?

Thanks

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com


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

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

Reply via email to