Speed up your Maven development

A regular Maven execution looks something like:
mvn test package
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.

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

No comments:

Post a Comment