Skip to content

fix: migrate Maven Central publishing from OSSRH to Central Portal#47

Merged
nonz250 merged 1 commit into
masterfrom
nonz250/migrate-to-central-portal
Apr 14, 2026
Merged

fix: migrate Maven Central publishing from OSSRH to Central Portal#47
nonz250 merged 1 commit into
masterfrom
nonz250/migrate-to-central-portal

Conversation

@nonz250
Copy link
Copy Markdown
Member

@nonz250 nonz250 commented Apr 14, 2026

Summary

旧 OSSRH (oss.sonatype.org) が廃止され mvn deploy が 402 Payment Required で失敗する問題を修正。新 Central Portal (central.sonatype.com) に移行。

Changes

  • nexus-staging-maven-plugincentral-publishing-maven-plugin:0.10.0 に置換
  • oss-parent:7 の parent POM を削除
  • Central Portal 必須メタデータ (<licenses>, <developers>) を追加
  • release.yml: server-idcentral に変更、actions を v4 に更新、permissions 追加

Checklist

  • pom.xml の変更
  • release.yml の変更
  • GitHub Secrets の更新
  • Central Portal でネームスペース (jp.pay) の確認
  • リリース再実行で公開成功を確認

その他

  • 既存プラグイン (gpg, source, javadoc, compiler, surefire) は変更なし
  • src/ 以下のソースコードは変更なし

🤖 Generated with Claude Code

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@nonz250 nonz250 self-assigned this Apr 14, 2026
@nonz250 nonz250 marked this pull request as ready for review April 14, 2026 06:40
@nonz250 nonz250 requested review from wozozo and removed request for natsuki-yamanaka April 14, 2026 06:46
@nonz250 nonz250 merged commit a562ce4 into master Apr 14, 2026
2 checks passed
@nonz250 nonz250 deleted the nonz250/migrate-to-central-portal branch April 14, 2026 06:49
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