Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artifacts mojo: only generate checksum for specific (attached) artifacts #100

Closed
kwin opened this issue Dec 29, 2020 · 2 comments · Fixed by #101
Closed

artifacts mojo: only generate checksum for specific (attached) artifacts #100

kwin opened this issue Dec 29, 2020 · 2 comments · Fixed by #101
Labels

Comments

@kwin
Copy link
Contributor

kwin commented Dec 29, 2020

Currently the artifacts mojo generates checksums for all attached artifacts (

). It should be possible to include only specific attached artifacts by classifier.

My use case: Don't generate checksum for attached buildinfo artifacts (https://github.com/apache/maven-artifact-plugin).
Also e.g. the ASF policy only requires SHA512 checksums for source artifacts (https://github.com/apache/maven-apache-parent/blob/01d812b4e78c1661ad61b1d1befcccbed2cc3e3f/pom.xml#L368) with classifier source-release. All other attached artifacts (even the main ones) don't necessarily need to have anything apart from the default MD5/SHA1 generated by Maven itself (https://infra.apache.org/release-distribution.html#sigs-and-sums).

@kwin
Copy link
Contributor Author

kwin commented Dec 29, 2020

@kwin
Copy link
Contributor Author

kwin commented Dec 30, 2020

Using the mojo file or files is no feasible workaround as this will never attach the checksums with a classifier.

kwin added a commit to kwin/checksum-maven-plugin that referenced this issue Dec 30, 2020
kwin added a commit to kwin/checksum-maven-plugin that referenced this issue Dec 30, 2020
kwin added a commit to kwin/checksum-maven-plugin that referenced this issue Dec 30, 2020
kwin added a commit to kwin/checksum-maven-plugin that referenced this issue Jan 1, 2021
kwin added a commit to kwin/checksum-maven-plugin that referenced this issue Jan 1, 2021
kwin added a commit to kwin/checksum-maven-plugin that referenced this issue Jan 3, 2021
kwin added a commit to kwin/checksum-maven-plugin that referenced this issue Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants