Skip to content

ci: migrate release publishing to central plugin#131

Merged
nobodyiam merged 1 commit intoapolloconfig:mainfrom
nobodyiam:codex/central-plugin-release
Feb 19, 2026
Merged

ci: migrate release publishing to central plugin#131
nobodyiam merged 1 commit intoapolloconfig:mainfrom
nobodyiam:codex/central-plugin-release

Conversation

@nobodyiam
Copy link
Member

@nobodyiam nobodyiam commented Feb 19, 2026

What's the purpose of this PR

Migrate Apollo Java release publishing to Sonatype Central's official Maven plugin flow, and remove the now-obsolete OSSRH compatibility publish orchestration.

Which issue(s) this PR fixes:

Fixes #N/A (release infrastructure migration)

Brief changelog

  • switch release profile to org.sonatype.central:central-publishing-maven-plugin
  • enable auto publish and wait until PUBLISHED
  • simplify .github/workflows/release.yml to a single Central publish path
  • remove legacy sonatype-publish.yml workflow and related helper scripts
  • drop obsolete distributionManagement endpoints tied to old OSSRH workflow

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Read the Contributing Guide before making this pull request.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit tests to verify the code.
  • Run mvn clean test to make sure this pull request doesn't break anything.
  • Update the CHANGES log.

Validation executed

  • mvn -B -q -DskipTests -Prelease help:evaluate -Dexpression=project.version -DforceStdout
  • mvn help:describe -Dplugin=org.sonatype.central:central-publishing-maven-plugin:0.10.0 -Ddetail -Dgoal=publish -DskipTests

Summary by CodeRabbit

  • New Features

    • Automatic Maven Central publishing using the central-publishing-maven-plugin with streamlined deployment.
  • Chores

    • Removed legacy Sonatype staging management scripts and workflows.
    • Removed manual Sonatype publishing workflow.
    • Simplified release configuration by removing explicit repository settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 19, 2026

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

 ___________________________________________________________________________________________________________
< Childhood dream: become a code reviewer. Adult reality: became a code reviewer. Childhood dream achieved. >
 -----------------------------------------------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

✏️ Tip: You can disable in-progress messages and the fortune message in your review settings.

✨ Finishing Touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.96%. Comparing base (d4b76f8) to head (0d84f6e).
⚠️ Report is 23 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #131      +/-   ##
============================================
+ Coverage     68.68%   70.96%   +2.28%     
- Complexity     1503     1632     +129     
============================================
  Files           212      224      +12     
  Lines          6396     6727     +331     
  Branches        647      679      +32     
============================================
+ Hits           4393     4774     +381     
+ Misses         1673     1601      -72     
- Partials        330      352      +22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nobodyiam nobodyiam merged commit 75b8038 into apolloconfig:main Feb 19, 2026
15 of 16 checks passed
@nobodyiam nobodyiam deleted the codex/central-plugin-release branch February 19, 2026 08:15
@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2026
@nobodyiam nobodyiam added this to the 2.5.0 milestone Feb 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant