Skip to content

Commit

Permalink
Merge pull request #39933 from gsmet/use-batch-mode
Browse files Browse the repository at this point in the history
Use Maven batch mode when executing codestart tests
  • Loading branch information
gastaldi authored Apr 8, 2024
2 parents 335bc24 + a7bced0 commit b2c935b
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 b2c935b

Please sign in to comment.