Skip to content

Conversation

@mhalbritter
Copy link
Contributor

JIRA issue: https://issues.apache.org/jira/projects/MWRAPPER/issues/MWRAPPER-111

This PR trims the values read from the property files by removing whitespace such as newlines.

This has already be done in the case of maven-wrapper-distribution/src/resources/only-mvnw, but it's missing from maven-wrapper-distribution/src/resources/mvnw.

With this change, validating the wrapper checksum no longer fails if the property file has CLRF line endings.

@slachiewicz slachiewicz merged commit 6e24460 into apache:master Dec 14, 2024
@slachiewicz slachiewicz added the enhancement New feature or request label Dec 14, 2024
@mhalbritter mhalbritter deleted the mh/111-sha256-crlf-line-endings branch December 16, 2024 07:50
@mhalbritter
Copy link
Contributor Author

Thanks @slachiewicz !

@jira-importer
Copy link

Resolve #307

1 similar comment
@jira-importer
Copy link

Resolve #307

@slawekjaranowski slawekjaranowski added this to the 3.3.3 milestone Jul 25, 2025
@slawekjaranowski slawekjaranowski added bug Something isn't working and removed enhancement New feature or request labels Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants