[
https://issues.apache.org/jira/browse/MWRAPPER-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880001#comment-17880001
]
Sledge Hammer commented on MWRAPPER-149:
----------------------------------------
This is a duplicate issue, you can close.
> 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
> Priority: Major
>
> 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)