directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fe...@otego.com>
Subject Speed up your maven build
Date Tue, 01 Mar 2011 10:42:53 GMT
Hi devs

Fasten your seat belts and move to 2nd gear!

Did you know "Parallel builds in Maven 3" [1]? It speeds up the bulid of 
apacheds for more than 1 minute :-)

e.g. shared:

mvn clean install ->
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 57.539s
[INFO] Finished at: Tue Mar 01 11:17:06 CET 2011
[INFO] Final Memory: 150M/1912M
[INFO] 
------------------------------------------------------------------------


mvn -T 2C clean install ->
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 41.488s (Wall Clock)
[INFO] Finished at: Tue Mar 01 11:18:36 CET 2011
[INFO] Final Memory: 132M/1851M
[INFO] 
------------------------------------------------------------------------


or apacheds

mvn clean install ->
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 6:36.044s
[INFO] Finished at: Tue Mar 01 11:33:33 CET 2011
[INFO] Final Memory: 266M/987M
[INFO] 
------------------------------------------------------------------------

mvn -T 2C clean install ->
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 5:23.678s (Wall Clock)
[INFO] Finished at: Tue Mar 01 11:39:49 CET 2011
[INFO] Final Memory: 294M/1913M
[INFO] 
------------------------------------------------------------------------


Regards
Felix

[1] 
https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3

Mime
View raw message