Skip to content

Commit f5b8a88

Browse files
gnodetclaude
andcommitted
Bump scala-maven-plugin upgrade target from 4.9.2 to 4.9.5
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 f27689a commit f5b8a88

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",
@@ -266,7 +266,7 @@ private Map<String, PluginUpgradeInfo> getPluginUpgradesMap() {
266266
new PluginUpgradeInfo(DEFAULT_MAVEN_PLUGIN_GROUP_ID, "maven-surefire-report-plugin", "3.5.2"));
267267
upgrades.put(
268268
"net.alchim31.maven:scala-maven-plugin",
269-
new PluginUpgradeInfo("net.alchim31.maven", "scala-maven-plugin", "4.9.2"));
269+
new PluginUpgradeInfo("net.alchim31.maven", "scala-maven-plugin", "4.9.5"));
270270
upgrades.put(
271271
DEFAULT_MAVEN_PLUGIN_GROUP_ID + ":maven-resources-plugin",
272272
new PluginUpgradeInfo(DEFAULT_MAVEN_PLUGIN_GROUP_ID, "maven-resources-plugin", "3.3.1"));

0 commit comments

Comments
 (0)