Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2.0, 3.3.0, 3.3.1
-
None
-
Windows, Git BASH
Description
Since around version 3.2.0 the maven-wrapper.properties is created with Windows line breaks for me. Unfortunately mvnw can't handle that. The error I receive is:
'istributionUrl is not valid, must match *-bin.zip or maven-mvnd-*.zip, but found 'https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
When I manually change it to Unix line breaks it works again. Version 3.1.0 of the plug-in still creates it with Unix line breaks. Later versions seem to use the platform default instead. I.e. whenever I rerun wrapper:wrapper its broken again.
Attachments
Issue Links
- is fixed by
-
MWRAPPER-139 Shell scripts break on LF in config for Windows
- Closed