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

Add timeout when querying search.maven.org #1197

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

mickaelistria
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Jan 13, 2023

Test Results

   196 files  ±0     196 suites  ±0   27m 1s ⏱️ + 1m 49s
   611 tests ±0     602 ✔️ ±0    7 💤 ±0  1 ±0  1 🔥 ±0 
1 222 runs  ±0  1 204 ✔️ ±0  14 💤 ±0  2 ±0  2 🔥 ±0 

For more details on these failures and errors, see this check.

Results for commit db871a8. ± Comparison against base commit 6eb17db.

♻️ This comment has been updated with latest results.

@@ -82,7 +82,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.9.1</version>
<version>2.10.1</version>
Copy link
Contributor

@HannesWell HannesWell Jan 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the dependency as it is. Due to lsp4j's package imports, that causes TP resolution errors in the workspace: #1146 (comment)

I don't know why it doesn't do that in the CI.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this issue is an issue of m2e and that the resolution error in the TP is something m2e should be blamed for. There is nothing that prevents gson 2.9.1 and 2.10.1 to coexist in the same TP. If LSP4J requires 2.9.1, then consumers of LSP4J must provide 2.9.1; without preventing m2e to move to newer version.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then please add both versions, because only with 2.10 I can currently not launch an IDE in my m2e workspace.
The update for lsp4j happens in eclipse-lsp4j/lsp4j#689.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe both versions are supposed to be part of the resolved TP: 2.10.1 explicitly changed here, and 2.9.1 as a transitive dependency of LSP4E. Can you check your resolved TP contains both? Then can you check your launch config contains both?

Copy link
Contributor

@HannesWell HannesWell Jan 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe both versions are supposed to be part of the resolved TP: 2.10.1 explicitly changed here, and 2.9.1 as a transitive dependency of LSP4E. Can you check your resolved TP contains both? Then can you check your launch config contains both?

Indeed the TP contains both. Nevertheless PDE seems to fail to wire the lsp4j-bundle to the old gson-bundle. gson isn't a singleton, so this look like a bug in PDE to me.

@mickaelistria mickaelistria merged commit ed673bb into eclipse-m2e:master Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants