One build for every Krizaka JVM artifact.
The parent POM, the BOM and the test kit behind every com.krizaka artifact: complete Central metadata, Java 21
conventions checked on every build, and a signed release in one command (published nowhere public for now, see below).
Documentation · Open source at Krizaka · Website · Krizaka on GitHub
Renamed on 2026-11-06. This repository was
krizaka-build(GitHub redirects the old address). The family version property iskrizaka-java.version(waskrizaka-build.version), the folderkrizaka-platform-kitiskrizaka-service-kit(artifactcom.krizaka:krizaka-service-kit; the old aggregator stays published, deprecated) and the Sonar project iskrizaka_krizaka-java. Coordinates of the modules themselves did not change.
| Artifact | Packaging | Role |
|---|---|---|
com.krizaka:krizaka-parent |
pom | Maven Central metadata (licence, developers, SCM, issues), Java 21, google-java-format checked at validate, unit tests (Surefire) and integration tests (Failsafe, *IT), JaCoCo, an enforced toolchain (Maven ≥ 3.9, Java ≥ 21, every plugin pinned), and the release profile. |
com.krizaka:krizaka-bom |
pom | Every com.krizaka artifact, at the release of each repository this BOM was tested with: the compatible set. Import it once; it never changes a third-party version. |
com.krizaka:krizaka-test-support |
jar (test scope) | The governance kit of the Krizaka repositories: CodeRules (hexagonal layering, one class per file, constructor injection, private state, mappers, domain purity), ReuseRules (no local copy of a krizaka-java type, no bypass of a facade: the public types are generated into META-INF/krizaka/public-types.txt, the facades declared in each module's META-INF/krizaka/facades.properties), SourceRules (no Environment injection, virtual threads), ConfigBindingRules (beans and configuration types Spring can build), InitDb (locates infra/initdb), AbstractContainerIntegrationTest (one shared PostgreSQL + RabbitMQ per run, wired into Spring), ServiceRoles (Testcontainers) and EventContractTest (an event serialised by its producer, or read by a consumer's copy, checked against the JSON Schema its -api publishes at events/<routing-key>.v<n>.json, draft 2020-12). Every rule fails on an empty population — a rule that judges nothing passes nothing. |
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.krizaka</groupId>
<artifactId>krizaka-bom</artifactId>
<version>0.2.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.krizaka</groupId>
<artifactId>krizaka-security</artifactId>
</dependency>
</dependencies>BOM 0.2.0 and the domain blocks.
krizaka-bom:0.2.0manageskrizaka-users-*,krizaka-notifications-apiandkrizaka-billing-*at 0.2.0, which is not on Maven Central yet (November). Until BOM 0.3.0, declare them with<version>0.1.0</version>, their published release (#11).
The BOM deliberately carries only Krizaka artifacts. The parent therefore has no <dependencyManagement> of its own:
a BOM imports its parent's managed versions, and importing krizaka-bom must never pin a Spring version you did not
choose. The artifacts are built and tested against Spring Boot 4.0.x (property spring-boot.version).
<parent>
<groupId>com.krizaka</groupId>
<artifactId>krizaka-parent</artifactId>
<version>0.2.0</version>
<relativePath/>
</parent>| Command | What runs |
|---|---|
./mvnw verify |
formatting check, compile with -Xlint:all, unit and integration tests, coverage report |
./mvnw spotless:apply |
formats the sources (google-java-format) |
./mvnw verify -Prelease -Dgpg.skip |
everything Central requires except the signature: sources and javadoc jars (javadoc is linted), and the binary compatibility of every jar with its latest release (japicmp) |
./mvnw deploy -Prelease,registry-central |
signs every file and uploads the deployment to the Central Portal |
A release is published nowhere until the Spaces repository exists (founder, 2026-11-14; krizaka-internal#3345): our builds
stop depending on Maven Central. A v* tag (release-please) builds and verifies the whole reactor from CI and deploys
nothing: ci.yml passes registry: none to the organisation's maven.yml and passes no MAVEN_CENTRAL_* or MAVEN_GPG_*
secret (scripts/ci-deploy-inputs.test.mjs fails otherwise). The scheduled published check and the release job then report
« not published: no registry (krizaka-internal#3345) » and stay green. Maven Central only comes back by passing
registry: central explicitly, for the monthly public release (krizaka-internal#3343); the Central steps below apply then.
Versions 0.3 to 0.11 were published to GitHub Packages only (ADR-019, now abandoned for Maven) and are never republished. A consumer pins a version that exists on a registry it can read.
Guard — scripts/check-bom-released.mjs (CI job bom-released) fails when krizaka-bom manages a building block
version that has no v<version> tag in its repository; krizaka-users, krizaka-notifications and krizaka-billing
are listed there until their first release (the list only shrinks).
Each Krizaka JVM repository has its own SemVer version; krizaka-bom carries the compatible
set — one property per repository (krizaka-service-kit.version, …) names the release it was tested with.
- Conventional Commits — pull request titles are checked by
commitlint(the squash merge keeps the title). - release-please keeps a release pull request open on
main(pom.xmlversions, CHANGELOG). Merging it tagsv<version>, creates the GitHub Release and dispatches CI on the tag (a tag pushed byGITHUB_TOKENstarts no workflow by itself), which runs the organisation pipelinekrizaka/.github/.github/workflows/maven.yml: verify, and withregistry: centralonly, sign and upload. After a release, release-please proposes the next-SNAPSHOT. - Order — Central validates a POM against its parent on Central: release
krizaka-javafirst and publish it; then movekrizaka-parent(andkrizaka-java.version) in the repositories built on it to that release, and release them (krizaka-service-kit, then the domain services). Before taggingkrizaka-java, set each BOM property to the version of that repository it ships with. - Binary compatibility — the
releaseprofile compares every jar with its latest release on Central (japicmp) and fails on a binary-incompatible change. A deliberate break (a major, or a minor before 1.0) setsjapicmp.breakBuildOnBinaryIncompatibleModifications=falsein that repository for that release. - Signature — the Bouncy Castle signer of
maven-gpg-pluginreadsMAVEN_GPG_KEY(ASCII-armoured private key) andMAVEN_GPG_PASSPHRASE; nogpgbinary is needed. - Upload —
central-publishing-maven-plugin, server idcentral, a Central Portal user token inMAVEN_CENTRAL_USERNAME/MAVEN_CENTRAL_PASSWORD. Secrets live in the organisation, never in a repository. - Publication is manual —
central.autoPublishdefaults tofalse: the deployment is validated, then waits on central.sonatype.com until someone presses Publish. A release on Central can never be deleted, so it is checked by eye first. Pass-Dcentral.autoPublish=trueonce the process is trusted.
Releasing by hand works the same way:
export MAVEN_GPG_KEY="$(gpg --armor --export-secret-keys <key-id>)" MAVEN_GPG_PASSPHRASE=…
./mvnw versions:set -DnewVersion=0.1.0 -DprocessAllModules -DgenerateBackupPoms=false
./mvnw deploy -Prelease # with the `central` server in ~/.m2/settings.xmlIssues and pull requests are welcome — see the organisation's
contributing guide and
security policy. main is protected: every change is a pull
request with a green CI.
What runs in the Actions tab of this repository.
- Bump @krizaka packages (
bump-krizaka.yml): Opens one auto-merged PR that bumps the @krizaka packages after a release. Runs when another repository triggers it, on demand. - CI (
ci.yml): Lint, tests and build of the repository. Runs on push, on every pull request, in the merge queue, on demand. - PR title lint (
commitlint.yml): Checks that the PR title is a Conventional Commit. Runs on every pull request. - Dependabot auto-merge (
dependabot-automerge.yml): Auto-merges safe Dependabot updates. Runs on every pull request. - Docs map (
docs-map.yml): Checks the docs map of the repository. Runs on every pull request. - Merge resolution (
merge-resolution.yml): Fails a PR that drops what main added without a deletion-explained line. Runs on every pull request. - Post-deploy check (
post-deploy.yml): Waits for the live site to serve the new build, then pings IndexNow. Runs on push, on demand. - Maven Central check (
published-check.yml): Checks the latest release is on Maven Central. Runs on a schedule, on demand. - Release PR (
release-please.yml): Keeps one release PR open from the merged commits; its merge tags the release. Runs on push. - Scorecard (
scorecard.yml): OpenSSF Scorecard of the repository. Runs when branch rules change, on a schedule, on demand. - Security scan (
security.yml): Secret scan (gitleaks) and workflow scan (zizmor); both are required checks. Runs on every pull request, in the merge queue, on push. - Docs site (
site.yml): Lints, tests and builds the documentation site. Runs on push, on every pull request, in the merge queue, on demand, on a schedule.
Apache License 2.0 © 2026 Krizaka
A Krizaka open-source project · krizaka.com · Apache-2.0
The Krizaka names and birds are not licensed by Apache-2.0 (s. 6): trademark policy.