title: Maven: configure parallel build in pom.xml
body: <p>Maven has a capability to perform parallel builds:
  <a href="https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3" rel="noreferrer">https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3</a></p>
  
  <pre><code>mvn -T 4 clean install # Builds with 4 threads
  mvn -T 1C clean install # 1 thread per cpu core
  mvn -T 1.5C clean install # 1.5 thread per cpu core
  </code></pre>
  
  <p>Is it possible to specify this arguments in pom.xml or settings.xml? Repeating this options could be annoying.</p>