From a7bced0561d4e1a18b1b0313eeaa782638007477 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Sun, 7 Apr 2024 22:02:31 +0200 Subject: [PATCH] Use Maven batch mode when executing codestart tests --- .../main/java/io/quarkus/devtools/testing/WrapperRunner.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/independent-projects/tools/devtools-testing/src/main/java/io/quarkus/devtools/testing/WrapperRunner.java b/independent-projects/tools/devtools-testing/src/main/java/io/quarkus/devtools/testing/WrapperRunner.java index 04f0791eddf93..3eb9d97174f10 100644 --- a/independent-projects/tools/devtools-testing/src/main/java/io/quarkus/devtools/testing/WrapperRunner.java +++ b/independent-projects/tools/devtools-testing/src/main/java/io/quarkus/devtools/testing/WrapperRunner.java @@ -23,7 +23,7 @@ public final class WrapperRunner { public enum Wrapper { GRADLE("gradlew", "gradlew.bat", new String[] { "--no-daemon", "build", "--info", "--stacktrace" }), - MAVEN("mvnw", "mvnw.cmd", new String[] { "package" }); + MAVEN("mvnw", "mvnw.cmd", new String[] { "-B", "package" }); private final String execUnix; private final String execWindows; @@ -51,7 +51,7 @@ public static Wrapper fromBuildtool(String buildtool) { case "gradle-kotlin-dsl": return GRADLE; default: - throw new IllegalStateException("No wrapper linked to buildtool: " + buildtool); + throw new IllegalStateException("No wrapper linked to build tool: " + buildtool); } }