Skip to content

[mvnup] Add maven-war-plugin and maven-ear-plugin to plugin upgrade list (forward port) - #12850

Merged
gnodet merged 1 commit into
masterfrom
forward-port/12685-mvnup-war-ear-plugin
Aug 27, 2026
Merged

[mvnup] Add maven-war-plugin and maven-ear-plugin to plugin upgrade list (forward port)#12850
gnodet merged 1 commit into
masterfrom
forward-port/12685-mvnup-war-ear-plugin

Conversation

@gnodet

@gnodet gnodet commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Forward port of #12685 from maven-4.0.x to master.

  • Add maven-war-plugin (min 3.4.0) to the PLUGIN_UPGRADES list in PluginUpgradeStrategy
  • Add maven-ear-plugin (min 3.4.0) to the PLUGIN_UPGRADES list in PluginUpgradeStrategy

Both plugins use reflection on java.util.Properties internals (via XStream/plexus-archiver) in older versions, which is blocked by the JDK 17+ module system.

🤖 Generated with Claude Code

…ist (#12685)

Both plugins use reflection on java.util.Properties internals (via
XStream/plexus-archiver) in older versions, which is blocked by the
JDK 17+ module system. Since Maven 4 requires JDK 17+, mvnup should
upgrade these plugins to compatible versions:

- maven-war-plugin: min 3.4.0 (fixed in 3.3.2+)
- maven-ear-plugin: min 3.4.0 (fixed in 3.3.0+)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet added enhancement New feature or request mvn4 labels Aug 26, 2026
@gnodet gnodet added this to the 4.1.0 milestone Aug 26, 2026
@gnodet
gnodet merged commit 28381ec into master Aug 27, 2026
24 checks passed
@gnodet
gnodet deleted the forward-port/12685-mvnup-war-ear-plugin branch August 27, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request mvn4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant