Skip to content

[maven-4.0.x] Upgrade more plugins in mvnup PluginUpgradeStrategy#12121

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

[maven-4.0.x] Upgrade more plugins in mvnup PluginUpgradeStrategy#12121
gnodet merged 1 commit into
maven-4.0.xfrom
backport-12119-to-4.0.x

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented May 20, 2026

Backport of #12119 to maven-4.0.x.

Upgrades enforcer plugin minimum version and adds new plugin upgrades in PluginUpgradeStrategy.

Claude Code on behalf of Guillaume Nodet

Upgrade maven-enforcer-plugin minimum from 3.0.0 to 3.5.2 because
versions before 3.5.2 use the removed PluginParameterExpressionEvaluator
6-arg constructor, causing NoSuchMethodError with Maven 4.

Add new plugin upgrades for Maven 4 compatibility:
- net.alchim31.maven:scala-maven-plugin minimum 4.9.2 (older versions
  call add() on immutable lists returned by Maven 4 API)
- maven-resources-plugin minimum 3.3.1 (beta/RC versions compiled
  against different Maven 4 API signatures)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet merged commit 004d243 into maven-4.0.x May 20, 2026
23 checks passed
@gnodet gnodet deleted the backport-12119-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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant