From 92ae88b4b3d23331818f32c5e434cea1dba96020 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 24 Jun 2023 12:19:03 +0200 Subject: [PATCH] [ci] Use new aether properties to configure http ttl for maven Since 3.9.0, maven uses native mode instead of wagon: https://maven.apache.org/docs/3.9.0/release-notes.html https://maven.apache.org/guides/mini/guide-resolver-transport.html https://maven.apache.org/resolver/configuration.html --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d8b44fe71..795bfe5649 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: shell: bash run: | echo "LANG=en_US.UTF-8" >> $GITHUB_ENV - echo "MAVEN_OPTS=-Dmaven.wagon.httpconnectionManager.ttlSeconds=180 -Dmaven.wagon.http.retryHandler.count=3 -DautoReleaseAfterClose=true -DstagingProgressTimeoutMinutes=30" >> $GITHUB_ENV + echo "MAVEN_OPTS=-Daether.connector.http.connectionMaxTtl=180 -DautoReleaseAfterClose=true -DstagingProgressTimeoutMinutes=30" >> $GITHUB_ENV echo "PMD_CI_SCRIPTS_URL=https://raw.githubusercontent.com/pmd/build-tools/master/scripts" >> $GITHUB_ENV - name: Check Environment shell: bash