Skip to content

Commit bfbc24b

Browse files
committed
GH-XXXX [Java] Improve build performance
1 parent b8f4dda commit bfbc24b

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.mvn/maven.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-T1C

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@
407407
<artifactId>maven-failsafe-plugin</artifactId>
408408
<configuration>
409409
<argLine>${extraJavaTestArgs}</argLine>
410+
<forkCount>1C</forkCount>
411+
<reuseForks>true</reuseForks>
410412
</configuration>
411413
<executions>
412414
<execution>
@@ -423,6 +425,8 @@
423425
<artifactId>maven-surefire-plugin</artifactId>
424426
<configuration>
425427
<argLine>${surefire.argLine} ${extraJavaTestArgs}</argLine>
428+
<forkCount>1C</forkCount>
429+
<reuseForks>true</reuseForks>
426430
<systemPropertyVariables>
427431
<!-- Configure Parquet logging during tests
428432
See http://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html

0 commit comments

Comments
 (0)