Add modern Maven Central publishing workflow#3
Merged
Conversation
- Replace nexus-staging-maven-plugin with central-publishing-maven-plugin - Add basepom.nexus-staging.skip property to disable old nexus behavior - Add GitHub Actions workflows for CI and publishing - Update pom.xml with name and description for Maven Central - Configure modern publishing process with GPG signing and auto-publish Supports the new Maven Central publishing process for cloud.prefab namespace. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Reduces log noise by suppressing Maven download progress bars during CI runs.
- Move maven-gpg-plugin from default build to 'release' profile - CI workflow now runs tests without attempting GPG signing - Publishing workflow uses -P release flag to enable signing during deploy
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
Changes
maven.ymlruns tests on push/PR to mainpublish.ymlpublishes to Maven Central after CI successbasepom.nexus-staging.skip=trueto disable legacy behaviorFeatures
Required Setup
✅ GitHub secrets are configured:
GPG_PRIVATE_KEYGPG_PASSPHRASEMAVEN_CENTRAL_USERNAMEMAVEN_CENTRAL_TOKENTest Plan
mvn clean verify)🤖 Generated with Claude Code