You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/03 22:32:03 UTC

(maven-mvnd) 01/01: Upgrade CI Mimir extension to 0.12.0

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch fix/mimir-0.12.0
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git

commit fcad31d84c8e4ce1cec3165ea6fa03185ea9fd3e
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Tue Aug 4 00:31:53 2026 +0200

    Upgrade CI Mimir extension to 0.12.0
    
    Mimir 0.7.0 nags on every build:
    
      [INFO] Please upgrade to Mimir version 0.9.4 (you are using version 0.7.0)
    
    The eu.maveniverse.maven.mimir:extension artifact was discontinued after
    0.7.9; from 0.8.0 on, extension3 is the single artifact for both Maven 3
    and Maven 4, so the coordinates change along with the version. 0.12.0 is
    the current release and is tested against 4.0.0-rc-5, which is what the
    wrapper uses here. Placement of extensions.xml in ~/.m2 is unchanged, and
    mimir.jgroups.enabled in ci-mimir-daemon.properties is still a valid
    property, so the daemon config needs no change.
    
    Mimir 0.11.0 changed the local cache format and requires existing caches
    to be dropped, so the GitHub cache keys move from mimir-* to mimir2-*.
    Keeping the old prefix would let restore-keys pull a 0.7.0-format cache
    into a 0.12.0 daemon.
    
    Co-Authored-By: Claude Opus 5 (1M context) <no...@anthropic.com>
---
 .github/ci-extensions.xml           |  4 ++--
 .github/workflows/early-access.yaml | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/ci-extensions.xml b/.github/ci-extensions.xml
index 7b1df1f3..1a8b036e 100644
--- a/.github/ci-extensions.xml
+++ b/.github/ci-extensions.xml
@@ -18,7 +18,7 @@ under the License.
 <extensions>
   <extension>
     <groupId>eu.maveniverse.maven.mimir</groupId>
-    <artifactId>extension</artifactId>
-    <version>0.7.0</version>
+    <artifactId>extension3</artifactId>
+    <version>0.12.0</version>
   </extension>
 </extensions>
diff --git a/.github/workflows/early-access.yaml b/.github/workflows/early-access.yaml
index d6734446..577da8fa 100644
--- a/.github/workflows/early-access.yaml
+++ b/.github/workflows/early-access.yaml
@@ -57,10 +57,10 @@ jobs:
         uses: actions/cache@v6
         with:
           path: ~/.mimir/local
-          key: mimir-${{ runner.os }}-default-${{ hashFiles('**/pom.xml') }}
+          key: mimir2-${{ runner.os }}-default-${{ hashFiles('**/pom.xml') }}
           restore-keys: |
-            mimir-${{ runner.os }}-default-
-            mimir-${{ runner.os }}-
+            mimir2-${{ runner.os }}-default-
+            mimir2-${{ runner.os }}-
 
       - name: 'Run default (non-native) build'
         run: ./mvnw verify -Dmrm=false -V -B -ntp -e -s .mvn/release-settings.xml
@@ -127,10 +127,10 @@ jobs:
         uses: actions/cache@v6
         with:
           path: ~/.mimir/local
-          key: mimir-${{ runner.os }}-native-${{ hashFiles('**/pom.xml') }}
+          key: mimir2-${{ runner.os }}-native-${{ hashFiles('**/pom.xml') }}
           restore-keys: |
-            mimir-${{ runner.os }}-native-
-            mimir-${{ runner.os }}-
+            mimir2-${{ runner.os }}-native-
+            mimir2-${{ runner.os }}-
 
       - name: 'Maven clean'
         run: ./mvnw clean -Dmrm=false -V -B -ntp -e