From 17dc3c186e3ab6c7371834c3a849c03770e2ae84 Mon Sep 17 00:00:00 2001 From: Patrick Baumgartner Date: Sat, 20 Jun 2026 23:10:07 +0200 Subject: [PATCH] docs: fix Maven Central badge and modernize build status badge The Maven Central badge pointed at maven-badges.herokuapp.com, which no longer resolves since Heroku discontinued its free tier; switch it to shields.io with a Central Sonatype link. Update the build-status badge from the deprecated workflows//badge.svg form to the current actions/workflows/maven.yml form. Also fix a couple of typos (donwloaded, node module). Signed-off-by: Patrick Baumgartner --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 332770001c..ec855a155a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![Build Status](https://github.com/CycloneDX/cyclonedx-core-java/workflows/Maven%20CI/badge.svg)](https://github.com/CycloneDX/cyclonedx-core-java/actions?workflow=Maven+CI) -[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.cyclonedx/cyclonedx-core-java/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.cyclonedx/cyclonedx-core-java) +[![Build Status](https://github.com/CycloneDX/cyclonedx-core-java/actions/workflows/maven.yml/badge.svg)](https://github.com/CycloneDX/cyclonedx-core-java/actions/workflows/maven.yml) +[![Maven Central](https://img.shields.io/maven-central/v/org.cyclonedx/cyclonedx-core-java?label=Maven%20Central)](https://central.sonatype.com/artifact/org.cyclonedx/cyclonedx-core-java) [![License](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)][License] [![Website](https://img.shields.io/badge/https://-cyclonedx.org-blue.svg)](https://cyclonedx.org/) [![Slack Invite](https://img.shields.io/badge/Slack-Join-blue?logo=slack&labelColor=393939)](https://cyclonedx.org/slack/invite) @@ -27,7 +27,7 @@ Maven Usage ## CycloneDX Schema Support -The following table provides information on the version of this node module, the CycloneDX schema version supported, +The following table provides information on the version of this library, the CycloneDX schema version supported, as well as the output format options. Use the latest possible version of this library that is the compatible with the CycloneDX version supported by the target system. @@ -56,8 +56,8 @@ The library API documentation can be viewed online at [https://cyclonedx.github. 3. Navigate to the `license-list-vX.X.X/text/` directory. 4. Copy all licenses from that directory to the `src/main/java/resources/licenses/` directory in this repo. 5. Copy `license-list-vX.X.X/json/licenses.json` into the `src/main/java/resources/licenses/` directory in this repo. -6. Download [this file](http://cyclonedx.org/schema/spdx.schema.json) (ex: `curl http://cyclonedx.org/schema/spdx.schema.json -o spdx.schema.json`). The `$comment` field should match the version you donwloaded from GitHub. Copy this file into `src/main/resources/`. -7. Download [this file](https://cyclonedx.org/schema/spdx.xsd) (ex `curl https://cyclonedx.org/schema/spdx.xsd -o spdx.xsd`). The version field should match the version you donwloaded from GitHub. Copy this file into `src/main/resources/`. +6. Download [this file](http://cyclonedx.org/schema/spdx.schema.json) (ex: `curl http://cyclonedx.org/schema/spdx.schema.json -o spdx.schema.json`). The `$comment` field should match the version you downloaded from GitHub. Copy this file into `src/main/resources/`. +7. Download [this file](https://cyclonedx.org/schema/spdx.xsd) (ex `curl https://cyclonedx.org/schema/spdx.xsd -o spdx.xsd`). The version field should match the version you downloaded from GitHub. Copy this file into `src/main/resources/`. Copyright & License -------------------