[ 
https://issues.apache.org/jira/browse/MWRAPPER-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905934#comment-17905934
 ] 

ASF GitHub Bot commented on MWRAPPER-147:
-----------------------------------------

slachiewicz merged PR #152:
URL: https://github.com/apache/maven-wrapper/pull/152




> mvnw fails on Windows if user name contains whitespace
> ------------------------------------------------------
>
>                 Key: MWRAPPER-147
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-147
>             Project: Maven Wrapper
>          Issue Type: Bug
>          Components: Maven Wrapper Scripts
>    Affects Versions: 3.3.2
>            Reporter: Sebastian T
>            Priority: Major
>
> Calling mvnw I get:
>  
> {noformat}
> > mvnw
> 'C:\Users\John' is not recognized as an internal or external command,
> operable program or batch file.
> Cannot start maven from wrapper
> {noformat}
> The command fails at line:
> {noformat}
> @IF NOT "%__MVNW_CMD__%"=="" (%__MVNW_CMD__% %*)
> {noformat}
> For debugging I changed the mvnw.cmd file and printed out the value of 
> %__MVNW_CMD__% which is:
> {noformat}
> C:\Users\John 
> Doe/.m2/wrapper/dists/apache-maven-3.9.9/977a63e90f436cd6ade95b4c0e10c20c/bin/mvn.cmd
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to