From a88caf98f8e52fc336fdd9697ef64cb956f623ac Mon Sep 17 00:00:00 2001 From: Gal Ovadia Date: Mon, 16 Mar 2026 19:32:32 -0400 Subject: [PATCH] fix: Maven Central publishing after OSSRH migration The new Central Portal has stricter artifact validation than the old OSSRH. This fixes the deploy step that runs when release:prepare pushes the release commit back to main: - Add to child POMs (now required by Central Portal) - Change test module to pom packaging so it no longer produces an empty JAR that fails Central validation - Remove skipNexusStagingDeployMojo from test module (was preventing deploy-at-end from triggering since test is the last reactor module) Signed-off-by: Gal Ovadia --- api/pom.xml | 1 + cache/pom.xml | 1 + server/pom.xml | 1 + test/pom.xml | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/api/pom.xml b/api/pom.xml index 79f6c572..9a6c2280 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -9,6 +9,7 @@ api + api true diff --git a/cache/pom.xml b/cache/pom.xml index ab03820d..99d47f6b 100644 --- a/cache/pom.xml +++ b/cache/pom.xml @@ -9,6 +9,7 @@ cache + cache diff --git a/server/pom.xml b/server/pom.xml index bd8e1869..19cad2c2 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -9,6 +9,7 @@ server + server diff --git a/test/pom.xml b/test/pom.xml index 7017e379..6f9bce1c 100644 --- a/test/pom.xml +++ b/test/pom.xml @@ -9,10 +9,11 @@ test + test + pom true - true