diff --git a/integration-test/build.gradle b/integration-test/build.gradle index e8aefabb..71aaf386 100644 --- a/integration-test/build.gradle +++ b/integration-test/build.gradle @@ -140,7 +140,7 @@ tasks.register("cleanIntegrationTestMavenPlugin") { doLast { def result = exec { workingDir INTEGRATION_TEST_DIRECTORY_MAVEN - commandLine System.getProperty("os.name") ==~ /Windows.*/ ? "cmd /c mvnw.cmd" : "./mvnw", + commandLine System.getProperty("os.name") ==~ /Windows.*/ ? "mvnw.cmd" : "./mvnw", "clean", "-Dhsc.version=${project.version}", "-ssettings.xml" } @@ -163,7 +163,7 @@ tasks.register("integrationTestMavenPlugin") { doLast { def result = exec { workingDir INTEGRATION_TEST_DIRECTORY_MAVEN - commandLine System.getProperty("os.name") ==~ /Windows.*/ ? "cmd /c mvnw.cmd" : "./mvnw", + commandLine System.getProperty("os.name") ==~ /Windows.*/ ? "mvnw.cmd" : "./mvnw", "verify", "-Dhsc.version=${project.version}", "-ssettings.xml" } logger.debug "Script output: $result"