You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That worked well by invoking gradle publishShadowPublicationToSonatype-stagingRepository.
Since then our process needed to change by assembling a combined build out of several repositories from source, and instead of common-utils publishing to Sonatype staging we did common-utils -> mavenLocal -> Sonatype Staging via this script. As a result, we no longer see .md5 and .sha1 checksums in Sonatype staging, and that fails Sonatype checks to promote to maven central.
My initial reaction was to figure out how to generate those checksums during publishToMavenLocal. There's a similar unanswered SO, too. Looking at this code.
Not sure this is a shadow problem, but would really appreciate some help.
Coming from https://github.com/opensearch-project/common-utils
We used to publish a component to Sonatype Staging, and in build.gradle had the following:
That worked well by invoking
gradle publishShadowPublicationToSonatype-stagingRepository
.Since then our process needed to change by assembling a combined build out of several repositories from source, and instead of common-utils publishing to Sonatype staging we did common-utils -> mavenLocal -> Sonatype Staging via this script. As a result, we no longer see .md5 and .sha1 checksums in Sonatype staging, and that fails Sonatype checks to promote to maven central.
My initial reaction was to figure out how to generate those checksums during
publishToMavenLocal
. There's a similar unanswered SO, too. Looking at this code.The solution I found was:
Invoking
gradle publishShadowPublicationToMavenLocal
generated the.md5
and.sha1
files.publishToMavenLocal
to include these signatures?Shadow Version
7.1.0
Gradle Version
6.4
Expected Behavior
Expecting shadow publish to always include .md5 and .sha1 checksums.
Actual Behavior
Only publishes .pom, .xml, .jar.
Gradle Build Script(s)
https://github.com/opensearch-project/common-utils/blob/main/build.gradle
The text was updated successfully, but these errors were encountered: