Skip to content

Commit 7d10613

Browse files
gnodetclaude
andauthored
Bump scala-maven-plugin upgrade target from 4.9.2 to 4.9.5 (#12173)
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 c89ecbd commit 7d10613

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
@@ -91,8 +91,8 @@ public class PluginUpgradeStrategy extends AbstractUpgradeStrategy {
9191
new PluginUpgrade(
9292
"net.alchim31.maven",
9393
"scala-maven-plugin",
94-
"4.9.2",
95-
"Versions before 4.9.2 call add() on immutable lists returned by Maven 4 API"),
94+
"4.9.5",
95+
"Versions before 4.9.5 call add() on immutable lists returned by Maven 4 API"),
9696
new PluginUpgrade(
9797
DEFAULT_MAVEN_PLUGIN_GROUP_ID,
9898
"maven-resources-plugin",
@@ -260,7 +260,7 @@ private Map<String, PluginUpgradeInfo> getPluginUpgradesMap() {
260260
new PluginUpgradeInfo(DEFAULT_MAVEN_PLUGIN_GROUP_ID, "maven-surefire-report-plugin", "3.5.2"));
261261
upgrades.put(
262262
"net.alchim31.maven:scala-maven-plugin",
263-
new PluginUpgradeInfo("net.alchim31.maven", "scala-maven-plugin", "4.9.2"));
263+
new PluginUpgradeInfo("net.alchim31.maven", "scala-maven-plugin", "4.9.5"));
264264
upgrades.put(
265265
DEFAULT_MAVEN_PLUGIN_GROUP_ID + ":maven-resources-plugin",
266266
new PluginUpgradeInfo(DEFAULT_MAVEN_PLUGIN_GROUP_ID, "maven-resources-plugin", "3.3.1"));

0 commit comments

Comments
 (0)