Skip to content

Bump exec-maven-plugin target to 3.5.0 and fix PLUGIN_UPGRADES inconsistencies#12200

Merged
gnodet merged 1 commit into
apache:masterfrom
gnodet:fix/mvnup-exec-plugin-3.5.0
Jun 4, 2026
Merged

Bump exec-maven-plugin target to 3.5.0 and fix PLUGIN_UPGRADES inconsistencies#12200
gnodet merged 1 commit into
apache:masterfrom
gnodet:fix/mvnup-exec-plugin-3.5.0

Conversation

@gnodet

@gnodet gnodet commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump exec-maven-plugin upgrade target from 3.2.0 to 3.5.0 — versions ≤3.1.0 call MavenSession.getContainer() which returns null in Maven 4 (Plexus container removed)
  • Fix PLUGIN_UPGRADES list: exec-maven-plugin had wrong groupId (org.apache.maven.pluginsorg.codehaus.mojo) and artifactId (maven-exec-pluginexec-maven-plugin)
  • Fix compiler-plugin min version: 3.2.03.2 (3.2.0 does not exist on Maven Central)

Fixes xalan-java build failure (exec-maven-plugin:3.1.0 getContainer() NPE).

Test plan

  • All 27 PluginUpgradeStrategyTest tests pass

Claude Code on behalf of Guillaume Nodet

…istencies

- exec-maven-plugin: bump from 3.2.0 to 3.5.0 (3.1.0 and earlier use
  MavenSession.getContainer() which returns null in Maven 4)
- Fix PLUGIN_UPGRADES list: exec-maven-plugin had wrong groupId
  (org.apache.maven.plugins) and artifactId (maven-exec-plugin)
- Fix compiler-plugin min version in PLUGIN_UPGRADES: 3.2.0 → 3.2
  (3.2.0 does not exist on Maven Central)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet added this to the 4.0.0-rc-6 milestone Jun 1, 2026
gnodet added a commit that referenced this pull request Jun 1, 2026
…2200)

Cherry-pick from fix/mvnup-exec-plugin-3.5.0 branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gnodet added a commit that referenced this pull request Jun 1, 2026
…2200)

Cherry-pick from fix/mvnup-exec-plugin-3.5.0 branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet merged commit 3741c6f into apache:master Jun 4, 2026
22 checks passed
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

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

gnodet added a commit that referenced this pull request Jun 4, 2026
…istencies (#12200) (#12228)

- exec-maven-plugin: bump from 3.2.0 to 3.5.0 (3.1.0 and earlier use
  MavenSession.getContainer() which returns null in Maven 4)
- Fix PLUGIN_UPGRADES list: exec-maven-plugin had wrong groupId
  (org.apache.maven.plugins) and artifactId (maven-exec-plugin)
- Fix compiler-plugin min version in PLUGIN_UPGRADES: 3.2.0 → 3.2
  (3.2.0 does not exist on Maven Central)

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.

3 participants