Monday, December 26, 2011

Maven 3 Parallel builds

We upgraded to Maven few months back and recently tried parallel builds feature (I've posted about Maven 3 features in this earlier post - in hopes of improving our build times. But, unfortunately our build times did not improve at all.

We are using the latest maven 3 version (3.0.3) and also the latest maven plugins available to date. Still, we get the many plugins are not threadsafe and so they don't take advantage of the parallel builds. For example, we get this during our build which shows these plugins are not threadsafe.

[WARNING] ********************************************************
[WARNING] * Your build is requesting parallel execution, but project
[WARNING] * contains the following plugin(s) that are not marked as
[WARNING] * @threadSafe to support parallel building.             
[WARNING] * While this /may/ work fine, please look for plugin updates
[WARNING] * and/or request plugins be made thread-safe.           
[WARNING] * If reporting an issue, report it against the plugin in
[WARNING] * question, not against maven-core                      
[WARNING] ********************************************************
[WARNING] The following plugins are not marked @threadSafe in 
[WARNING] MyProjectName project:
[WARNING] org.apache.maven.plugins:maven-pmd-plugin:2.6
[WARNING] org.codehaus.mojo:cobertura-maven-plugin:2.5.1
[WARNING] org.codehaus.groovy.maven:gmaven-plugin:1.0
[WARNING] org.codehaus.mojo:buildnumber-maven-plugin:1.0
[WARNING] org.codehaus.mojo:exec-maven-plugin:1.2.1
[WARNING] ********************************************************

It is unfortunate that these plugins don't support running in parallel even though Maven3 is out for a while now. Just posting my experience and hope it changes soon...


Miss abigail said...

Do you an other if there is other alternative way aside from it.
pmp exam prep courses

Krishna Kumar M said...

Hi sir.. I need ur assistance on MS Project working..Kindly get in touch with me..

Unknown said...

An agile process tends to focus on iterations, and client feedback, to allow for the inevitabilty of changing requirements whereas a waterfall process tries to define all requirements up front, and tends to be inflexible to changing requirements. You can learn more about agile and scrum by referring to some free resouces ( provided by scrumstudy or by attending any agile scrum certification courses. I would personally suggest Agile Expert Certified course or Scrum Master Certification to you.

Alexia Marthoon said...

Hi , I am pondering over attending any PMP prep course / PMP classes to get PMP credentials. What are your thoughts? Would that be worth the money spent professionally?

Unknown said...

I 'd like to thank you for upgrading to Maven few months back and recently trying parallel builds feature. How does it work? You need to understand that professional paper writers can't provide writing services for absolutely free.

Jackie Co Kad said...

Great Article. Thank you for sharing! Really an awesome post for every one.
Project Centers in Chennai

JavaScript Training in Chennai

Final Year Project Domains for IT

JavaScript Training in Chennai

Asoi said...

Very nice blog post. You may also like Situs Judi Online

Demi said...

Vidalista 20mg tadalafil
Sildigra 100mg
Cenforce 25 / 50 / 100 mg
Fildena Professional
Extra Super P-Force
Vidalista 5 mg

yanmaneee said...

kevin durant
lebron shoes
jordan sneakers
yeezy boost 350
kyrie 6
golden goose sale
retro jordans

letheate said...

you can check here have a peek at this site go right here find more my site