Upgrade to Maven Invoker 3.3.0

Closes gh-45904
This commit is contained in:
Andy Wilkinson 2025-06-12 09:19:59 +01:00
parent 8c7275fdb1
commit 4996c70f48
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ bom {
]
}
}
library("Maven Invoker", "3.2.0") {
library("Maven Invoker", "3.3.0") {
group("org.apache.maven.shared") {
modules = [
"maven-invoker"

View File

@ -167,7 +167,7 @@ class MavenBuild {
request.setBaseDirectory(this.temp);
request.setJavaHome(new File(System.getProperty("java.home")));
request.setProperties(this.properties);
request.setGoals(this.goals.isEmpty() ? Collections.singletonList("package") : this.goals);
request.addArgs(this.goals.isEmpty() ? Collections.singletonList("package") : this.goals);
request.setUserSettingsFile(new File(this.temp, "settings.xml"));
request.setUpdateSnapshots(true);
request.setBatchMode(true);