diff --git a/Jenkinsfile b/Jenkinsfile index 53289f5c..5fb9b6ac 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,7 +40,8 @@ pipeline { deployer.addonNightlyDropins("${WORKSPACE}/releng/org.polarsys.capella.docgen.site/target/*-dropins-*.zip", deploymentDirName) deployer.addonNightlyUpdateSite("${WORKSPACE}/releng/org.polarsys.capella.docgen.site/target/repository/*", deploymentDirName) - deployer.addonNightlyUpdateSite("${WORKSPACE}/releng/org.polarsys.capella.docgen.site/target/*-updateSite-*.zip", deploymentDirName) + deployer.addonNightlyUpdateSite("${WORKSPACE}/releng/org.polarsys.capella.docgen.site/target/*-updateSite-*.zip", deploymentDirName) + deployer.addonNightlyUpdateSite("${WORKSPACE}/releng/org.polarsys.capella.docgen.site/target/bom.json", deploymentDirName) currentBuild.description = "${deploymentDirName} - drop-in - update-site" } diff --git a/pom.xml b/pom.xml index 60e8970f..13e28c61 100644 --- a/pom.xml +++ b/pom.xml @@ -22,8 +22,8 @@ pom - 2.7.5 - 2.7.5 + 4.0.9 + 4.0.9 scm:git:http://git.polarsys.org/c/capella/capella-xhtml-docgen.git 1.7 0.8.10 @@ -223,9 +223,9 @@ - org.eclipse.tycho.extras - tycho-source-feature-plugin - ${tycho-extras-version} + org.eclipse.tycho + tycho-source-plugin + ${tycho-version} false @@ -237,10 +237,10 @@ - source-feature + feature-source ${sourcePhase} - source-feature + feature-source @@ -284,9 +284,9 @@ - org.eclipse.tycho.extras - tycho-eclipserun-plugin - ${tycho-extras-version} + org.eclipse.tycho + tycho-eclipse-plugin + ${tycho-version} @@ -322,7 +322,14 @@ eclipse-run - -application org.eclipse.equinox.p2.repository.repo2runnable -source file:${project.build.directory}/repository -destination ${project.build.directory}/${packagedAddonName}/eclipse + + -application + org.eclipse.equinox.p2.repository.repo2runnable + -source + file:${project.build.directory}/repository + -destination + ${project.build.directory}/${packagedAddonName}/eclipse + @@ -379,6 +386,31 @@ + + + org.cyclonedx + cyclonedx-maven-plugin + 2.8.1 + + 1.5 + + + + org.eclipse.tycho + tycho-sbom + ${tycho-version} + + + + + create-bom + package + + makeBom + + + + diff --git a/releng/org.polarsys.capella.docgen.site/pom.xml b/releng/org.polarsys.capella.docgen.site/pom.xml index 746603a2..8af9697e 100644 --- a/releng/org.polarsys.capella.docgen.site/pom.xml +++ b/releng/org.polarsys.capella.docgen.site/pom.xml @@ -27,8 +27,8 @@ - org.eclipse.tycho.extras - tycho-eclipserun-plugin + org.eclipse.tycho + tycho-eclipse-plugin ${tycho-version} @@ -46,6 +46,16 @@ + + + org.cyclonedx + cyclonedx-maven-plugin + + + create-bom + + + diff --git a/releng/org.polarsys.capella.docgen.target/pom.xml b/releng/org.polarsys.capella.docgen.target/pom.xml index dfecc9f7..681fa20f 100644 --- a/releng/org.polarsys.capella.docgen.target/pom.xml +++ b/releng/org.polarsys.capella.docgen.target/pom.xml @@ -33,8 +33,8 @@ - 2.7.5 - 2.7.5 + 4.0.9 + 4.0.9 2023-03 https://download.eclipse.org/cbi/updates/tpd/nightly/latest capella.target-definition.targetplatform @@ -44,9 +44,9 @@ - org.eclipse.tycho.extras - tycho-eclipserun-plugin - ${tycho-extras-version} + org.eclipse.tycho + tycho-eclipse-plugin + ${tycho-version} @@ -78,10 +78,12 @@ generate.target validate + + -application + ${converterApplication.name} + tp/${targetPlatform.name} + JavaSE-17 - - -application ${converterApplication.name} tp/${targetPlatform.name} - eclipse-run diff --git a/releng/org.polarsys.capella.docgen.target/tp/capella.target-definition.targetplatform b/releng/org.polarsys.capella.docgen.target/tp/capella.target-definition.targetplatform index 343f5115..74dd0240 100644 --- a/releng/org.polarsys.capella.docgen.target/tp/capella.target-definition.targetplatform +++ b/releng/org.polarsys.capella.docgen.target/tp/capella.target-definition.targetplatform @@ -19,7 +19,7 @@ location capella-master "https://download.eclipse.org/capella/core/updates/relea org.polarsys.capella.rcp.feature.group lazy } -location kitalpha-docgen-master "https://download.eclipse.org/kitalpha/updates/nightly/sdk/master" { +location kitalpha-sdk-7.0 "https://download.eclipse.org/kitalpha/updates/stable/sdk/7.0.0.20240612" { org.polarsys.kitalpha.doc.gen.business.core.feature.feature.group lazy org.polarsys.kitalpha.doc.gen.business.core.feature.source.feature.group lazy }