From 9d00a7c1b6c479729c3cb974fe8fe5427651716f Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 30 Nov 2023 22:16:39 +1000 Subject: [PATCH] Issue #9502 Configure sbom plugin to produce sbom for jetty-home and include it in the distribution (#10877) * sbom for jetty home only * include the sbom in the distribution * included sbom cyclonedx to have same name as deployed to Maven central --------- Signed-off-by: Olivier Lamy --- jetty-home/pom.xml | 17 +++++++++++++++++ jetty-home/src/main/assembly/jetty-assembly.xml | 7 +++++++ pom.xml | 13 +++++++++++++ 3 files changed, 37 insertions(+) diff --git a/jetty-home/pom.xml b/jetty-home/pom.xml index e4c395f5571..714e29a83aa 100644 --- a/jetty-home/pom.xml +++ b/jetty-home/pom.xml @@ -597,6 +597,23 @@ + + org.cyclonedx + cyclonedx-maven-plugin + + + cyclonedx-makeAggregateBom + + makeAggregateBom + + prepare-package + false + + ${project.artifactId}-${project.version}-cyclonedx + + + + diff --git a/jetty-home/src/main/assembly/jetty-assembly.xml b/jetty-home/src/main/assembly/jetty-assembly.xml index 3c842d53e4e..f6386c4f7a7 100644 --- a/jetty-home/src/main/assembly/jetty-assembly.xml +++ b/jetty-home/src/main/assembly/jetty-assembly.xml @@ -35,5 +35,12 @@ 0555 + + ${project.build.directory} + + + *cyclonedx.* + + diff --git a/pom.xml b/pom.xml index b9508a43629..5ded45bfd8f 100644 --- a/pom.xml +++ b/pom.xml @@ -174,6 +174,7 @@ 17 17 2.5.2 + 2.7.10 1.5.0 3.4.2 1.0.0-v20070606 @@ -1661,6 +1662,18 @@ true + + org.cyclonedx + cyclonedx-maven-plugin + ${cyclonedx.maven.plugin.version} + + true + true + true + true + false + + org.eclipse.jetty.toolchain jetty-version-maven-plugin