Skip to content

Commit 8189253

Browse files
committed
Issue #165 publish and advertise all reactor libraries on release
The release workflow deployed on JDK 21, so the jtd-codegen profile ([24,)) never activated and json-java21-jtd-codegen plus jtd2jar were silently absent from Central publishes. The deploy step now runs on JDK 25 (matching the daily CI matrix), the GitHub Release body lists every Maven coordinate, and README gains a Published Artifacts section mapping each coordinate to its purpose and runtime.
1 parent 1a77f90 commit 8189253

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

‎.github/workflows/release-on-tag.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727
uses: actions/setup-java@v4
2828
with:
2929
distribution: temurin
30-
java-version: '21'
30+
# JDK 25 activates the jtd-codegen profile ([24,)) so the
31+
# json-java21-jtd-codegen and jtd2jar modules join the reactor
32+
# and are published too (issue #165).
33+
java-version: '25'
3134
cache: maven
3235
server-id: central
3336
# setup-java expects ENVIRONMENT VARIABLE NAMES here, not values;
@@ -51,6 +54,10 @@ jobs:
5154
tag_name: ${{ github.ref_name }}
5255
generate_release_notes: true
5356
body: |
57+
## Maven Central Artifacts
58+
59+
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).
60+
5461
## Docker Image
5562
5663
Pre-built distroless container image available on GitHub Container Registry:

‎README.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ References:
99
This project is not an official release; APIs and behaviour may change as upstream evolves.
1010
You can find this code on [Maven Central](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json).
1111

12+
## Published Artifacts
13+
14+
Every tagged release publishes all reactor modules to Maven Central under `io.github.simbo1905.json` (version = release date, e.g. `2026.08.30`):
15+
16+
| Artifact | Purpose | Runtime |
17+
|---|---|---|
18+
| [`java.util.json`](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json) | Core JSON API (incubator backport) | JDK 21+ |
19+
| [`java.util.json.jsonpath`](https://central.sonatype.com/artifact/io.github.simbo1905.json/java.util.json.jsonpath) | JsonPath query engine over `JsonValue` | JDK 21+ |
20+
| [`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+ |
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+ |
22+
| [`jtd2jar`](https://central.sonatype.com/artifact/io.github.simbo1905.json/jtd2jar) | Compiles a JTD schema into a standalone validator JAR | JDK 21+ |
23+
| [`json-compatibility-suite`](https://central.sonatype.com/artifact/io.github.simbo1905.json/json-compatibility-suite) | JSON Test Suite compatibility validation | JDK 21+ |
24+
| [`json-java21-api-tracker`](https://central.sonatype.com/artifact/io.github.simbo1905.json/json-java21-api-tracker) | Upstream API drift tracking | JDK 21+ |
25+
26+
The `jtd2jar` distroless container image is additionally published to GHCR: `ghcr.io/simbo1905/java.util.json.java21/jtd2jar:<version>`.
27+
1228
This repo is organized into the following modules:
1329

1430
| Module | What it is | JDK |

0 commit comments

Comments
 (0)