Commit d861f59
Fix #12685: Add tests for maven-war-plugin and maven-ear-plugin upgrades, extract Quarkus tests
* Fix #12685: Add maven-war-plugin and maven-ear-plugin to plugin upgrade list
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 (>= 3.4.0).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: trim test file to stay within 2000-line Checkstyle limit
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* refactor: extract Quarkus plugin tests to separate file
Move the Quarkus-specific tests from PluginUpgradeStrategyTest to a new
PluginUpgradeQuarkusTest class to stay well within the 2000-line
Checkstyle limit and leave room for future plugin additions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 98c0565 commit d861f59
3 files changed
Lines changed: 577 additions & 506 deletions
File tree
- impl/maven-cli/src
- main/java/org/apache/maven/cling/invoker/mvnup/goals
- test/java/org/apache/maven/cling/invoker/mvnup/goals
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
157 | | - | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
0 commit comments