slachiewicz opened a new pull request, #1710:
URL: https://github.com/apache/maven-mvnd/pull/1710

   `mvnd-1.x` has no Mimir setup at all today — no `.github/ci-extensions.xml`, 
no daemon properties, no cache steps — so there is nothing to bump here. This 
ports what `master` has (see #1709) rather than upgrading a version.
   
   Added:
   
   - `.github/ci-extensions.xml` — 
`eu.maveniverse.maven.mimir:extension3:0.12.0`
   - `.github/ci-mimir-daemon.properties` — JGroups off, no LAN cache sharing
   - `Prepare Mimir` + `Handle Mimir caches` steps in both the default and the 
native job
   
   ## Two deliberate differences from master
   
   **1. The extensions file goes to `.mvn/extensions.xml`, not 
`~/.m2/extensions.xml`.**
   
   `mvnd-1.x` builds with the Maven 3.9.14 wrapper. Upstream is explicit that 
the user-wide location is Maven 4 only:
   
   > With Maven 3 create project-wide, or with Maven 4-rc-5+ create user-wide 
`~/.m2/extensions.xml`
   
   Copying to `~/.m2/` as master does would silently do nothing here — the 
extension would never load and the cache would never be populated. The existing 
`.mvn/extensions.xml` is an empty `<extensions/>` element, so overwriting it 
during the build loses nothing, and no plugin in this branch checks for a clean 
working tree (no `doCheck` on buildnumber-maven-plugin).
   
   **2. The artifact is `extension3`.**
   
   `eu.maveniverse.maven.mimir:extension` was discontinued after 0.7.9; since 
0.8.0 `extension3` is the single artifact covering both Maven 3 and Maven 4. 
Requirements are Maven 3.9+ and Java 17+ — satisfied by 3.9.14 and the Java 22 
CI toolchain.
   
   ## Cache keys
   
   Uses the `mimir2-` prefix, same as master after #1709. Caches created on the 
default branch are visible to other branches, so a shared prefix is only safe 
because both branches would be on the same 0.12.0 cache format — Mimir 0.11.0 
changed that format and requires older caches to be dropped.
   
   ## Note
   
   This is new CI infrastructure for this branch, so the first run on each OS 
populates the cache from scratch and shows no speedup; the benefit appears on 
subsequent runs.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to