forked from phoedos/pmd
[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:
parent
ae506ac04e
commit
92ae88b4b3
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user