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
Labels
Comments
One could offer an additional parameter https://maven.apache.org/shared/maven-common-artifact-filters/apidocs/org/apache/maven/shared/artifact/filter/collection/ClassifierFilter.html, to allow both includes and excludes. |
Using the mojo |
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
Currently the
artifacts
mojo generates checksums for all attached artifacts (checksum-maven-plugin/src/main/java/net/nicoulaj/maven/plugins/checksum/mojo/ArtifactsMojo.java
Line 152 in 558ad72
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).The text was updated successfully, but these errors were encountered: