tomorrow-one / transactional-outbox

This library is an implementation of the Transactional Outbox Pattern (https://microservices.io/patterns/data/transactional-outbox.html) for Kafka
Apache License 2.0
11 stars 3 forks source link

Publish jobs failing #366

Open magro opened 5 days ago

magro commented 5 days ago

After merging some PRs yesterday, all publish jobs failed with

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':commons:publishMavenPublicationToMavenRepository'.
> Failed to publish publication 'maven' to repository 'maven'
   > Could not PUT 'https://s01.oss.sonatype.org/content/repositories/snapshots/one/tomorrow/transactional-outbox/commons/2.3.3-SNAPSHOT/maven-metadata.xml'. Received status code 401 from server: Content access is protected by token

See e.g. https://github.com/tomorrow-one/transactional-outbox/actions/runs/9628755950/job/26563307266

Did anything change here, @hnrkdmsk @danielrehmann?

magro commented 5 days ago

Sounds like a match: https://support.sonatype.com/hc/en-us/articles/360049469534-401-Content-access-is-protected-by-token-when-accessing-repositories or https://community.sonatype.com/t/401-content-access-is-protected-by-token-authentication-failure-while-performing-maven-release/12741

-> https://central.sonatype.org/news/20240617_migration_of_accounts/

Unfortunately I don't have access to the related information for the sonatype tomorrow user. Can you take care here @hnrkdmsk @danielrehmann?

Other related docs: https://central.sonatype.org/publish/generate-token/