[
https://issues.apache.org/jira/browse/MSHARED-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278095#comment-17278095
]
Sylwester Lachiewicz commented on MSHARED-832:
----------------------------------------------
First, it requires change in shared-utils
> Cannot invoke maven from path with parentheses on Windows
> ---------------------------------------------------------
>
> Key: MSHARED-832
> URL: https://issues.apache.org/jira/browse/MSHARED-832
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-invoker, maven-shared-utils
> Affects Versions: maven-invoker-2.2
> Environment: Windows 10
> Reporter: Anton Krylov
> Priority: Major
>
> When {{M2_HOME}} is set to a path with parentheses (in this case
> {{C:\work\lol(1)\maven)}}, the following command is generated on windows:
> {noformat}
> cmd.exe /X /C "C:\work\lol(1)\maven\bin\mvn.cmd -B -e -V compile"
> {noformat}
> This command fails, saying that C:\work\lol is not a known command
> When a space is added to the path, the path gets escaped, and the command
> runs successfully.
> It looks like more characters need to be escaped on some platforms
--
This message was sent by Atlassian Jira
(v8.3.4#803005)