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.

Comments

Popular posts from this blog

Tuning ext4 for performance with emphasis on SSD usage

Rust’s impact on the industry

Ubuntu Linux on Windows