Sledge Hammer created MWRAPPER-149:
--------------------------------------

             Summary: Maven Wrapper doesn't work on Windows PCs w/ long 
filenames
                 Key: MWRAPPER-149
                 URL: https://issues.apache.org/jira/browse/MWRAPPER-149
             Project: Maven Wrapper
          Issue Type: Bug
          Components: Maven Wrapper Scripts
    Affects Versions: 3.3.2
         Environment: Windows 10 / Windows 11
            Reporter: Sledge Hammer


The mvnw.cmd generated doesn't work on Windows 11 if long file names containing 
a space are used.

This line (around line 43):

 
@IF NOT "%__MVNW_CMD__%"=="" (%__MVNW_CMD__% %*)
 
Is missing quotes, should be:
 
("%__MVNW_CMD__%" %*)



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

Reply via email to