-
Bug
-
Resolution: Fixed
-
Minor
-
Windows 10 20H2
Oracle JDK 1.8.0_271
-
git-BuildTools-7fe9375-122
-
Yes
Steps to reproduce:
1. Install maven in a folder which contains special characters (whitespaces, parentheses, brackets, etc.).
2. Run BuildTools in git bash ( java -jar BuildTools.jar )
3. Then an error will be thrown (https://paste.ubuntu.com/p/KSVy7cXHbR/)
It can also be reproduced with only using mvn in git bash, but using mvn.cmd will not appear any exceptions.
A possible way to fix it is to use mvn.cmd instead of using mvn when running on Windows, notice that "sh mvn.cmd" command won't work.