From b0b89b2ebb1d3c2cd19b8cfcffe3b5a41620f070 Mon Sep 17 00:00:00 2001 From: Arnaud Dieumegard Date: Mon, 4 Oct 2021 11:29:25 +0200 Subject: [PATCH] #25 Setup jarsigner and use version >= 1.3.0 Change-Id: Ia98c0fda232e0e791368afb96d93e71b92a16d4b --- Jenkinsfile | 2 +- pom.xml | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index de897c0..1130a75 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ pipeline { wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) { script { def jacocoPrepareAgent = "-Djacoco.destFile=$JACOCO_EXEC_FILE_PATH -Djacoco.append=true org.jacoco:jacoco-maven-plugin:$JACOCO_VERSION:prepare-agent" - sh 'mvn -Dmaven.test.failure.ignore=true ${jacocoPrepareAgent} clean verify -P introspector -e -f pom.xml' + sh 'mvn -Dmaven.test.failure.ignore=true ${jacocoPrepareAgent} clean verify -P introspector -P sign -e -f pom.xml' } } } diff --git a/pom.xml b/pom.xml index 0f277d9..339eca7 100644 --- a/pom.xml +++ b/pom.xml @@ -90,6 +90,69 @@ + + sign + + + BUILD_SIGN + true + + + + + + org.eclipse.cbi.maven.plugins + eclipse-jarsigner-plugin + 1.3.2 + + + sign + package + + sign + + + + + + org.eclipse.tycho + tycho-p2-plugin + ${tycho-version} + + + default-p2-metadata-default + + false + + + + attach-p2-metadata + package + + p2-metadata + + + + + false + + + + + + + + cbi + https://repo.eclipse.org/content/repositories/cbi-releases/ + + true + + + false + + + +