This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch maven-4.0.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-4.0.x by this push:
new d11449dd0b [4.0.x] Use Mimir mirror feature (#11622) (#11631)
d11449dd0b is described below
commit d11449dd0b7e6c75cd03866a888c610111adc4f3
Author: Tamas Cservenak <[email protected]>
AuthorDate: Wed Jan 7 16:41:51 2026 +0100
[4.0.x] Use Mimir mirror feature (#11622) (#11631)
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 5efec65abb..fac441cba0 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 10f95db702..7a726f7c50 100644
--- a/pom.xml
+++ b/pom.xml
@@ -693,7 +693,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-->