Skip to content

Commit 4204012

Browse files
bactgoneall
authored andcommitted
Update Maven Central badge
The existing one still link to the old https://search.maven.org which does not show 2.0.1 version. Signed-off-by: Arthit Suriyawongkul <[email protected]>
1 parent 178a57b commit 4204012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Spdx-Java-Library
22

3-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.spdx/java-spdx-library/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.spdx/java-spdx-library)
3+
[![Maven Central Version](https://img.shields.io/maven-central/v/org.spdx/java-spdx-library)](https://central.sonatype.com/artifact/org.spdx/java-spdx-library)
44
[![javadoc](https://javadoc.io/badge2/org.spdx/java-spdx-library/javadoc.svg)](https://javadoc.io/doc/org.spdx/java-spdx-library)
55
![Java CI with Maven](https://github.com/spdx/Spdx-Java-Library/workflows/Java%20CI%20with%20Maven/badge.svg)
66

@@ -197,7 +197,7 @@ To update Spdx-Java-Library, the following is a very brief checklist:
197197
1. Create a Java .jar file for the new version which contains an implementation of `ISpdxModelInfo` - typically named `SpdxModelInfoVXXX` - where "XXX" is the version of the spec.
198198
2. Update the SpdxModelFactory source file to load the model info by adding the line `ModelRegistry.getModelRegistry().registerModel(new SpdxModelInfoVXXX());` in the static block at the very beginning of the class.
199199
3. If there are any conversions that are needed when copying to or from the new model version, add conversion code to the `ModelCopyConverter` class.
200-
4. Update SpdxModelFactory unit test for the highest version check
200+
4. Update SpdxModelFactory unit test for the highest version check.
201201

202202
## Development Status
203203

0 commit comments

Comments
 (0)