Make Java SDK Maven publication releasable - #189
Merged
Conversation
longquanzheng
marked this pull request as ready for review
August 7, 2026 06:06
longquanzheng
enabled auto-merge (squash)
August 7, 2026 06:06
longquanzheng
force-pushed
the
codex/java-test-cleanup
branch
from
August 7, 2026 06:14
38cd4e1 to
73a0254
Compare
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.
Summary
sdk-javapublish a standard library JAR with complete Maven metadataWhy
The Java SDK publication path could produce an unusable Maven artifact and did not validate native BlobCache loading from a consumer project. This change makes the release workflow fail early on missing credentials, malformed artifacts, or unsupported publication contents.
User impact
Java users receive a conventional Maven library artifact whose runtime dependencies, metadata, and platform-specific JNI resources work from both Gradle and Maven consumers.
Validation
./gradlew test --no-daemon./run-integration-tests.sh./validate-publication.sh 0.0.2-local./gradlew validatePublication --no-daemonmake copyright-checkactionlint .github/workflows/sdk-java-ci.yml .github/workflows/sdk-java-publish.ymlshellcheck sdk-java/validate-publication.shbash -n sdk-java/validate-publication.shgit diff --check origin/main...HEAD