apache / apache/maven-artifact-plugin
[MARTIFACT-1] Add goal to verify checksums
- Dominant language
- Java
- Stars
- 14
- Forks
- 23
- Avg merge
- 1h 27m
- Merged PRs (30d)
- 8
Description
**[Robert Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)** opened **[MARTIFACT-1](https://issues.apache.org/jira/browse/MARTIFACT-1?redirect=false)** and commented
With every release we provide a sha512, but it is quite hard to verify this.
What I do is compare the provided checksum and calculated checksum by eye.
It would be better if there's a goal that calculates the checksum and verifies it with a provided value.
e.g `artifact:checksum -Dsha512=1a2b3c4d5e6f7890...`
This will be for the main artifact.
However, we need to verify a specific file with classifier and extension, i.e. source-release.zip
So probably we need to do something like `artifact:checksum -Dsha512[source-release:zip]=1a2b3c4d5e6f7890...`
---
No further details from [MARTIFACT-1](https://issues.apache.org/jira/browse/MARTIFACT-1?redirect=false)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the plugin goal that would implement `artifact:checksum` and review how the main artifact, classifier, and extension are represented. Done means the goal calculates a checksum and verifies a supplied SHA-512 value for both the main artifact and a specific file such as `source-release.zip`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100