Skip to content

Commit a2b6c79

Browse files
dfa1claude
andcommitted
docs: add Maven Central badge; deploy only publishable modules
Add the Maven Central version badge now that 0.1 is published. Correct the tagline: the bindings avoid sun.misc.Unsafe (not "hand-written C"). Also exclude integration-tests and benchmark from the publish reactor via -pl, since excludeArtifacts alone did not keep them out of the 0.1 deploy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 3390a27 commit a2b6c79

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ jobs:
4040
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
4141
CENTRAL_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}
4242
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
43-
run: ./mvnw deploy -Prelease -DskipTests --batch-mode -ntp
43+
# Exclude internal modules from the published reactor. The
44+
# central-publishing plugin aggregates the whole reactor and does not
45+
# honor maven.deploy.skip, so drop them here (belt-and-suspenders with
46+
# the plugin's excludeArtifacts in the root pom).
47+
run: ./mvnw deploy -Prelease -DskipTests --batch-mode -ntp -pl '!integration-tests,!benchmark'
4448

4549
- name: Create GitHub release
4650
env:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# zstd-java
22

33
[![CI](https://github.com/dfa1/zstd-java/actions/workflows/ci.yml/badge.svg)](https://github.com/dfa1/zstd-java/actions/workflows/ci.yml)
4+
[![Maven Central](https://img.shields.io/maven-central/v/io.github.dfa1.zstd/zstd.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/io.github.dfa1.zstd/zstd)
45
![zstd](https://img.shields.io/badge/zstd-1.5.7-green.svg)
56
![Java](https://img.shields.io/badge/Java-25%2B-orange.svg)
67
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](LICENSE)
78

89
**zstd-java** is a Java wrapper for [Zstandard](https://github.com/facebook/zstd)
9-
built on the **Foreign Function & Memory (FFM) API** — no JNI, no hand-written C.
10+
built on the **Foreign Function & Memory (FFM) API** — no JNI, no `sun.misc.Unsafe`.
1011
It targets **JDK 25+** (for stable `java.lang.foreign`) and leads with the
1112
feature missing from most JVM zstd bindings: **dictionary compression**, trained
1213
straight from your own data.

0 commit comments

Comments
 (0)