Skip to content

[maven-4.0.x] Fix incompatible extensions in mvnup for Maven 4#12122

Merged
gnodet merged 1 commit into
maven-4.0.xfrom
backport-12120-to-4.0.x
May 20, 2026
Merged

[maven-4.0.x] Fix incompatible extensions in mvnup for Maven 4#12122
gnodet merged 1 commit into
maven-4.0.xfrom
backport-12120-to-4.0.x

Conversation

@gnodet

@gnodet gnodet commented May 20, 2026

Copy link
Copy Markdown
Contributor

Backport of #12120 to maven-4.0.x.

Fixes incompatible extensions handling in mvnup for Maven 4 compatibility.

Claude Code on behalf of Guillaume Nodet

Add extension handling to mvnup that automatically fixes known
Maven 4-incompatible extensions in .mvn/extensions.xml:

- Replace os-maven-plugin (kr.motd.maven) with Maveniverse Nisse
  (eu.maveniverse.maven.nisse:extension:0.4.4) which works with
  both Maven 3 and 4. Also adds -Dnisse.compat.osDetector to
  .mvn/maven.config for drop-in compatibility.

- Remove Develocity/Gradle Enterprise extensions (com.gradle)
  which depend on org.slf4j.impl.SimpleLogger not available in
  Maven 4.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet
gnodet merged commit 34d3b05 into maven-4.0.x May 20, 2026
23 checks passed
@gnodet
gnodet deleted the backport-12120-to-4.0.x branch May 20, 2026 14:31
@github-actions github-actions Bot added this to the 4.0.0-rc-6 milestone May 20, 2026
@github-actions

Copy link
Copy Markdown

@gnodet Please assign appropriate label to PR according to the type of change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant