Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[MWRAPPER-97] sha256 checksum is not well supported for distributionType=only-script

Open
#285 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
build-system

Research direction

Inspect the entry scripts and maven-wrapper.properties, then compare checksum verification for Maven .zip, Maven .tar.gz, and mvnd URLs across OS and ARCH combinations. Done means the configuration supports every possible distribution checksum and provides a secure way to generate them from the distribution URL or Apache site.

Written by the indexing model from the issue text.

Description

enhancement

James Z.M. Gao opened MWRAPPER-97 and commented

The entry scripts for distributionType=only-script may change the base name of the distribution url, then the fixed sha256 checksum in maven-wrapper.properties becomes invalid. These cases are:

 

  • maven, type .zip: verify OK
  • maven, type .tar.gz: verify FAIL
  • mvnd: always FAIL, since the url is dynamic decided based on OS and ARCH, the extension may also fallback to .tar.gz

 

To fix the issue, we need store all possible checksums in the config file, and better to have an easy and secure way to generate these checksums from the distribution url or from the apache site.


Affects: 3.2.0

1 votes, 4 watchers

Dominant language
Java
Stars
254
Forks
78
Avg merge
23h 36m
Merged PRs (30d)
8

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/maven-wrapper

All issues in apache/maven-wrapper

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.