From c90a1e3723458ea9f58ae4fe946fbac130b6986f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20M=C3=A9sz=C3=A1ros?= Date: Wed, 5 Aug 2026 20:05:59 +0200 Subject: [PATCH 1/2] fix: exclude the Kotlin sample from Maven Central publishing The module has no Java sources, so maven-javadoc-plugin attaches no javadoc jar to it and Central rejects the whole deployment with "Javadocs must be provided but not found in entries", which is what broke the 5.5.1 release. It only exists as a Kotlin interop E2E test, so keep it out of the published bundle. --- sample-operators/kotlin-operator/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/sample-operators/kotlin-operator/pom.xml b/sample-operators/kotlin-operator/pom.xml index 532aecbf1b..9a23bb9a02 100644 --- a/sample-operators/kotlin-operator/pom.xml +++ b/sample-operators/kotlin-operator/pom.xml @@ -34,6 +34,7 @@ 2.4.10 + true From 98e35e75ed20968ebab14f675a9ebdaf7128d2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20M=C3=A9sz=C3=A1ros?= Date: Wed, 5 Aug 2026 20:25:51 +0200 Subject: [PATCH 2/2] fix: exclude all samples from Maven Central publishing Replaces the skipPublishing property on the Kotlin sample with an excludeArtifacts list on central-publishing-maven-plugin, so the exclusion lives next to the publishing configuration, and extends it to every sample module: they are demos and end-to-end tests, not artifacts to depend on. --- pom.xml | 14 ++++++++++++++ sample-operators/kotlin-operator/pom.xml | 1 - 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f205805471..ecd3a7bbaf 100644 --- a/pom.xml +++ b/pom.xml @@ -642,6 +642,20 @@ true true published + + + sample-operators + sample-controller-namespace-deletion + sample-kotlin-operator + sample-leader-election + sample-mysql-schema-operator + sample-operations + sample-tomcat-operator + sample-webpage-operator + diff --git a/sample-operators/kotlin-operator/pom.xml b/sample-operators/kotlin-operator/pom.xml index 9a23bb9a02..532aecbf1b 100644 --- a/sample-operators/kotlin-operator/pom.xml +++ b/sample-operators/kotlin-operator/pom.xml @@ -34,7 +34,6 @@ 2.4.10 - true