Skip to content

[MWRAPPER-150] Fails to validate checksums on MacOS Sequoia #297

Description

@jira-importer

Gonzalo Bermúdez opened MWRAPPER-150 and commented

The command issued to check the sha256sum fails with sha256sum packaged with MacOS Sequoia.

This can be reproduced with an empty project using mvnw, and adding the distribution's shasum on the affected OS.

 

$ mkdir test && cd test
$ mvn wrapper:wrapper
$ echo distributionSha256Sum=83aaf914c785c9faed661f223000a92d1de9553f5c82d3b4362e66d9c031625f >> .mvn/wrapper/maven-wrapper.properties
$ ./mvnw compile

 


Affects: 3.3.2

Remote Links:

2 votes, 5 watchers

Activity

  1. jira-importer commented on Oct 16, 2024

    @jira-importer
    Author

    Benjamin Confino commented

    We hit this bug in our build system, the fix at https://github.com/apache/maven-wrapper/pull/155/files seems to have resolved everything for us.

  2. jira-importer commented on Oct 22, 2024

    @jira-importer
    Author

    Neil C Smith commented

    Just had to update a bunch of projects because of this. Although I hadn't found the solution here so ended up swapping the order of checks for shasum and sha256sum. IMO this should be a priority fix as otherwise it acts as another barrier to using checksums.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions