This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 4f5d5d27f66 CAMEL-21662: camel-jbang - camel run with Spring boot /
Quarkus fails on Windows
4f5d5d27f66 is described below
commit 4f5d5d27f66e701d09910c472781e35356a359d3
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Feb 19 08:59:51 2025 +0100
CAMEL-21662: camel-jbang - camel run with Spring boot / Quarkus fails on
Windows
---
.../camel-jbang-core/src/main/resources/maven-wrapper/mvnw.cmd | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/dsl/camel-jbang/camel-jbang-core/src/main/resources/maven-wrapper/mvnw.cmd
b/dsl/camel-jbang/camel-jbang-core/src/main/resources/maven-wrapper/mvnw.cmd
index 4136715f081..2b6c7a5e3a1 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/resources/maven-wrapper/mvnw.cmd
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/resources/maven-wrapper/mvnw.cmd
@@ -87,7 +87,10 @@ goto error
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
+@REM https://issues.apache.org/jira/browse/MWRAPPER-82
+pushd %~dp0
set EXEC_DIR=%CD%
+popd
set WDIR=%EXEC_DIR%
:findBaseDir
IF EXIST "%WDIR%"\.mvn goto baseDirFound