Skip to content

Commit 6f9d70e

Browse files
committed
Better Maven options for workflow
1 parent 450258d commit 6f9d70e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,14 @@ jobs:
2626

2727
- name: "Maven Build"
2828
shell: "bash"
29-
run: "./mvnw -B --fail-fast clean verify"
29+
env:
30+
MAVEN_OPTS: >
31+
-DtrimStackTrace=false
32+
-Djansi.force=true
33+
-Dhttp.keepAlive=false
34+
-Dmaven.wagon.http.retryHandler.class=standard
35+
-Dmaven.wagon.http.retryHandler.count=3
36+
-Dmaven.wagon.http.pool=false
37+
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
38+
MAVEN_ARGS: "--show-version --batch-mode --fail-fast --no-transfer-progress"
39+
run: "./mvnw clean verify"

0 commit comments

Comments
 (0)