Lets imagine a 10 modules application. I don't believe each module will always depend from the predecessor (10 depends 9, 9 depends 8, 8 depends....)
Is commons see 10 depends 1, 2 and 3. 9 depends 1, 2. 8 depends 7, and so go on. Probably some modules need to be compiled in sequence. Others can be on parallel. So maven look to the machine, 4 cores, let me see, 4 cores, compile module 1... compile module 2... now compile module 3, 4 and 5..... I think maven dependencies mechanism is able to define who can be compiled in parallel and who need to be compiled in series. And can exist a parameter to force series work. Well, just a idea. VELO On Wed, Apr 9, 2008 at 11:08 AM, Nino Saturnino Martinez Vazquez Wael < [EMAIL PROTECTED]> wrote: > Hmm, but isnt it a problem if modules depend on each other? if module a > depends on module b... > > And I think that if implemented it should be scalable to xxx cpus.. I > guess module a would have to wait for module b or something.. > > > VELO wrote: > > > Well, may be the best way to do that is add support to maven run modules > > on > > parallel.... not sure how to, but if maven run two modules at same time, > > on > > a dual core machine, means a big gain, i believe. > > > > > > VELO > > > > On Wed, Apr 9, 2008 at 8:21 AM, Benedikt Thelen <[EMAIL PROTECTED]> > > wrote: > > > > > > > > > Hi there, i am sort of a maven newbee, > > > At our workplce we have a quite big Coccon project in developenet and > > > we > > > use > > > maven to build it. Building takes usually 5-6 minutes which is quite a > > > while. I noticed using gkrellm and htop that maven only uses one of > > > the > > > two > > > processors (Levono Thinkpad with intel core Duo) in my notebook. > > > Question: Is there a way to tell maven to use both CPU's while > > > building? I > > > searched gooogle a lot but i didn't find anything. > > > > > > Greetings Benedikt Thelen > > > > > > > > > > > > > > > > > -- > -Wicket for love > > Nino Martinez Wael > Java Specialist @ Jayway DK > http://www.jayway.dk > +45 2936 7684 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >