From 991ee3825ff3e603bdd64312a984aa7a23feff5d Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Mon, 18 Jan 2021 20:11:04 +0100 Subject: [PATCH 1/2] Only use Google Mirror as mirror We used to have other repositories but it is counter productive nowadays. Also switch to the Americas mirror. We used to use the EU one as our Azure Pipelines were run in EU but there's a good chance GitHub Actions are run in America. --- .github/mvn-settings.xml | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/mvn-settings.xml b/.github/mvn-settings.xml index fa47c74c87a94..a8814bf94baa4 100644 --- a/.github/mvn-settings.xml +++ b/.github/mvn-settings.xml @@ -10,39 +10,24 @@ - google-mirror-jboss-proxy + google-mirror google-maven-central GCS Maven Central mirror EU - https://maven-central-eu.storage-download.googleapis.com/repos/central/data/ - - - jboss-maven-central-proxy - JBoss Maven Central proxy - https://repository.jboss.org/nexus/content/repositories/central/ - - - gradle-official-repository - Gradle Official Repository - https://repo.gradle.org/gradle/libs-releases-local/ + https://maven-central.storage-download.googleapis.com/maven2/ google-maven-central GCS Maven Central mirror EU - https://maven-central-eu.storage-download.googleapis.com/repos/central/data/ - - - jboss-maven-central-proxy - JBoss Maven Central proxy - https://repository.jboss.org/nexus/content/repositories/central/ + https://maven-central.storage-download.googleapis.com/maven2/ - google-mirror-jboss-proxy + google-mirror From 65bb4c9995bfef933ae446be00b85d0f90769e15 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Mon, 18 Jan 2021 20:13:05 +0100 Subject: [PATCH 2/2] Use Google Mirror for Initial JDK 11 Build --- .github/workflows/ci-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index 63be891e586ec..58e737c432842 100644 --- a/.github/workflows/ci-actions.yml +++ b/.github/workflows/ci-actions.yml @@ -91,7 +91,7 @@ jobs: key: q2maven-${{ steps.get-date.outputs.date }} - name: Build run: | - mvn -e -B -DskipTests -DskipITs -Dno-format clean install + mvn -e -B -DskipTests -DskipITs -Dno-format --settings .github/mvn-settings.xml clean install - name: Tar Maven Repo shell: bash run: tar -czf maven-repo.tgz -C ~ .m2/repository