From 907b72f7d2ed93d410a3dc4198fe05fb4da69fd1 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Mar 2026 06:13:05 +0000 Subject: [PATCH] Fix snapshot badge to use maven-metadata URL for Central Portal The old badge used s01.oss.sonatype.org (legacy OSSRH) which is no longer correct after the migration to Maven Central Portal. The nexus badge type also relies on the Nexus REST API which central.sonatype.com does not expose. Switch to the maven-metadata badge which reads maven-metadata.xml directly from the snapshot repository, which works with central.sonatype.com. https://claude.ai/code/session_0142gq6QvrbYqMT4voo9XmCA --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d9d49de..2dbed1c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![build](https://github.com/ksletmoe/Bucket4k/actions/workflows/build.yml/badge.svg) [![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://github.com/ksletmoe/Bucket4k/blob/mainline/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/com.sletmoe.bucket4k/bucket4k.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.sletmoe.bucket4k%22%20AND%20a:%22bucket4k%22) -[](https://s01.oss.sonatype.org/content/repositories/snapshots/com/sletmoe/bucket4k/bucket4k/) +[](https://central.sonatype.com/repository/maven-snapshots/com/sletmoe/bucket4k/bucket4k/) A Kotlin wrapper around [Bucket4j](https://github.com/bucket4j/bucket4j) which suspends and plays nicely with coroutines.