https://github.com/telegraphic-dev/jbx-utils
Sidecar Java utilities for jbx tool
https://github.com/telegraphic-dev/jbx-utils
Last synced: about 1 month ago
JSON representation
Sidecar Java utilities for jbx tool
- Host: GitHub
- URL: https://github.com/telegraphic-dev/jbx-utils
- Owner: telegraphic-dev
- License: mit
- Created: 2026-05-28T07:58:12.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-05-29T12:54:41.000Z (about 1 month ago)
- Last Synced: 2026-05-29T14:18:04.414Z (about 1 month ago)
- Language: Java
- Homepage: https://jbx.telegraphic.dev
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jbx-utils
Sidecar Java utilities used by `jbx` commands. Each helper is a separate Maven artifact so consumers only download the dependencies they actually need.
## Artifacts
```text
dev.telegraphic.jbx:jbx-check:
dev.telegraphic.jbx:jbx-graph:
dev.telegraphic.jbx:jbx-rewrite:
```
- `jbx-check` contains `dev.telegraphic.jbx.check.JbxCheckCompiler`, a dependency-free Compiler API wrapper used by `jbx check`.
- `jbx-graph` contains `dev.telegraphic.jbx.graph.JbxGraph`, a JavaParser native JSON dump/import helper used by `jbx graph`.
- `jbx-rewrite` contains `dev.telegraphic.jbx.rewrite.JbxRewrite`, an OpenRewrite runner and recipe-discovery helper used by `jbx rewrite`.
## Local verification
```bash
scripts/smoke-check.sh
scripts/verify-publish-bundle.sh
```
`verify-publish-bundle.sh` uses `jbx publish --dry-run --skip-signing` for both projects, checks the Maven Central bundle layout, and verifies each jar contains only its own helper class.
## Publishing
Publishing is handled by `.github/workflows/publish.yml` on a GitHub release or manual workflow dispatch. The workflow imports the signing key, builds and publishes both artifacts with `jbx publish --publish`, uploads them to Maven Central, and waits for publication.
Required GitHub secrets:
- `CENTRAL_TOKEN_USERNAME`
- `CENTRAL_TOKEN_PASSWORD`
- `GPG_PRIVATE_KEY`
- `GPG_PASSPHRASE`