Wow! Half a day sounds like a huge code base! Anyways, yes you can do this in Maven 3 but maven takes the call on how the modules get build. You can enforce a build order among modules using dependencies (if A depends on B, maven will build B before A) but I'm not aware of any other ways to enforce the order.
Another notable point is to check if your plugins are compatible with parallel builds - either check their documentation or simply build with "-T N" option and watch for warnings (N is the number of threads to build in parallel). Regards, Srinath. On Tue, Apr 17, 2012 at 5:04 PM, Ramith Jayasinghe <ramithro...@yahoo.com>wrote: > > Greetings Everyone, > I'm trying to build my project in parallel using Maven 3, so I can > reduce the time taken (Currently it takes around better half of a day to > completely build it). > May be this sounds stupid, but the way I want to do is to build > some of the modules in project serially while others in parallel. > > So ideally, when I do a 'mvn clean install', I want maven to > parallel build parts of the project that are marked/configured for > that and others sequentially. > > Is this possibe with current > capabilities of maven 3? > > Thanks in advance, > - Ramith > Jayasinghe > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >