Skip to content

Commit 4d227f2

Browse files
Merge pull request #131 from bernardladenthin/claude/remove-snapshot-builds-Muzpf
Remove snapshot build documentation and badge
2 parents 4535a3f + 1f97ab0 commit 4d227f2

1 file changed

Lines changed: 9 additions & 20 deletions

File tree

README.md

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![Java 8+](https://img.shields.io/badge/Java-8%2B-informational)
22
[![llama.cpp b9106](https://img.shields.io/badge/llama.cpp-%23b9106-informational)](https://github.com/ggml-org/llama.cpp/releases/tag/b9106)
33
[![Maven Central](https://img.shields.io/maven-central/v/net.ladenthin/llama)](https://central.sonatype.com/artifact/net.ladenthin/llama)
4-
[![Snapshot](https://img.shields.io/badge/snapshot-latest-informational)](https://github.com/bernardladenthin/java-llama.cpp/releases/tag/snapshot)
4+
[![Snapshot](https://img.shields.io/badge/snapshot-latest-informational)](https://central.sonatype.com/repository/maven-snapshots/net/ladenthin/llama/)
55

66
# Java Bindings for [llama.cpp](https://github.com/ggerganov/llama.cpp)
77

@@ -49,40 +49,29 @@ There are multiple [examples](src/test/java/examples).
4949

5050
### Snapshot builds
5151

52-
Every push to `master` publishes a snapshot to [GitHub Packages](https://github.com/bernardladenthin/java-llama.cpp/packages) and attaches JARs to the [snapshot release](https://github.com/bernardladenthin/java-llama.cpp/releases/tag/snapshot).
52+
Every push to `main` publishes a snapshot to the [Sonatype Central snapshot repository](https://central.sonatype.com/repository/maven-snapshots/net/ladenthin/llama/).
5353

54-
To use the snapshot as a Maven dependency, add the repository and a GitHub token to your `~/.m2/settings.xml`:
55-
56-
```xml
57-
<settings>
58-
<servers>
59-
<server>
60-
<id>github-java-llama</id>
61-
<username>YOUR_GITHUB_USERNAME</username>
62-
<password>YOUR_GITHUB_TOKEN</password> <!-- token needs read:packages scope -->
63-
</server>
64-
</servers>
65-
</settings>
66-
```
67-
68-
Then add to your `pom.xml`:
54+
To use the latest snapshot, add the repository and dependency to your `pom.xml`:
6955

7056
```xml
7157
<repositories>
7258
<repository>
73-
<id>github-java-llama</id>
74-
<url>https://maven.pkg.github.com/bernardladenthin/java-llama.cpp</url>
59+
<id>sonatype-snapshots</id>
60+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
7561
<snapshots><enabled>true</enabled></snapshots>
62+
<releases><enabled>false</enabled></releases>
7663
</repository>
7764
</repositories>
7865

7966
<dependency>
8067
<groupId>net.ladenthin</groupId>
8168
<artifactId>llama</artifactId>
82-
<version>5.0.0-SNAPSHOT</version>
69+
<version>5.0.1-SNAPSHOT</version>
8370
</dependency>
8471
```
8572

73+
No credentials are required — the repository is publicly readable.
74+
8675
### No Setup required
8776

8877
We support CPU inference for the following platforms out of the box:

0 commit comments

Comments
 (0)