Skip to content

Commit

Permalink
chore: Use native transport configuration for Maven in CI (#5190)
Browse files Browse the repository at this point in the history
Co-authored-by: I-Al-Istannen <[email protected]>
  • Loading branch information
MartinWitt and I-Al-Istannen authored Apr 26, 2023
1 parent 90f1f2b commit 3fa5efc
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3fa5efc

Please sign in to comment.