2014-03-05

Speed up your Maven development

A regular Maven execution looks something like:
mvn test package
Executing
mvn test package -T 8 --offline 
instead, should significantly reduce the execution time.

-T 8 
In this case 8 is the number of threads of your CPU. Intel i7 CPUs have 8 threads.

--offline
This flag tells Maven to work in offline mode. So you can spare the time consuming HTTP requests.