What is mvn default thread usage? for example if I have 12 core system and if I run mvn "clean install" how maven allocate my CPU threads into entire build process?
Please advice.
What is mvn default thread usage? for example if I have 12 core system and if I run mvn "clean install" how maven allocate my CPU threads into entire build process?
Please advice.
By default Maven uses a single thread due to backwards compatibility.
In Maven's official documentation it is stated that it is an experimental feature (as of Maven 3.0) that needs to be turned on selectively, because they cannot predict how existing plugins and specifically combinations of plugins behave with multiple threads; this might result in builds becoming non-reproducible.