From a151937d4c9c0a9beceeb306161e66ea4b4a19f2 Mon Sep 17 00:00:00 2001 From: Alex Osborne Date: Wed, 15 May 2024 21:03:50 +0900 Subject: [PATCH] Remove workaround for non-https builds.archive.org repository It's now accessible over HTTPS, so we don't need this anymore. --- .github/workflows/m2-settings.xml | 14 -------------- .github/workflows/maven.yml | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 .github/workflows/m2-settings.xml diff --git a/.github/workflows/m2-settings.xml b/.github/workflows/m2-settings.xml deleted file mode 100644 index 7745a4022..000000000 --- a/.github/workflows/m2-settings.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - builds.archive.org,maven2,mirror - builds.archive.org,maven2 - builds.archive.org,maven2,mirror - http://builds.archive.org/maven2 - false - - - diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 15241fafc..5f1a09bab 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,7 +29,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: Build with Maven - run: mvn --settings .github/workflows/m2-settings.xml -B package --file pom.xml + run: mvn -B package --file pom.xml env: # Apparently Azure kills idle http connections after 4 minutes which can cause the build to fail # with a timeout error. Limit the connection ttl to 2 minutes to workaround this as per