Skip to content

Conversation

@deblockt
Copy link
Owner

@deblockt deblockt commented Jan 4, 2026

Summary

  • Replace nexus-publish-plugin with JReleaser CLI for publishing to Maven Central
  • Use the new Central Portal API (https://central.sonatype.com)
  • Add workflow_dispatch trigger with dry-run option for testing

Changes

  • build.gradle: Remove nexus-publish-plugin and signing plugin, add staging repository
  • jreleaser.yml: New config for Central Portal deployment
  • publish.yml: Use jreleaser/release-action@v2 instead of Gradle nexus tasks

Test plan

  • Run workflow manually with dry-run enabled to verify configuration
  • Check JReleaser logs artifact for any errors
  • Create a test release to verify end-to-end publishing

Required secrets

Same as before:

  • SONATYPE_USERNAME - Central Portal username
  • SONATYPE_PASSWORD - Central Portal token
  • GPG_PRIVATE_KEY - GPG signing key
  • SIGNING_PASSWORD - GPG passphrase

🤖 Generated with Claude Code

Replace nexus-publish-plugin with JReleaser CLI for publishing to
Maven Central via the new Central Portal API.

Changes:
- Remove nexus-publish-plugin and signing plugin from build.gradle
- Add staging repository for local artifact publication
- Add jreleaser.yml configuration for Central Portal deployment
- Update GitHub workflow to use jreleaser/release-action
- Add workflow_dispatch with dry-run option for testing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@deblockt deblockt closed this Jan 4, 2026
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.

2 participants