From 2fe63e77d609cddd2d046ab0c0ade084e6f3908d Mon Sep 17 00:00:00 2001 From: Philippe DUL Date: Fri, 27 Sep 2024 13:45:15 +0200 Subject: [PATCH] #2901 Generate a BOM for Capella --- Jenkinsfile | 3 ++- .../org.polarsys.capella.rcp.product/pom.xml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f655ec13ee..aa98388f80 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -106,12 +106,13 @@ pipeline { deployer.capellaNightlyProduct("${WORKSPACE}/releng/plugins/org.polarsys.capella.rcp.product/target/products/capella-*.zip", deploymentDirName) deployer.capellaNightlyProduct("${WORKSPACE}/releng/plugins/org.polarsys.capella.rcp.product/target/products/capella-*.gz", deploymentDirName) + deployer.capellaNightlyProduct("${WORKSPACE}/releng/plugins/org.polarsys.capella.rcp.product/target/bom.json", deploymentDirName) deployer.capellaNightlyUpdateSite("${WORKSPACE}/releng/plugins/org.polarsys.capella.test.site/target/repository/**", "${deploymentDirName}/org.polarsys.capella.test.site") deployer.capellaNightlyUpdateSite("${WORKSPACE}/releng/plugins/org.polarsys.capella.egf.site/target/repository/**", "${deploymentDirName}/org.polarsys.capella.egf.site") deployer.capellaNightlyUpdateSite("${WORKSPACE}/releng/plugins/org.polarsys.capella.rcp.site/target/repository/**", "${deploymentDirName}/org.polarsys.capella.rcp.site") deployer.capellaNightlyUpdateSite("${WORKSPACE}/releng/plugins/org.polarsys.capella.targets/full/*", "${deploymentDirName}/targets") - + currentBuild.description = "${BUILD_KEY} - build - product" } } } diff --git a/releng/plugins/org.polarsys.capella.rcp.product/pom.xml b/releng/plugins/org.polarsys.capella.rcp.product/pom.xml index b32dc8b2df..4666040c5a 100644 --- a/releng/plugins/org.polarsys.capella.rcp.product/pom.xml +++ b/releng/plugins/org.polarsys.capella.rcp.product/pom.xml @@ -30,6 +30,23 @@ eclipse-repository + + org.cyclonedx + cyclonedx-maven-plugin + 2.8.1 + + 1.5 + application + + + + package + + makeBom + + + + org.eclipse.tycho tycho-p2-director-plugin