Upgrade more plugins in mvnup PluginUpgradeStrategy#12119
Merged
Conversation
Upgrade maven-enforcer-plugin minimum from 3.0.0 to 3.5.2 because versions before 3.5.2 use the removed PluginParameterExpressionEvaluator 6-arg constructor, causing NoSuchMethodError with Maven 4. Add new plugin upgrades for Maven 4 compatibility: - net.alchim31.maven:scala-maven-plugin minimum 4.9.2 (older versions call add() on immutable lists returned by Maven 4 API) - maven-resources-plugin minimum 3.3.1 (beta/RC versions compiled against different Maven 4 API signatures) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bukama
approved these changes
May 20, 2026
cstamas
approved these changes
May 20, 2026
|
@gnodet Please assign appropriate label to PR according to the type of change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PluginParameterExpressionEvaluator6-arg constructor, causingNoSuchMethodErroron Maven 4net.alchim31.maven:scala-maven-pluginwith minimum 4.9.2 — older versions call.add()on immutable lists returned by Maven 4 APIorg.apache.maven.plugins:maven-resources-pluginwith minimum 3.3.1 — beta/RC versions compiled against different Maven 4 API signaturesThese changes fix ~10 repos in the Maven 4 compatibility test suite (gnodet/maven4-testing).
Test plan
Claude Code on behalf of Guillaume Nodet
🤖 Generated with Claude Code