-
Notifications
You must be signed in to change notification settings - Fork 125
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
Completly remove slf4j #482
Conversation
Hello @jonasrutishauser, would you be so kind on providing some more information on why having this library is an issue and what exactly will fail or no longer work? Best, |
Hello @jonasrutishauser, thank you for providing this very information. From what I can see it feels like an issue connected to having now two versions of slf4j.api on the classpath with more or less the same version. We will get into it what our possibilities are and are coming back to you! Thank you, |
We've investigated the issue but in order to reproduce it I'd like you to provide me with the following information:
We are packaging the following artifact at our update site: We have plans on dropping SLF4J at some point in the future but not in the near one. Best, |
I use Eclipse JEE and it even happens when only installing sonarlint. I think it has to do with the update to slf4j version 2 in eclipse: https://www.eclipse.org/eclipse/news/4.28/platform.php#slf4j.api-version-2 In any case, the slf4j api should be provided by eclipse itself. |
Our concern is about older Eclipse versions, not providing slf4j. |
We have started to encounter issues provisioning an Eclipse installation (with Oomph) when including the SonarLint plugin to be installed. There is a hash mismatch for the org.slf4j.api plugin.
However during installation this is compared with the hash in the p2's artifacts.xml (accessed via https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/8.0.0.80157/artifacts.jar) which contains the following entry for this plugin:
Interestingly the sha256 hash is correct. Has something changed with repository generation or build configuration? |
@joeshannon I have reported the issue to Tycho developers: eclipse-tycho/tycho#2875 In the meantime, I think we can try to fix that on our side: https://sonarsource.atlassian.net/browse/SLE-738 |
@joeshannon any chance you could test to install using this update site, and see if you still have checksum mismatches? https://repox.jfrog.io/repox/sonarsource/org/sonarsource/sonarlint/eclipse/org.sonarlint.eclipse.site/8.1.0.80199/org.sonarlint.eclipse.site-8.1.0.80199.zip |
Thank you for your response - yes that update site looks good and works. |
Quality Gate passedIssues Measures |
Hi @joeshannon, I wanted to get back to you to inform you that with the upcoming release of SonarLint for Eclipse (scheduled for this) week, we are no longer packaging SLF4J with SonarLint. |
Without this change this will install an additional slf4j-api in eclipse 2023-06 and destroy the eclipse installation (many plugins no longer work).