diff --git a/Makefile b/Makefile index 4f12e93..79b29a9 100644 --- a/Makefile +++ b/Makefile @@ -5,4 +5,9 @@ ut: mvn clean test -Punit-tests it: - mvn clean verify -Pintegration-tests \ No newline at end of file + mvn clean verify -Pintegration-tests + +list-releases: + curl 'https://central.sonatype.com/api/internal/browse/component/versions?sortField=normalizedVersion&sortDirection=asc&page=0&size=12&filter=namespace%3Aio.github.amithkoujalgi%2Cname%3Aollama4j' \ + --compressed \ + --silent | jq '.components[].version' \ No newline at end of file diff --git a/README.md b/README.md index 49d8f19..38eefbf 100644 --- a/README.md +++ b/README.md @@ -60,12 +60,15 @@ In your Maven project, add this dependency: io.github.amithkoujalgi ollama4j - 1.0-SNAPSHOT + 1.0.20 ``` -Get the latest version from [Maven Central](https://central.sonatype.com/artifact/io.github.amithkoujalgi/ollama4j) -or [Nexus Repository](https://s01.oss.sonatype.org/#nexus-search;quick~ollama4j). +[![][lib-shield]][lib] + +[lib]: https://central.sonatype.com/artifact/io.github.amithkoujalgi/ollama4j + +[lib-shield]: https://img.shields.io/badge/ollama4j-get_latest_version-blue.svg?style=for-the-badge&labelColor=gray You might want to include an implementation of [SL4J](https://www.slf4j.org/) logger in your `pom.xml` file. For example,