From 7c7cf365f22b9172fc843b32e76e28379e0a7fbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Kov=C3=A1cs?= Date: Tue, 7 Aug 2018 09:52:09 +0200 Subject: [PATCH] fix wrapper path for cygwin --- maven-wrapper/mvnw | 3 +++ 1 file changed, 3 insertions(+) diff --git a/maven-wrapper/mvnw b/maven-wrapper/mvnw index 9b59d0622a..fbaf85ffc5 100755 --- a/maven-wrapper/mvnw +++ b/maven-wrapper/mvnw @@ -220,6 +220,9 @@ else echo "Downloading from: $jarUrl" fi wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi if command -v wget > /dev/null; then if [ "$MVNW_VERBOSE" = true ]; then