[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
This commit is contained in:
Andreas Dangel 2023-06-24 12:19:03 +02:00
parent ae506ac04e
commit 92ae88b4b3
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -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