-
Notifications
You must be signed in to change notification settings - Fork 411
SLF4J 2.0.X? #1339
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
Comments
I tried to upgrade 😂
|
No a good one 😉 Last time, I tried to do that I fall on this revapi issue. (I see you fall to the same one 😁) And so I started a discussion about this at : revapi/revapi#276 |
I'm happy to have open that question before digging the same rabbit hole as you 😂 Can we just /ignore revapi? |
I report the use case to revapi maintainer but I mainly wanted to better understand the issue before to ignore it. For now, I'm not sure if I correctly understand it and I'm not so sure what is the right way to "ignore" it. |
to ignore I use:
|
If we really need sl4j 2.0.x now we can go in that way but I'm not totally sure this will not hide some real API issue/warning like explain at revapi/revapi#186. 🤷 |
This would also mean upgrading logback from 1.2.x |
Yep from 1.2.x to 1.3.x. |
looks like more work than just bumping the version in the pom
|
Yep maybe we also need to change some |
The plugin output of Revapi which suggests how to ignore the found problems, should also include the |
As I guess that we don't use code from logback which used javax.servlet:javax.servlet-api
We can try to just exclude this dependency with something like :
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<exclusions>
<exclusion>
<!-- we exclude servlet-api dependencies because of dependency convergence issue with jetty
See: https://github.com/eclipse/leshan/issues/1339#issuecomment-1293221705 -->
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
#1340 is integrated in |
We don't get any news from revapi maintainer, so not sure it will fix that one day 😞 I think this is better to close this issue. |
Is there a reason to keep master on SLF4J 1.7.X? For example eclipse jetty 11 uses slf4j 2.0 now
See: https://www.slf4j.org/faq.html#changesInVersion200
The text was updated successfully, but these errors were encountered: