-
Notifications
You must be signed in to change notification settings - Fork 0
Release all reactor libraries from the tag-driven release #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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). | ||
|
Comment on lines
+57
to
+59
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
If the later Useful? React with 👍 / 👎. |
||
|
|
||
| ## Docker Image | ||
|
|
||
| Pre-built distroless container image available on GitHub Container Registry: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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+ | | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Consumers running the published Useful? React with 👍 / 👎. |
||
| | [`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:<version>`. | ||
|
|
||
| This repo is organized into the following modules: | ||
|
|
||
| | Module | What it is | JDK | | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a version already has only the parent/core artifacts published—for example, after rerunning a tag first released by the former JDK 21 workflow—any failure from the newly activated codegen or
jtd2jarmodules reaches the existing fallback, which checks onlyparentandjava.util.jsonand then reports success. The job can therefore complete while the two modules this change intends to publish remain absent; extend the idempotency check to cover every newly activated artifact before accepting the failed deploy.Useful? React with 👍 / 👎.