Skip to content

Fix mvnup PLUGIN_UPGRADES for compiler and exec plugins#12172

Open
gnodet wants to merge 1 commit into
apache:masterfrom
gnodet:thorn-club
Open

Fix mvnup PLUGIN_UPGRADES for compiler and exec plugins#12172
gnodet wants to merge 1 commit into
apache:masterfrom
gnodet:thorn-club

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented May 28, 2026

Summary

  • Fixed maven-compiler-plugin version from 3.2.0 to 3.2 in PLUGIN_UPGRADES — version 3.2.0 does not exist on Maven Central (confirmed via HTTP 404), causing build resolution failures in projects like servicemix4-bundles and synapse
  • Fixed exec-maven-plugin entry: corrected groupId from org.apache.maven.plugins to org.codehaus.mojo and artifactId from maven-exec-plugin to exec-maven-plugin, making PLUGIN_UPGRADES consistent with getPluginUpgradesMap()

Test plan

  • Verified maven-compiler-plugin:3.2 exists on Maven Central (HTTP 200)
  • Verified maven-compiler-plugin:3.2.0 does NOT exist on Maven Central (HTTP 404)
  • Verified exec-maven-plugin:3.2.0 exists on Maven Central (HTTP 200)
  • Updated tests to match corrected artifact IDs
  • All 27 PluginUpgradeStrategyTest tests pass

🤖 Generated with Claude Code

maven-compiler-plugin was listed as 3.2.0 but Maven Central only has 3.2,
causing resolution failures. exec-maven-plugin had wrong groupId
(org.apache.maven.plugins) and artifactId (maven-exec-plugin), inconsistent
with getPluginUpgradesMap() which correctly uses org.codehaus.mojo:exec-maven-plugin.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet added this to the 4.0.0-rc-6 milestone May 28, 2026
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