diff --git a/start-site/src/test/java/io/spring/start/site/ProjectGenerationIntegrationTests.java b/start-site/src/test/java/io/spring/start/site/ProjectGenerationIntegrationTests.java index 4a73a1f439d..4957dbca709 100644 --- a/start-site/src/test/java/io/spring/start/site/ProjectGenerationIntegrationTests.java +++ b/start-site/src/test/java/io/spring/start/site/ProjectGenerationIntegrationTests.java @@ -164,13 +164,13 @@ private void releaseHome(BuildSystem buildSystem, Path home) { private ProcessBuilder createProcessBuilder(BuildSystem buildSystem, Path home) { if (buildSystem.id().equals(MavenBuildSystem.ID)) { - ProcessBuilder processBuilder = new ProcessBuilder((isWindows()) ? "mvnw.cmd" : "./mvnw", + ProcessBuilder processBuilder = new ProcessBuilder((isWindows()) ? "./mvnw.cmd" : "./mvnw", "-Dmaven.repo.local=" + home.resolve("repository").toFile(), "package"); processBuilder.environment().put("MAVEN_USER_HOME", home.toFile().getAbsolutePath()); return processBuilder; } if (buildSystem.id().equals(GradleBuildSystem.ID)) { - ProcessBuilder processBuilder = new ProcessBuilder((isWindows()) ? "gradlew.bat" : "./gradlew", + ProcessBuilder processBuilder = new ProcessBuilder((isWindows()) ? "./gradlew.bat" : "./gradlew", "--no-daemon", "build"); processBuilder.environment().put("GRADLE_USER_HOME", home.toFile().getAbsolutePath()); return processBuilder;