Migrate deployment to JReleaser - #77
Merged
Merged
Conversation
alexey-pelykh
force-pushed
the
chore/jreleaser-migration
branch
from
March 1, 2026 06:45
e83df2d to
a358352
Compare
Replace direct OSSRH publishing with JReleaser-based deployment via Sonatype Central Portal API. Gradle now only stages artifacts to a local directory; JReleaser handles GPG signing and Maven Central upload. - Add JReleaser 1.22.0 plugin to version catalog and root build - Create jreleaser.yml with signing, Maven Central release, and snapshot deploy configuration - Replace OSSRH/GitHubPackages repos with local StagingDeploy in lib - Remove Gradle signing plugin (JReleaser handles signing) - Restore build-lib CI job with JReleaser snapshot publishing - Run staging dry-run on PRs to validate publication before merge - Update release workflow to use two-step stage + JReleaser deploy Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
alexey-pelykh
force-pushed
the
chore/jreleaser-migration
branch
from
March 1, 2026 06:49
a358352 to
3b1c3e9
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
lib/build/staging-deploy); JReleaser handles signing + uploadbuild-libCI job with snapshot publishing on push to mainsigningplugin and old OSSRH/GitHubPackages repository configurationRequired secrets update
The following secrets need to be configured in GitHub repo settings before merging:
MAVEN_CENTRAL_USERNAMEMAVEN_CENTRAL_PASSWORDGPG_PUBLIC_KEYGPG_PRIVATE_KEYGPG_PASSPHRASEOld secrets
OSSRH_USERNAMEandOSSRH_TOKENcan be removed after migration.Verification
Local dry-run confirmed:
./gradlew :lib:publishReleasePublicationToStagingDeployRepository -Puvccamera.version=0.0.0-TESTstages AAR, POM, sources jar, javadoc jar, and checksums tolib/build/staging-deploy/Test plan
MAVEN_CENTRAL_USERNAME,MAVEN_CENTRAL_PASSWORD,GPG_PUBLIC_KEYsecretsbuild-libjob passes on PR (build only, no publish)🤖 Generated with Claude Code