Skip to content

chore(publish): cut Maven Central file and release counts (2.x) - #88

Merged
rossdanderson merged 1 commit into
2.xfrom
chore/reduce-maven-central-footprint-2.x
Sep 1, 2026
Merged

chore(publish): cut Maven Central file and release counts (2.x)#88
rossdanderson merged 1 commit into
2.xfrom
chore/reduce-maven-central-footprint-2.x

Conversation

@rossdanderson

Copy link
Copy Markdown
Collaborator

Backport of #50/#51 to the 2.x maintenance branch.

Upgrade vanniktech-maven-publish to 0.37.0, whose defaults publish only md5/sha1 checksums and drop the redundant signature checksums and sha256/sha512 (~380 -> ~152 files per release). Fix the removed SonatypeHost API by calling publishToMavenCentral() with no argument.

Derive the publish version from the git tag so pre-release tags (X.Y.Z-rcN) publish an overwriting X.Y.Z-SNAPSHOT to the separate, quota-exempt snapshot repository instead of a full release; clean X.Y.Z tags still release.

Test plan

  • ./gradlew classes
  • ./gradlew spotlessCheck

Upgrade vanniktech-maven-publish to 0.37.0, whose defaults publish only
md5/sha1 checksums and drop the redundant signature checksums and
sha256/sha512 (~380 -> ~152 files per release). Fix the removed
SonatypeHost API by calling publishToMavenCentral() with no argument.

Derive the publish version from the git tag so pre-release tags
(X.Y.Z-rcN) publish an overwriting X.Y.Z-SNAPSHOT to the separate,
quota-exempt snapshot repository instead of a full release; clean X.Y.Z
tags still release.

(cherry picked from commit f48b825)
@rossdanderson
rossdanderson merged commit 2d14f35 into 2.x Sep 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant