Reputation: 2201
My understanding about parallel builds in Maven, after going through following link, is as follows:
https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3
When Maven performs parallel builds for independent sub modules, each module is built in its own JVM. For example: If there are 2 modules M1 and M2 which can be built in parallel then each module will be built in its own JVM.
Is above understanding correct?
Upvotes: 0
Views: 239
Reputation: 12345
No, it is 1 JVM with multiple threads. This also explains the -T
argument:
-T,--threads <arg> Thread count, for instance 2.0C
where C is core multiplied
Upvotes: 2