From 54e509c10a23f642b94623daa9f82affed8aa634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mat=C4=9Bj=C4=8Dek?= Date: Wed, 3 Jun 2026 22:46:11 +0200 Subject: [PATCH] CycloneDX files moved to release profiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - They are not useful for us in development, but they are required to be published to Maven Central. - The sbom profile was enabled by default, we had to override it - -Dcyclonedx.skip would skip the plugin execution - -Dcyclonedx.skipAttach executes the plugin, but doesn't deploy files. - Tested locally -Poss-release or -Pstage-release enable it Signed-off-by: David Matějček --- parent/pom.xml | 72 ++++++++++++++++++++++++++------------------------ 1 file changed, 38 insertions(+), 34 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 1426492..e13d2d5 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -166,40 +166,6 @@ - - - - sbom - - - !skipSBOM - - - - - - org.cyclonedx - cyclonedx-maven-plugin - - 1.4 - library - - - false - - - - package - - makeAggregateBom - - - - - - - - + + false + + + + package + + makeAggregateBom + + + + org.apache.maven.plugins maven-gpg-plugin @@ -376,6 +361,25 @@ + + org.cyclonedx + cyclonedx-maven-plugin + + 1.4 + library + + + false + + + + package + + makeAggregateBom + + + + org.apache.maven.plugins maven-gpg-plugin