Skip to content

Commit cf0ac07

Browse files
committed
Parallelize maven builds by default
Adding these parameters defaults all maven builds from this directory to using a parallelized mode if running on a multi-core machine. It can significantly improve build performance when compiling multiple modules.
1 parent b258543 commit cf0ac07

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test-other-modules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
./mvnw install ${MAVEN_FAST_INSTALL} -pl '!:presto-docs,!:presto-server,!presto-test-coverage'
6363
- name: Maven Tests
6464
run: |
65-
./mvnw test ${MAVEN_TEST} -pl '
65+
./mvnw test -T 1 ${MAVEN_TEST} -pl '
6666
!presto-tests,
6767
!presto-accumulo,
6868
!presto-cassandra,

.mvn/maven.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-T
2+
1C

0 commit comments

Comments
 (0)