Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/ci-mimir-session.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@

# do not waste time on this; we maintain the version
mimir.daemon.autoupdate=false
# CI uses US Mirror
mimir.session.mirrors=central(https://maven-central.storage-download.googleapis.com/maven2/)
# CI used the Google Cloud mirror of Central, but that mirror lags a fresh
# release: apache-maven-4.0.0-rc-6 was still a 404 there days after Central
# served it. Resolving from Central directly is the difference between a
# build that works on release day and one that waits for a mirror we do not
# control.
# mimir.session.mirrors=central(https://maven-central.storage-download.googleapis.com/maven2/)
9 changes: 7 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ env:
MIMIR_BASEDIR: ~/.mimir
MIMIR_LOCAL: ~/.mimir/local
MAVEN_OPTS: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./target/java_heapdump.hprof
MVNW_REPOURL: https://maven-central.storage-download.googleapis.com/maven2
# The Google Cloud mirror of Central lags a fresh release: 4.0.0-rc-6 was
# still a 404 there days after Central served it, so the wrapper could not
# fetch the distribution this workflow had just asked for. Unset, the
# wrapper downloads from Central. Uncomment to put the mirror back once its
# sync latency stops breaking release-day builds.
# MVNW_REPOURL: https://maven-central.storage-download.googleapis.com/maven2

jobs:
initial-build:
Expand Down Expand Up @@ -72,7 +77,7 @@ jobs:

- name: Set up Maven
shell: bash
run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.4:wrapper "-Dmaven=4.0.0-rc-5"
run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.4:wrapper "-Dmaven=4.0.0-rc-6"

- name: Prepare Mimir for Maven 4.x
shell: bash
Expand Down
Loading