Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java server m2 build fails when using ELK 0.9.0 #1213

Open
tortmayr opened this issue Jan 24, 2024 · 0 comments
Open

Java server m2 build fails when using ELK 0.9.0 #1213

tortmayr opened this issue Jan 24, 2024 · 0 comments
Labels
bug Something isn't working server-java

Comments

@tortmayr
Copy link
Contributor

Currently the m2 Java server build fails because it tries to resolve ELK Version 0.9.0 which results in the following Error:

[ERROR] Failed to execute goal on project org.eclipse.glsp.layout: Could not resolve dependencies for project 
org.eclipse.glsp:org.eclipse.glsp.layout:jar:2.1.0-SNAPSHOT: The following artifacts could not be resolved: 
org.eclipse.elk:org.eclipse.elk.graph:eclipse-plugin:0.9.0 (absent), org.osgi:org.osgi.service.prefs:eclipse-plugin:1.1.2 (absent), 
org.eclipse.elk:org.eclipse.elk.core:eclipse-plugin:0.9.0 (absent): org.eclipse.elk:org.eclipse.elk.graph:eclipse-plugin:0.9.0 was not found 
in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not 
reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

0.8.1 still works as expected

Looking at https://central.sonatype.com/artifact/org.eclipse.elk/org.eclipse.elk.core
it seems like some of the dependencies are now expected to be provided as eclipse plugin:

  <dependency>
      <groupId>p2.eclipse.plugin</groupId>
      <artifactId>org.eclipse.core.commands</artifactId>
      <version>3.10.200.v20220512-0851</version>
      <type>eclipse-plugin</type>
      <scope>provided</scope>
      <optional>true</optional>
    </dependency>
@tortmayr tortmayr added bug Something isn't working server-java labels Jan 24, 2024
tortmayr added a commit to eclipse-glsp/glsp-server that referenced this issue Jan 24, 2024
Set ELK version to 0.8.1 in m2 build until eclipse-glsp/glsp#1213
is resolved.
tortmayr added a commit to eclipse-glsp/glsp-server that referenced this issue Jan 24, 2024
Set ELK version to 0.8.1 in m2 build until eclipse-glsp/glsp#1213
is resolved.
@tortmayr tortmayr added this to the ELK Layouting improvements milestone Apr 15, 2024
@tortmayr tortmayr removed this from the ELK Layouting improvements milestone Sep 18, 2024
MatthiasHofstaetter pushed a commit to MatthiasHofstaetter/glsp-server that referenced this issue Dec 21, 2024
Set ELK version to 0.8.1 in m2 build until eclipse-glsp/glsp#1213
is resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server-java
Projects
None yet
Development

No branches or pull requests

1 participant