lsp4j icon indicating copy to clipboard operation
lsp4j copied to clipboard

Where can i consume LSP4J Snapshot maven artifacts from

Open cdietrich opened this issue 6 years ago • 7 comments

hi, where can i consume LSP4J Snapshot maven artifacts from ran 8 month ago the last time. https://ci.eclipse.org/lsp4j/job/lsp4j-snapshots/ is that intended?

it would be nice to have a separate repo to consume from (https://oss.sonatype.org/content/repositories/snapshots contains all kinds of snapshots, e.g. xtext too that we do not want to consume for the xtext builds)

cdietrich avatar Jul 08 '19 09:07 cdietrich

(using tf jenkins does not work cause

Execution failed for task ':org.eclipse.xtext.ide:generateXtext'.
> Could not resolve all files for configuration ':org.eclipse.xtext.ide:compileClasspath'.
   > Could not resolve org.eclipse.lsp4j:org.eclipse.lsp4j:0.8.0-SNAPSHOT.
     Required by:
         project :org.eclipse.xtext.ide
      > Could not resolve org.eclipse.lsp4j:org.eclipse.lsp4j:0.8.0-SNAPSHOT.
         > Unable to load Maven meta-data from https://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastSuccessfulBuild/artifact/build/maven-repository/org/eclipse/lsp4j/org.eclipse.lsp4j/0.8.0-SNAPSHOT/maven-metadata.xml.
            > Could not get resource 'https://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastSuccessfulBuild/artifact/build/maven-repository/org/eclipse/lsp4j/org.eclipse.lsp4j/0.8.0-SNAPSHOT/maven-metadata.xml'.
               > Could not GET 'https://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastSuccessfulBuild/artifact/build/maven-repository/org/eclipse/lsp4j/org.eclipse.lsp4j/0.8.0-SNAPSHOT/maven-metadata.xml'.
                  > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
```)

cdietrich avatar Jul 08 '19 12:07 cdietrich

https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/lsp4j/org.eclipse.lsp4j/

spoenemann avatar Jul 22 '19 08:07 spoenemann

Unfortunately you cannot tell maven to consume lsp4j from there but Xtext not

cdietrich avatar Jul 22 '19 08:07 cdietrich

That's a Maven problem, not LSP4J.

Alternative: http://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastStableBuild/artifact/build/maven-repository/

spoenemann avatar Jul 22 '19 08:07 spoenemann

@spoenemann services typefox has a broken certificate chain. see second comment

cdietrich avatar Jul 22 '19 08:07 cdietrich

we created https://ci-staging.eclipse.org/xtext/job/lsp4j/ as a workaround

cdietrich avatar Jul 22 '19 09:07 cdietrich

Link doesn't work for me. "Application is not available. The application is currently not serving requests at this endpoint. It may not have been started or is still starting."

To be clear, I don't require this functionality, just trying to help triage / clean up old issues.

Does typefox still have a broken chain? If not, this issue can be closed, no?

robstryker avatar Jul 14 '20 19:07 robstryker