-
Notifications
You must be signed in to change notification settings - Fork 16
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
[2.0] Wrong modules in JAVAX_WEBSOCKET_API_RULE
#114
Comments
I see what you mean, but the idea is that the capability The general idea is that with theses rules, you will not have duplicated classes on the classpath anymore. If two Jars have overlapping classes, they have a shared capability. And that is the case here. |
Thanks for the answer! I understand what you're saying but in that case, if one has On the other side you do have a way to remove that: patch.module('org.apache.tomcat.embed:tomcat-embed-websocket') {
removeCapability(CapabilityDefinition.JAVAX_SERVLET_API)
removeCapability(CapabilityDefinition.JAVAX_WEBSOCKET_API_RULE)
} So I would understand if you don't want to "fix" it. It is a problem in the artifact itself after all - I guess it should not include these classes but rather depend on some other dependency... but that's the way it is. |
Speaking of the devil! 😄 In the new Tomcat version (9.0.88) they've made |
Broken or not, Maybe when both BTW, the
|
I believe this is a mistake.
org.apache.tomcat.embed:tomcat-embed-websocket
is not an API, that's the implementation in the embedded Tomcat. It should not be replaced with anything as then projects don't work - i.e. it must be removed from that list. I'm not sure about the line above -org.apache.tomcat:tomcat-websocket
- perhaps it also is an implementation, I'm not sure.The same applies for all rules that contain these two modules.
P.S. I now see a similar problem with
org.apache.tomcat.embed:tomcat-embed-core
too.The text was updated successfully, but these errors were encountered: