Skip to content

build: add gated Maven Central release pipeline - #64

Merged
omandryk merged 1 commit into
masterfrom
release/central-pipeline
Aug 11, 2026
Merged

build: add gated Maven Central release pipeline#64
omandryk merged 1 commit into
masterfrom
release/central-pipeline

Conversation

@omandryk

Copy link
Copy Markdown
Owner

Summary

  • move GPG signing into an explicit release Maven profile
  • add Central Publisher Portal plugin 0.11.0 with autoPublish=false
  • add a manual release workflow with separate verify/upload modes
  • require a matching non-SNAPSHOT v* tag and the maven-central environment before upload
  • document secrets, signing fingerprint, safety gates, and the release sequence

Safety properties

  • normal pushes and pull requests cannot invoke deployment
  • verify mode is credential-free and is the workflow default
  • upload only creates a Central deployment for validation; it cannot automatically publish it
  • no credentials or private key material are committed

Verification

  • mvn clean verify
  • mvn clean verify -Prelease -Dgpg.skip=true
  • effective POM resolves central-publishing-maven-plugin:0.11.0 and autoPublish=false
  • YAML parses successfully
  • repository secret-pattern scan found no committed credential/private-key material

No artifact, tag, GitHub Release, or Central deployment was created.

@omandryk
omandryk merged commit 95c6b96 into master Aug 11, 2026
4 checks passed
@omandryk
omandryk deleted the release/central-pipeline branch August 11, 2026 16:36
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.

1 participant