From 034d77b5ac303d74c9b98c8abcfc9aef59fafd71 Mon Sep 17 00:00:00 2001 From: James Maes Date: Thu, 5 Nov 2026 10:41:02 -0600 Subject: [PATCH] build: make the reactor root the single version source of every module The release pipeline rewrites only in the ROOT pom.xml (the pinned legacy calculate_version.sh) and nothing passes -Drevision (java-verify runs plain `mvn verify` with MAVEN_ARGS only from caller inputs), but every module declared its own 0.1.0-SNAPSHOT and did not inherit the root. After an RC rewrite the root would say the RC while the modules still built as the SNAPSHOT, so capture (target/-.jar) would find no JAR and the publisher (one version per reactor) would reject the reactor. Standard Maven CI-friendly inheritance: the root takes the modules' own former parent (qbit-build-parent 2.0.0, identical for all four modules), every module's parent becomes the root (version ${revision}, relativePath ../pom.xml) and the per-module properties are removed. Each module's inherited build configuration is unchanged (child -> root -> the same qbit-build-parent); modules still build on their own through the relative parent. Metadata audit: the root declares Apache-2.0 and base declares it too (unchanged); rdbms, middleware and github declared no license and inherited qbit-build-parent's AGPL-3.0, so they now state that same license explicitly to keep their published metadata exactly as before (the repository LICENSE is Apache: whether those three should be Apache is an owner decision, not changed here). All GAVs, module boundaries, flatten plugin, dependencies, tests and sources are unchanged. Co-Authored-By: Claude Sonnet 5.5 --- base/pom.xml | 3 +-- github/pom.xml | 5 +++-- middleware/pom.xml | 5 +++-- pom.xml | 6 +++++- rdbms/pom.xml | 5 +++-- 5 files changed, 15 insertions(+), 9 deletions(-) diff --git a/base/pom.xml b/base/pom.xml index ad85a70..02a85ed 100644 --- a/base/pom.xml +++ b/base/pom.xml @@ -2,7 +2,7 @@ 4.0.0 - com.kingsrookqbit-build-parent2.0.0 + com.kingsrook.qbitsqbit-scripting-reactor${revision}../pom.xml com.kingsrook.qbits qbit-scripting ${revision} @@ -10,7 +10,6 @@ QQQ QBit: shared compiled-TypeScript script projects, immutable builds, capability broker and record hooks. Execution requires an external isolated worker. Apache License, Version 2.0https://www.apache.org/licenses/LICENSE-2.0 - 0.1.0-SNAPSHOT 21 UTF-8 4.1.0-RC.214.1.0-RC.21 diff --git a/github/pom.xml b/github/pom.xml index 1d90a70..94486b5 100644 --- a/github/pom.xml +++ b/github/pom.xml @@ -1,9 +1,10 @@ 4.0.0 - com.kingsrookqbit-build-parent2.0.0 + com.kingsrook.qbitsqbit-scripting-reactor${revision}../pom.xml com.kingsrook.qbitsqbit-scripting-github${revision} - 0.1.0-SNAPSHOT21none4.1.0-RC.214.1.0-RC.21 + GNU Affero General Public License v3.0https://www.gnu.org/licenses/agpl-3.0-standalone.htmlrepo + 21none4.1.0-RC.214.1.0-RC.21 com.kingsrook.qqqqqq-backend-core${qqq.core.version} com.kingsrook.qqqqqq-backend-module-rdbms${qqq.core.version} diff --git a/middleware/pom.xml b/middleware/pom.xml index 018b9c2..9fad01f 100644 --- a/middleware/pom.xml +++ b/middleware/pom.xml @@ -1,9 +1,10 @@ 4.0.0 - com.kingsrookqbit-build-parent2.0.0 + com.kingsrook.qbitsqbit-scripting-reactor${revision}../pom.xml com.kingsrook.qbitsqbit-scripting-middleware${revision} - 0.1.0-SNAPSHOT21none4.1.0-RC.214.1.0-RC.21 + GNU Affero General Public License v3.0https://www.gnu.org/licenses/agpl-3.0-standalone.htmlrepo + 21none4.1.0-RC.214.1.0-RC.21 com.kingsrook.qqqqqq-backend-core${qqq.core.version} com.kingsrook.qqqqqq-backend-module-rdbms${qqq.core.version} diff --git a/pom.xml b/pom.xml index 7060a19..fe1b625 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,11 @@ 4.0.0 - + + com.kingsrookqbit-build-parent2.0.0 com.kingsrook.qbits qbit-scripting-reactor ${revision} diff --git a/rdbms/pom.xml b/rdbms/pom.xml index a897f9b..3f7ca9b 100644 --- a/rdbms/pom.xml +++ b/rdbms/pom.xml @@ -1,9 +1,10 @@ 4.0.0 - com.kingsrookqbit-build-parent2.0.0 + com.kingsrook.qbitsqbit-scripting-reactor${revision}../pom.xml com.kingsrook.qbitsqbit-scripting-rdbms${revision} - 0.1.0-SNAPSHOT21none4.1.0-RC.214.1.0-RC.214.1.0-RC.21 + GNU Affero General Public License v3.0https://www.gnu.org/licenses/agpl-3.0-standalone.htmlrepo + 21none4.1.0-RC.214.1.0-RC.214.1.0-RC.21 com.kingsrook.qqqqqq-backend-core${qqq.core.version}