diff --git a/Jenkinsfile b/Jenkinsfile index 79908af2d2..9404c99b2a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -59,7 +59,7 @@ spec: container('container') { withCredentials([string(credentialsId: "${GITHUB_API_CREDENTIALS_ID}", variable: 'GITHUB_API_TOKEN')]) { wrap([$class: 'Xvnc', useXauthority: true]) { - sh """mvn clean verify -B -fae -Dtycho.disableP2Mirrors=true -Ddownload.cache.skip=true -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true ${env.BRANCH_NAME=='master' ? '-Psign': ''} -Dmaven.repo.local=$WORKSPACE/.m2/repository -Dgithub.api.token="${GITHUB_API_TOKEN}" """ + sh """mvn clean verify -B -fae -Dtycho.disableP2Mirrors=true -Ddownload.cache.skip=true -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Psign -Dmaven.repo.local=$WORKSPACE/.m2/repository -Dgithub.api.token="${GITHUB_API_TOKEN}" """ } } } diff --git a/org.eclipse.wildwebdeveloper/pom.xml b/org.eclipse.wildwebdeveloper/pom.xml index 97f46fe543..f0bb2b0c90 100644 --- a/org.eclipse.wildwebdeveloper/pom.xml +++ b/org.eclipse.wildwebdeveloper/pom.xml @@ -38,7 +38,7 @@ checkout - process-sources + generate-sources scm:git:https://github.com/microsoft/vscode-eslint.git tag @@ -55,7 +55,7 @@ fetch-vscode - generate-resources + generate-sources wget @@ -67,7 +67,7 @@ fetch-eslint-ls - generate-resources + generate-sources wget @@ -80,7 +80,7 @@ fetch-js-debug - generate-resources + generate-sources wget @@ -99,7 +99,7 @@ install-eslint-ls-package.json - process-resources + process-sources copy-resources @@ -147,7 +147,7 @@ exec - compile + generate-resources npm @@ -168,7 +168,7 @@ exec - compile + process-resources npm @@ -200,4 +200,63 @@ + + + + sign + + + + org.apache.maven.plugins + maven-antrun-plugin + + + ant-contrib + ant-contrib + 1.0b3 + + + ant + ant + + + + + + + sign-node-files + + run + + compile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index b7a1ff3733..8bfbb88043 100644 --- a/pom.xml +++ b/pom.xml @@ -194,88 +194,35 @@ - org.apache.maven.plugins - maven-antrun-plugin - 3.1.0 - - - ant-contrib - ant-contrib - 1.0b3 - - - ant - ant - - - - + org.eclipse.cbi.maven.plugins + eclipse-jarsigner-plugin + 1.4.3 - sign-node-files + sign + package - run + sign - package - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - org.eclipse.cbi.maven.plugins - eclipse-jarsigner-plugin - 1.4.3 + org.eclipse.tycho + tycho-p2-plugin + ${tycho-version} - sign + p2-metadata package - sign + p2-metadata + + false +