Speed up your Maven development
A regular Maven execution looks something like:
-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.
mvn test packageExecuting
mvn test package -T 8 --offlineinstead, 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
Post a Comment