Skip to content

Commit 3b1f058

Browse files
committed
Upgrade to Maven Invoker 3.3.0
Closes gh-45932
1 parent 0698b45 commit 3b1f058

File tree

2 files changed

+2
-2
lines changed
  • spring-boot-project
    • spring-boot-parent
    • spring-boot-tools/spring-boot-maven-plugin/src/intTest/java/org/springframework/boot/maven

2 files changed

+2
-2
lines changed

spring-boot-project/spring-boot-parent/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ bom {
117117
]
118118
}
119119
}
120-
library("Maven Invoker", "3.2.0") {
120+
library("Maven Invoker", "3.3.0") {
121121
group("org.apache.maven.shared") {
122122
modules = [
123123
"maven-invoker"

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/intTest/java/org/springframework/boot/maven/MavenBuild.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IO
167167
request.setBaseDirectory(this.temp);
168168
request.setJavaHome(new File(System.getProperty("java.home")));
169169
request.setProperties(this.properties);
170-
request.setGoals(this.goals.isEmpty() ? Collections.singletonList("package") : this.goals);
170+
request.addArgs(this.goals.isEmpty() ? Collections.singletonList("package") : this.goals);
171171
request.setUserSettingsFile(new File(this.temp, "settings.xml"));
172172
request.setUpdateSnapshots(true);
173173
request.setBatchMode(true);

0 commit comments

Comments
 (0)