Skip to content

Migrate publishing from OSSRH to Sonatype Maven Central Portal#372

Merged
maxlambrecht merged 4 commits intospiffe:mainfrom
maxlambrecht:maven-central-publish
Dec 8, 2025
Merged

Migrate publishing from OSSRH to Sonatype Maven Central Portal#372
maxlambrecht merged 4 commits intospiffe:mainfrom
maxlambrecht:maven-central-publish

Conversation

@maxlambrecht
Copy link
Copy Markdown
Member

@maxlambrecht maxlambrecht commented Dec 8, 2025

PR Description

Changes

  • Integrates the Vanniktech Maven Publish plugin for Central Portal publishing.
  • Removes old OSSRH repository configuration.
  • Updates Gradle and adjusts Javadoc/Sources JAR generation.
  • Adds GitHub Actions workflow for publishing to Central Portal.
  • Updates CI to drop Java 8 from the test matrix (the new publishing plugin requires at least Java 11).
    Artifacts remain Java 8–compatible; only CI execution changed.

The new setup was tested by publishing a dummy version, confirming that artifacts were successfully staged in the Sonatype Central Portal.

This aligns java-spiffe with Sonatype’s supported publishing path and ensures reliable future releases.

Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
@maxlambrecht maxlambrecht force-pushed the maven-central-publish branch 2 times, most recently from d4ead07 to 89ea7f3 Compare December 8, 2025 19:44
@maxlambrecht maxlambrecht merged commit 75843f2 into spiffe:main Dec 8, 2025
15 checks passed
@maxlambrecht maxlambrecht deleted the maven-central-publish branch December 8, 2025 19:57
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