diff --git a/.github/workflows/release-on-tag.yml b/.github/workflows/release-on-tag.yml index 1f019380..60d9e949 100644 --- a/.github/workflows/release-on-tag.yml +++ b/.github/workflows/release-on-tag.yml @@ -27,7 +27,10 @@ jobs: uses: actions/setup-java@v4 with: distribution: temurin - java-version: '21' + # JDK 25 activates the jtd-codegen profile ([24,)) so the + # json-java21-jtd-codegen and jtd2jar modules join the reactor + # and are published too (issue #165). + java-version: '25' cache: maven server-id: central # setup-java expects ENVIRONMENT VARIABLE NAMES here, not values; @@ -51,6 +54,10 @@ jobs: tag_name: ${{ github.ref_name }} generate_release_notes: true body: | + ## Maven Central Artifacts + + All reactor modules are published under `io.github.simbo1905.json` at version `${{ steps.version.outputs.version }}`: [`java.util.json`](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json), [`java.util.json.jsonpath`](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json.jsonpath), [`java.util.json.jtd`](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json.jtd), [`java.util.json.jtd.codegen`](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json.jtd.codegen), [`jtd2jar`](https://central.sonatype.com/artifact/io.github.simbo1905.json/jtd2jar), [`json-compatibility-suite`](https://central.sonatype.com/artifact/io.github.simbo1905.json/json-compatibility-suite), [`json-java21-api-tracker`](https://central.sonatype.com/artifact/io.github.simbo1905.json/json-java21-api-tracker). + ## Docker Image Pre-built distroless container image available on GitHub Container Registry: diff --git a/README.md b/README.md index bb58b0d5..0ce9beea 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,22 @@ References: This project is not an official release; APIs and behaviour may change as upstream evolves. You can find this code on [Maven Central](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json). +## Published Artifacts + +Every tagged release publishes all reactor modules to Maven Central under `io.github.simbo1905.json` (version = release date, e.g. `2026.08.30`): + +| Artifact | Purpose | Runtime | +|---|---|---| +| [`java.util.json`](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json) | Core JSON API (incubator backport) | JDK 21+ | +| [`java.util.json.jsonpath`](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json.jsonpath) | JsonPath query engine over `JsonValue` | JDK 21+ | +| [`java.util.json.jtd`](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json.jtd) | JSON Type Definition validator (RFC 8927) | JDK 21+ | +| [`java.util.json.jtd.codegen`](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json.jtd.codegen) | Codegen validators (~9x faster than the interpreter) | JDK 25+ | +| [`jtd2jar`](https://central.sonatype.com/artifact/io.github.simbo1905.json/jtd2jar) | Compiles a JTD schema into a standalone validator JAR | JDK 21+ | +| [`json-compatibility-suite`](https://central.sonatype.com/artifact/io.github.simbo1905.json/json-compatibility-suite) | JSON Test Suite compatibility validation | JDK 21+ | +| [`json-java21-api-tracker`](https://central.sonatype.com/artifact/io.github.simbo1905.json/json-java21-api-tracker) | Upstream API drift tracking | JDK 21+ | + +The `jtd2jar` distroless container image is additionally published to GHCR: `ghcr.io/simbo1905/java.util.json.java21/jtd2jar:`. + This repo is organized into the following modules: | Module | What it is | JDK |