Skip to content

Commit c7c272d

Browse files
committed
[4.0.x] Use Mimir mirror feature (apache#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)
1 parent 371ed6c commit c7c272d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/ci-mimir-session.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@
1818
# Mimir Session config properties
1919

2020
# do not waste time on this; we maintain the version
21-
mimir.daemon.autoupdate=false
21+
mimir.daemon.autoupdate=false
22+
# CI uses US Mirror
23+
mimir.session.mirrors=central(https://maven-central.storage-download.googleapis.com/maven2/)

.github/workflows/maven.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ concurrency:
3232
permissions: {}
3333

3434
env:
35-
MIMIR_VERSION: 0.10.6
35+
MIMIR_VERSION: 0.11.2
3636
MIMIR_BASEDIR: ~/.mimir
3737
MIMIR_LOCAL: ~/.mimir/local
3838
MAVEN_OPTS: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./target/java_heapdump.hprof
39+
MVNW_REPOURL: https://maven-central.storage-download.googleapis.com/maven2
3940

4041
jobs:
4142
initial-build:
@@ -71,7 +72,7 @@ jobs:
7172
7273
- name: Set up Maven
7374
shell: bash
74-
run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.4:wrapper "-Dmaven=4.0.0-rc-4"
75+
run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.4:wrapper "-Dmaven=4.0.0-rc-5"
7576

7677
- name: Prepare Mimir for Maven 4.x
7778
shell: bash

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ under the License.
693693
<dependency>
694694
<groupId>eu.maveniverse.maven.mimir</groupId>
695695
<artifactId>testing</artifactId>
696-
<version>0.10.6</version>
696+
<version>0.11.2</version>
697697
</dependency>
698698
</dependencies>
699699
<!--bootstrap-start-comment-->

0 commit comments

Comments
 (0)