Skip to content

Commit

Permalink
[MWRAPPER-146] mvnw.cmd fails to launch maven if username contains space
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Sep 4, 2024
1 parent 7c16331 commit e026379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maven-wrapper-distribution/src/resources/only-mvnw.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
@SET __MVNW_ARG0_NAME__=
@SET MVNW_USERNAME=
@SET MVNW_PASSWORD=
@IF NOT "%__MVNW_CMD__%"=="" (%__MVNW_CMD__% %*)
@IF NOT "%__MVNW_CMD__%"=="" ("%__MVNW_CMD__%" %*)
@echo Cannot start maven from wrapper >&2 && exit /b 1
@GOTO :EOF
: end batch / begin powershell #>
Expand Down

0 comments on commit e026379

Please sign in to comment.