You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Patrick Schmidt (Jira)" <ji...@apache.org> on 2024/05/02 12:54:00 UTC
[jira] [Created] (MWRAPPER-136) maven-wrapper.properties created with Windows line breaks which mvnw can't handle
Patrick Schmidt created MWRAPPER-136:
----------------------------------------
Summary: 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.3.1, 3.3.0, 3.2.0
Environment: Windows, Git BASH
Reporter: Patrick Schmidt
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)