Skip to content

Commit

Permalink
Use Maven batch mode when executing codestart tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Apr 7, 2024
1 parent a78f611 commit a7bced0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
}

Expand Down

0 comments on commit a7bced0

Please sign in to comment.