ci: Automated Release to Maven Central Repository using JReleaser#2313
Merged
mykola-mokhnach merged 9 commits intomasterfrom Jul 7, 2025
Merged
ci: Automated Release to Maven Central Repository using JReleaser#2313mykola-mokhnach merged 9 commits intomasterfrom
mykola-mokhnach merged 9 commits intomasterfrom
Conversation
Co-authored-by: Saikrishna321 <saikrishna321@yahoo.com>
Co-authored-by: Saikrishna321 <saikrishna321@yahoo.com>
Co-authored-by: Saikrishna321 <saikrishna321@yahoo.com>
Co-authored-by: Saikrishna321 <saikrishna321@yahoo.com>
Co-authored-by: Saikrishna321 <saikrishna321@yahoo.com>
Co-authored-by: Saikrishna321 <saikrishna321@yahoo.com>
Co-authored-by: Saikrishna321 <saikrishna321@yahoo.com>
Co-authored-by: Saikrishna321 <saikrishna321@yahoo.com>
Co-authored-by: Saikrishna321 <saikrishna321@yahoo.com>
There was a problem hiding this comment.
Pull Request Overview
This PR replaces the manual Maven Central staging steps with an automated JReleaser workflow and updates the release documentation accordingly.
- Integrate JReleaser into the GitHub Actions pipeline (
jreleaserDeploystep) - Remove legacy Maven/PGP env vars and add JReleaser-specific secrets
- Revise
docs/release.mdto guide maintainers through the new publishing UI
Reviewed Changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| docs/release.md | Removed Sonatype Nexus steps and added instructions for central.sonatype.com |
| .github/workflows/publish.yml | Swapped Maven env vars for JReleaser env vars and added jreleaserDeploy |
Comments suppressed due to low confidence (3)
.github/workflows/publish.yml:21
- [nitpick] The secret name for the GPG public key is 'SIGNING_PUBLIC_KEY' while the other JReleaser secrets use a 'JRELEASER_' prefix (e.g., JRELEASER_SIGNING_KEY). Consider renaming them consistently to avoid confusion.
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.SIGNING_PUBLIC_KEY }}
.github/workflows/publish.yml:27
- [nitpick] Running both './gradlew publish' and './gradlew jreleaserDeploy' might be redundant since JReleaser can handle the full deployment. Consider removing the initial publish step or documenting why both are necessary.
./gradlew publish
docs/release.md:17
- [nitpick] The list numbering resets to '1.' after step 15, which may confuse readers. Consider using automatic markdown numbering or updating numbers sequentially for clarity.
1. Open [Maven Central Repository](https://central.sonatype.com/) in your browser.
valfirst
approved these changes
Jul 7, 2025
mykola-mokhnach
approved these changes
Jul 7, 2025
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.
This pull request updates the publishing process for the project to use JReleaser and revises the corresponding documentation. The most important changes include modifying the GitHub Actions workflow to integrate JReleaser and updating the release guide to reflect the new publishing steps.
Workflow updates for JReleaser integration:
.github/workflows/publish.yml: Replaced Maven-specific environment variables with JReleaser-specific variables and added a newjreleaserDeploystep to the workflow.Documentation updates:
docs/release.md: Updated the release guide to replace manual Sonatype Nexus steps with instructions for using the Maven Central Repository via JReleaser.