Maven具有执行并行构建的能力:
https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3
https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3
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
是否可以在pom.xml或settings.xml中指定此参数?重复这个选项可能很烦人.