Skip to content

feat: migrate to Maven Central publishing#35

Merged
guillaumebadin merged 5 commits intomainfrom
turquoise-pea
Apr 9, 2026
Merged

feat: migrate to Maven Central publishing#35
guillaumebadin merged 5 commits intomainfrom
turquoise-pea

Conversation

@guillaumebadin
Copy link
Copy Markdown

Summary

  • Migrate artifact publishing from GitHub Packages to Maven Central (Sonatype)
  • Change group ID from dev.bsg to io.github.beyond-scale-group
  • Consumers no longer need resolvers, credentials, or tokens — just libraryDependencies += "io.github.beyond-scale-group" %% "edomata-core" % "x.y.z"
  • Remove dead PAT token (ghp_...) that was hardcoded in README

Changes

  • build.sbt: New org, enable tlCiReleaseBranches, tlSonatypeUseLegacyHost, remove GHP credentials/overrides
  • publish-ghp.sbt: Deleted
  • publish.yml: Renamed from publish-ghp.yml, now uses tlRelease with Sonatype secrets
  • ci.yml: Remove PACKAGES_READ_TOKEN reference
  • README.md, docs/, website/: Updated group ID, removed GitHub Packages resolver/credentials sections

Setup done

  • PGP key generated and published to keys.openpgp.org
  • PGP_SECRET and PGP_PASSPHRASE GitHub secrets set
  • OSS_SONATYPE_USERNAME and OSS_SONATYPE_PASSWORD GitHub secrets set
  • io.github.beyond-scale-group namespace verified on central.sonatype.com

Test plan

🤖 Generated with Claude Code

actions-user and others added 5 commits April 9, 2026 13:03
Switch artifact group ID from dev.bsg to io.github.beyond-scale-group
and publish to Maven Central (Sonatype) instead of GitHub Packages.
This removes the need for consumers to configure resolvers, credentials,
or authentication tokens.

- Change organization to io.github.beyond-scale-group
- Enable sbt-typelevel Sonatype publishing (tlCiReleaseBranches, tlSonatypeUseLegacyHost)
- Remove GitHub Packages publish config (publish-ghp.sbt, ghpPublishSettings)
- Replace publish workflow with Maven Central via tlRelease
- Update all docs, README, and website with new group ID
- Remove dead read-only PAT token from README

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
tlSonatypeUseLegacyHost does not exist in sbt-typelevel 0.8.x.
Use sonatypeCredentialHost := "s01.oss.sonatype.org" instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…8.x)

sbt-typelevel 0.8.x dropped sbt-sonatype in favor of sbt 1.11 builtins.
Sonatype Central is the default target, no host override needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The --release flag was introduced in JDK 9. On JDK 8, javac
fails with 'invalid flag: --release'. Skip the flag when running
on JDK 8 since the java-api module targets JDK 11+ anyway.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@guillaumebadin guillaumebadin merged commit f31e95f into main Apr 9, 2026
17 checks passed
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