Skip to content

Commit 2b06934

Browse files
gnodetclaude
andauthored
Bump scala-maven-plugin upgrade target from 4.9.2 to 4.9.5 (#12173) (#12226)
Version 4.9.2 still calls add() on immutable lists returned by Maven 4 API. The fix (commit e6d922eb) landed in 4.9.5, the first version published to Maven Central after the fix. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3ff51df commit 2b06934

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ public class PluginUpgradeStrategy extends AbstractUpgradeStrategy {
9292
new PluginUpgrade(
9393
"net.alchim31.maven",
9494
"scala-maven-plugin",
95-
"4.9.2",
96-
"Versions before 4.9.2 call add() on immutable lists returned by Maven 4 API"),
95+
"4.9.5",
96+
"Versions before 4.9.5 call add() on immutable lists returned by Maven 4 API"),
9797
new PluginUpgrade(
9898
DEFAULT_MAVEN_PLUGIN_GROUP_ID,
9999
"maven-resources-plugin",
@@ -267,7 +267,7 @@ private Map<String, PluginUpgradeInfo> getPluginUpgradesMap() {
267267
new PluginUpgradeInfo(DEFAULT_MAVEN_PLUGIN_GROUP_ID, "maven-surefire-report-plugin", "3.5.2"));
268268
upgrades.put(
269269
"net.alchim31.maven:scala-maven-plugin",
270-
new PluginUpgradeInfo("net.alchim31.maven", "scala-maven-plugin", "4.9.2"));
270+
new PluginUpgradeInfo("net.alchim31.maven", "scala-maven-plugin", "4.9.5"));
271271
upgrades.put(
272272
DEFAULT_MAVEN_PLUGIN_GROUP_ID + ":maven-resources-plugin",
273273
new PluginUpgradeInfo(DEFAULT_MAVEN_PLUGIN_GROUP_ID, "maven-resources-plugin", "3.3.1"));

0 commit comments

Comments
 (0)