Explorar o código

Improve MAVEN build Performance (#3851)

Co-authored-by: Chen Zhang <340355960@qq.com>
ChenZhangg %!s(int64=3) %!d(string=hai) anos
pai
achega
eef3bd92ba
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 1 1
      .travis.yml
  2. 3 0
      pom.xml

+ 1 - 1
.travis.yml

@@ -14,7 +14,7 @@ cache:
 install: true
 
 script:
-  - travis_wait 30 ./mvnw clean install -DskipTests=false -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true
+  - travis_wait 30 ./mvnw -T 1C clean install -DskipTests=false -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true
 
 after_success:
   - bash <(curl -s https://codecov.io/bash)

+ 3 - 0
pom.xml

@@ -419,6 +419,9 @@
                     <systemProperties>
                         <!-- common shared -->
                     </systemProperties>
+                	<parallel>classes</parallel>
+                	<useUnlimitedThreads>true</useUnlimitedThreads>
+
                 </configuration>
             </plugin>
             <!-- javadoc -->