This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch 3.27.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 6533f0656f512961716bc82515fae4de7466c7b7 Author: Aurélien Pupier <[email protected]> AuthorDate: Thu Jan 8 16:03:01 2026 +0100 Use mvnw.cmd on Windows to launch Performance test fixes #8117 Signed-off-by: Aurélien Pupier <[email protected]> --- .../apache/camel/quarkus/performance/regression/MvnwCmdHelper.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/MvnwCmdHelper.java b/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/MvnwCmdHelper.java index e0aa74ae25..fb480275d1 100644 --- a/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/MvnwCmdHelper.java +++ b/tooling/perf-regression/src/main/java/org/apache/camel/quarkus/performance/regression/MvnwCmdHelper.java @@ -30,6 +30,7 @@ import org.apache.commons.exec.environment.EnvironmentUtils; import org.apache.commons.io.IOUtils; import org.apache.commons.io.output.ByteArrayOutputStream; import org.apache.commons.io.output.TeeOutputStream; +import org.apache.commons.lang3.SystemUtils; import org.jboss.logging.Logger; public class MvnwCmdHelper { @@ -43,7 +44,8 @@ public class MvnwCmdHelper { TeeOutputStream teeOutputStream = null; try { - File mvnwFile = cqVersionUnderTestFolder.resolve("mvnw").toFile(); + String mvnWrapperExecutableName = SystemUtils.IS_OS_WINDOWS ? "mvnw.cmd" : "mvnw"; + File mvnwFile = cqVersionUnderTestFolder.resolve(mvnWrapperExecutableName).toFile(); CommandLine cmd = CommandLine.parse(mvnwFile.getAbsolutePath() + " " + args); stdoutAndStderrMemoryStream = new ByteArrayOutputStream();
