Skip to content

Publish to Maven Central only - #49

Merged
tonytonycoder11 merged 1 commit into
mainfrom
chore/drop-github-packages
Jul 31, 2026
Merged

Publish to Maven Central only#49
tonytonycoder11 merged 1 commit into
mainfrom
chore/drop-github-packages

Conversation

@tonytonycoder11

Copy link
Copy Markdown
Contributor

Every release was carrying the same six artifacts to two registries. GitHub Packages requires a token
even for a public package, so nobody was depending on Kdrant through it — it was a second place to keep
in sync and no second way to consume the library. Maven Central is the channel, and now it is the only
one.

  • The publishing { repositories { maven { name = "GitHubPackages" … } } } block is gone from all seven
    published modules.
  • The Publish to GitHub Packages step is gone from release.yml, and the packages: write permission
    with it. What remains is assemble → attest → publish to Maven Central.
  • ./gradlew tasks --all no longer lists a …GitHubPackagesRepository task anywhere.

Versions up to and including 1.2.0 stay on GitHub Packages. Unpublishing them would break anyone
who did wire up a token, for no gain; this only stops adding new ones.

Every release was going to two registries with the same six artifacts. GitHub
Packages requires authentication even for a public package, so nobody was
depending on Kdrant through it; it was a second place to keep in sync and no
second way to consume the library.

The publishing block goes from all seven modules and the step from the release
workflow, which drops the packages permission with it. Versions up to 1.2.0 stay
where they are: unpublishing them would break anyone who did wire up a token,
for no gain.
@tonytonycoder11
tonytonycoder11 requested a review from a team as a code owner July 31, 2026 08:53
@tonytonycoder11
tonytonycoder11 merged commit 5e23692 into main Jul 31, 2026
6 checks passed
@tonytonycoder11
tonytonycoder11 deleted the chore/drop-github-packages branch July 31, 2026 08:55
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