[ https://issues.apache.org/jira/browse/MWRAPPER-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Cservenak closed MWRAPPER-136. ------------------------------------ Resolution: Fixed > maven-wrapper.properties created with Windows line breaks which mvnw can't > handle > --------------------------------------------------------------------------------- > > Key: MWRAPPER-136 > URL: https://issues.apache.org/jira/browse/MWRAPPER-136 > Project: Maven Wrapper > Issue Type: Bug > Components: Maven Wrapper Scripts > Affects Versions: 3.2.0, 3.3.0, 3.3.1 > Environment: Windows, Git BASH > Reporter: Patrick Schmidt > Assignee: Tamas Cservenak > Priority: Major > Fix For: 3.3.2 > > > 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: > {noformat} > '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{noformat} > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)