How to compile Mavan project effectively and fast
===

I have a maven project with 13 sub modules. I have two questions how to optimize the build process:
1. I want to compile the Java code only for x86-64 server. How I con configure Maven to do this?
2. I have a server with 4 CPU cores. Is it possible to use multi-threading for compiling the code?

Best wishes