diff --git a/Jenkinsfile b/Jenkinsfile index 8fd82996c7..69068ab2d0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,16 +57,6 @@ spec: GITHUB_API_CREDENTIALS_ID = 'github-bot-token' } stages { - stage('initialize PGP') { - steps { - container('container') { - withCredentials([file(credentialsId: 'secret-subkeys.asc', variable: 'KEYRING')]) { - sh 'gpg --batch --import "${KEYRING}"' - sh 'for fpr in $(gpg --list-keys --with-colons | awk -F: \'/fpr:/ {print $10}\' | sort -u); do echo -e "5\ny\n" | gpg --batch --command-fd 0 --expert --edit-key ${fpr} trust; done' - } - } - } - } stage('Prepare-environment') { steps { container('container') { @@ -81,10 +71,10 @@ spec: stage('Build') { steps { container('container') { - withCredentials([string(credentialsId: 'gpg-passphrase', variable: 'KEYRING_PASSPHRASE')]) { + withCredentials([file(credentialsId: 'secret-subkeys.asc', variable: 'KEYRING'), string(credentialsId: 'gpg-passphrase', variable: 'KEYRING_PASSPHRASE')]) { withCredentials([string(credentialsId: "${GITHUB_API_CREDENTIALS_ID}", variable: 'GITHUB_API_TOKEN')]) { wrap([$class: 'Xvnc', useXauthority: true]) { - sh """mvn clean verify -B -fae -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}" -Dgpg.passphrase="${KEYRING_PASSPHRASE}" """ + sh '''mvn clean verify -B -fae -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}" -Dgpg.passphrase="${KEYRING_PASSPHRASE}" -Dtycho.pgp.signer.bc.secretKeys="${KEYRING}" ''' } } } diff --git a/org.eclipse.wildwebdeveloper.xml.feature/feature.xml b/org.eclipse.wildwebdeveloper.xml.feature/feature.xml index 12aef87fdc..76e5d004cd 100644 --- a/org.eclipse.wildwebdeveloper.xml.feature/feature.xml +++ b/org.eclipse.wildwebdeveloper.xml.feature/feature.xml @@ -2,7 +2,7 @@ diff --git a/org.eclipse.wildwebdeveloper.xml.feature/pom.xml b/org.eclipse.wildwebdeveloper.xml.feature/pom.xml index e1eb04ef83..6a6b73b2b4 100644 --- a/org.eclipse.wildwebdeveloper.xml.feature/pom.xml +++ b/org.eclipse.wildwebdeveloper.xml.feature/pom.xml @@ -7,7 +7,7 @@ 1.0.0-SNAPSHOT eclipse-feature - 1.3.5-SNAPSHOT + 1.3.6-SNAPSHOT diff --git a/org.eclipse.wildwebdeveloper.xml/META-INF/MANIFEST.MF b/org.eclipse.wildwebdeveloper.xml/META-INF/MANIFEST.MF index 9c6ebc86e0..7dff209eb9 100644 --- a/org.eclipse.wildwebdeveloper.xml/META-INF/MANIFEST.MF +++ b/org.eclipse.wildwebdeveloper.xml/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.wildwebdeveloper.xml;singleton:=true -Bundle-Version: 1.3.5.qualifier +Bundle-Version: 1.3.6.qualifier Bundle-Vendor: %providerName Bundle-Localization: plugin Automatic-Module-Name: org.eclipse.wildwebdeveloper.xml diff --git a/org.eclipse.wildwebdeveloper.xml/pom.xml b/org.eclipse.wildwebdeveloper.xml/pom.xml index 796340b01b..e1c804d397 100644 --- a/org.eclipse.wildwebdeveloper.xml/pom.xml +++ b/org.eclipse.wildwebdeveloper.xml/pom.xml @@ -7,7 +7,7 @@ 1.0.0-SNAPSHOT eclipse-plugin - 1.3.5-SNAPSHOT + 1.3.6-SNAPSHOT diff --git a/org.eclipse.wildwebdeveloper.xml/src/org/eclipse/wildwebdeveloper/xml/internal/commands/AssociateGrammarHandler.java b/org.eclipse.wildwebdeveloper.xml/src/org/eclipse/wildwebdeveloper/xml/internal/commands/AssociateGrammarHandler.java index 7742678694..bccde9d7a1 100644 --- a/org.eclipse.wildwebdeveloper.xml/src/org/eclipse/wildwebdeveloper/xml/internal/commands/AssociateGrammarHandler.java +++ b/org.eclipse.wildwebdeveloper.xml/src/org/eclipse/wildwebdeveloper/xml/internal/commands/AssociateGrammarHandler.java @@ -16,7 +16,6 @@ import java.util.List; import java.util.concurrent.CompletableFuture; import java.util.concurrent.TimeUnit; -import java.util.function.Predicate; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; @@ -29,7 +28,6 @@ import org.eclipse.lsp4j.Command; import org.eclipse.lsp4j.ExecuteCommandOptions; import org.eclipse.lsp4j.ExecuteCommandParams; -import org.eclipse.lsp4j.ServerCapabilities; import org.eclipse.lsp4j.TextDocumentEdit; import org.eclipse.lsp4j.TextDocumentIdentifier; import org.eclipse.lsp4j.WorkspaceEdit; @@ -108,15 +106,4 @@ private static CompletableFuture executeServerCommand(String commandId, throw new UnsupportedOperationException( "No language server has registered to handle command '" + commandId + "'"); } - - // TODO: not used - a subject to remove - private static Predicate handlesCommand(String commandId) { - return (serverCaps) -> { - ExecuteCommandOptions executeCommandProvider = serverCaps.getExecuteCommandProvider(); - if (executeCommandProvider != null) { - return executeCommandProvider.getCommands().contains(commandId); - } - return false; - }; - } } diff --git a/pom.xml b/pom.xml index df8f2f08ba..6237af6001 100644 --- a/pom.xml +++ b/pom.xml @@ -189,45 +189,6 @@ - - sign - - - - org.eclipse.cbi.maven.plugins - eclipse-jarsigner-plugin - 1.4.3 - - - sign - package - - sign - - - - - - org.eclipse.tycho - tycho-p2-plugin - ${tycho-version} - - - p2-metadata - package - - p2-metadata - - - - - false - - - - - - macos @@ -243,11 +204,6 @@ - - cbi - https://repo.eclipse.org/content/groups/cbi - true - dash-licenses-snapshots https://repo.eclipse.org/content/repositories/dash-licenses/ @@ -258,9 +214,5 @@ true - - tycho-snapshots - https://repo.eclipse.org/content/repositories/tycho-snapshots/ - diff --git a/repository/pom.xml b/repository/pom.xml index c0c52c912e..60bfdd7829 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -57,6 +57,7 @@ sign-p2-artifacts + bc 9BC06FC97ED4ED26 true