Repository navigation
Reduce published release size from ~25MB to ~9MB - #1880
Merged
Merged
Conversation
- domain-classes: publish a placeholder javadoc jar instead of the ~16MB scaladoc of the generated sources (Central requires a javadoc jar but does not inspect its contents). The sources jar is still published. - stop publishing the -tests-sources/-tests-javadoc jars, since the tests jar itself is not published. Maven Central enforces monthly publishing limits per organization, and exceeding them blocked the last release. AI-Session-Id: 8da78e78-809b-421d-b8e3-d8d483cc8e7d AI-Tool: claude-code AI-Model: unknown
AI-Session-Id: 8da78e78-809b-421d-b8e3-d8d483cc8e7d AI-Tool: claude-code AI-Model: unknown
ml86
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maven Central enforces monthly publishing limits (file count, release size, release count) per organization. Exceeding them and outliving the grace period blocked the last release (
Publishing blocked: your organization has reached its monthly release size limit).Each release was ~25MB, of which 16.2MB was the scaladoc jar of the generated
domain-classesmodule.Changes
domainClasses: publish a placeholder javadoc jar (a README) instead of the full scaladoc. Central requires a javadoc jar but does not inspect its contents. The-sources.jaris unchanged.-tests-sources.jar/-tests-javadoc.jarfor any module: the-tests.jaritself is not published, so these are useless (packageDoc / publishArtifact := trueleaked into theTestconfiguration).Verified with
sbt publishM2(local, same version before/after)domain-classesjavadocThe 'before' numbers match what is currently on Maven Central (e.g. 1.7.85).
Related: #1879 makes the release workflow manual-only.