diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d37b9326f0d..087369b07a9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,6 +17,10 @@ on: env: JAVA_DISTRIBUTION: temurin + MAVEN_OPTS: >- + -Dmaven.resolver.transport=native + -Daether.connector.connectTimeout=300000 + -Daether.connector.requestTimeout=300000 jobs: build: @@ -35,8 +39,6 @@ jobs: - env: - MAVEN_OPTS: -Djava.src.version=${{ matrix.java }} -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false name: Tests with Java ${{ matrix.java }} on ${{ matrix.os }} steps: @@ -75,8 +77,6 @@ jobs: run: cat testResults.spoon coverage: runs-on: ubuntu-latest - env: - MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false name: Test with coverage steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 @@ -109,8 +109,6 @@ jobs: extra: runs-on: ubuntu-latest - env: - MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false name: Extra checks steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 @@ -143,8 +141,6 @@ jobs: run: ./chore/check-javadoc-regressions.py COMPARE_WITH_MASTER reproducible-builds: runs-on: ubuntu-latest - env: - MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false name: reproducible-builds steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 @@ -158,8 +154,6 @@ jobs: run: chore/check-reproducible-builds.sh maven-central-requirements: runs-on: ubuntu-latest - env: - MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false steps: - uses: actions/checkout@v3 - name: Set up JDK 11