Skip to content

chore: Adopt OSS build pipeline for Maven Central#86

Merged
thced merged 1 commit into
masterfrom
chore/oss-build-pipeline
Jul 3, 2026
Merged

chore: Adopt OSS build pipeline for Maven Central#86
thced merged 1 commit into
masterfrom
chore/oss-build-pipeline

Conversation

@thced

@thced thced commented May 21, 2026

Copy link
Copy Markdown
Contributor
  • Split commit.yaml into pull_request.yaml (PR tests via ./mvnw, no service-account so forks can build) and release.yaml (push to master, GPG-signs and deploys to Sonatype Central).
  • Gate the PR SonarCloud step to the upstream repo so forks pass.
  • Add Maven Central metadata to pom.xml: name, description, Apache-2.0 license, developer, full SCM block.
  • Replace the GCP Artifact Registry distributionManagement with central-publishing-maven-plugin (autoPublish) and add a sign-artifacts profile activated by MAVEN_GPG_PASSPHRASE.
  • Drop the private Nexus registry from dependabot; resolve from Maven Central instead.
  • Add Apache-2.0 LICENSE at repo root.

@sonarqubecloud

Copy link
Copy Markdown

Align the build pipeline with extenda/vertx-redis-clustermanager,
which already publishes openly to Maven Central.

- Split commit.yaml into pull_request.yaml (PR tests via ./mvnw,
  no service-account so forks can build) and release.yaml (push
  to master, GPG-signs and deploys to Sonatype Central).
- Gate the PR SonarCloud step to the upstream repo so forks pass.
- Add Maven Central metadata to pom.xml: name, description,
  Apache-2.0 license, developer, full SCM block.
- Replace the GCP Artifact Registry distributionManagement with
  central-publishing-maven-plugin (autoPublish) and add a
  sign-artifacts profile activated by MAVEN_GPG_PASSPHRASE.
- Drop the private Nexus registry from dependabot; resolve from
  Maven Central instead.
- Add Apache-2.0 LICENSE at repo root and exempt it from
  editorconfig indentation rules.

Release requires the following repository secrets to be set:
MAVEN_CENTRAL_USERNAME, MAVEN_CENTRAL_TOKEN,
MAVEN_CENTRAL_GPG_PRIVATE_KEY, MAVEN_CENTRAL_GPG_KEY_NAME,
MAVEN_CENTRAL_GPG_PASSPHRASE.
@thced thced force-pushed the chore/oss-build-pipeline branch from cf33299 to 08ad123 Compare July 1, 2026 13:51
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@thced thced marked this pull request as ready for review July 1, 2026 13:54
@thced thced merged commit 93c0a01 into master Jul 3, 2026
5 checks passed
@thced thced deleted the chore/oss-build-pipeline branch July 3, 2026 05:50
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