This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new cb7188d71e Use Mimir mirror feature (#11622)
cb7188d71e is described below
commit cb7188d71e5edbcf70837b0797d6ae5632de9662
Author: Tamas Cservenak <[email protected]>
AuthorDate: Wed Jan 7 14:24:23 2026 +0100
Use Mimir mirror feature (#11622)
Use latest Mimir 0.11.2 + mirror feature. CI is now redirected to Google US
Mirror.
We identified 3 problems affected by unstable Central (fails the CI runs if
any of these get 4xx/5xx):
* wrapper - fixed by using alt URL
* Mimir extension loading from Central (not solved by this PR)
* two UTs `RequestTraceTest` and `TestApiStandalone` going directly to
Central (not solved by this PR)
---
.github/ci-mimir-session.properties | 4 +++-
.github/workflows/maven.yml | 5 +++--
pom.xml | 2 +-
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/.github/ci-mimir-session.properties
b/.github/ci-mimir-session.properties
index 5f7f9e54d2..26acd0f770 100644
--- a/.github/ci-mimir-session.properties
+++ b/.github/ci-mimir-session.properties
@@ -18,4 +18,6 @@
# Mimir Session config properties
# do not waste time on this; we maintain the version
-mimir.daemon.autoupdate=false
\ No newline at end of file
+mimir.daemon.autoupdate=false
+# CI uses US Mirror
+mimir.session.mirrors=central(https://maven-central.storage-download.googleapis.com/maven2/)
\ No newline at end of file
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index b3ff026f1c..a0017ea046 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -32,10 +32,11 @@ concurrency:
permissions: {}
env:
- MIMIR_VERSION: 0.10.6
+ MIMIR_VERSION: 0.11.2
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
jobs:
initial-build:
@@ -71,7 +72,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-4"
+ run: mvn --errors --batch-mode --show-version
org.apache.maven.plugins:maven-wrapper-plugin:3.3.4:wrapper "-Dmaven=4.0.0-rc-5"
- name: Prepare Mimir for Maven 4.x
shell: bash
diff --git a/pom.xml b/pom.xml
index d8afe517da..20f6576724 100644
--- a/pom.xml
+++ b/pom.xml
@@ -684,7 +684,7 @@ under the License.
<dependency>
<groupId>eu.maveniverse.maven.mimir</groupId>
<artifactId>testing</artifactId>
- <version>0.10.6</version>
+ <version>0.11.2</version>
</dependency>
</dependencies>
<!--bootstrap-start-comment-->