Skip to content

Fix mvnup recommending non-existent maven-enforcer-plugin:3.5.2#12155

Merged
gnodet merged 1 commit into
apache:masterfrom
gnodet:fine-havarti
May 26, 2026
Merged

Fix mvnup recommending non-existent maven-enforcer-plugin:3.5.2#12155
gnodet merged 1 commit into
apache:masterfrom
gnodet:fine-havarti

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented May 26, 2026

Summary

  • Fixed PluginUpgradeStrategy recommending maven-enforcer-plugin:3.5.2, a version that was never released to Maven Central (versions go 3.5.0 → 3.6.0)
  • The 3.5.2 version was confused with maven-surefire-plugin, which does have a 3.5.2 release
  • Changed the recommended minimum to 3.5.0, which exists and includes the necessary Maven 4 compatibility changes (plexus-utils 4.0.0 bump)

Test plan

  • All 27 PluginUpgradeStrategyTest tests pass
  • Verify mvnup apply no longer recommends non-existent enforcer plugin version

🤖 Generated with Claude Code

The enforcer plugin has no 3.5.2 release (versions go 3.5.0 -> 3.6.0).
The version was confused with maven-surefire-plugin which does have 3.5.2.
Changed the recommended minimum to 3.5.0, which is a real release.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet merged commit 431bb39 into apache:master May 26, 2026
19 of 20 checks passed
@github-actions
Copy link
Copy Markdown

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

@github-actions github-actions Bot added this to the 4.1.0 milestone May 26, 2026
gnodet added a commit that referenced this pull request May 26, 2026
…) (#12156)

The enforcer plugin has no 3.5.2 release (versions go 3.5.0 -> 3.6.0).
The version was confused with maven-surefire-plugin which does have 3.5.2.
Changed the recommended minimum to 3.5.0, which is a real release.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
gnodet added a commit to gnodet/maven that referenced this pull request May 28, 2026
…he#12155) (apache#12156)

The enforcer plugin has no 3.5.2 release (versions go 3.5.0 -> 3.6.0).
The version was confused with maven-surefire-plugin which does have 3.5.2.
Changed the recommended minimum to 3.5.0, which is a real release.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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