-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
Atomosphere 3.0.8 -- OSGI #2511
Comments
@rimmeraj Yep that's a bug. The pom.xml needs to be updated to reflect the new version. |
When will it be done? |
@jfarcand The new Import-Package version range is not valid and causes a failure when building with Tycho:
Please update the range to something valid. If you want any version of jakarta.servlet that is greater than 5.0, you can just set |
@kysmith-csg Can you test it with a value that works and do a pull request. I don't have the setup to properly test it. I will cut a new release ASAP after. Thanks! |
@jfarcand what is the desired version range? Are we accepting servlet 6 as well? Basically two main options:
Most would generally disagree with choosing (2) since what if servlet 7 comes out and has breaking changes that make this module not work. If servlet 6 is ok, you can also do |
Note - I'm not actually using atmosphere, but I have a dependency in OSGI which transitively depends on atmosphere, and it's causing my build error. So my "testing that it works" would be only checking if the manifest is valid and that my build succeeds, but I would be happy to contribute the fix regardless. Testing whether the functionality of atmosphere is still OK after my fix is outside the scope of my knowledge or ability, but it should be fine since this change would only affect OSGI users. |
@kysmith-csg I would go with 2. |
@kysmith-csg Release 3.0.12. Thanks for your help! |
@jfarcand the PR isn't merged... I'm hoping you didn't just make a 3.0.12 that is the same as 3.0.11 :) |
Fix servlet import-package version (#2511)
@kysmith-csg oh boy yes I blindly cut the release without your fix!!! Too much things to do at work :-) Let me cutr a new release now. |
How do you get this to resolve in an osgi container. You have a servlet-api version 5 in your dependency graph however in your OSGI import packages you have [2.5,4) ie < 4 ?
Bundle-SymbolicName org.atmosphere.runtime
Bundle-Version 3.0.8
Import-Package
jakarta.servlet.http;version="[2.5,4)"
jakarta.servlet;version="[2.5,4)"
Bundle-SymbolicName jakarta.servlet-api
Bundle-Version 5.0.0
jakarta.servlet {version=5.0.0}
jakarta.servlet.annotation {version=5.0.0}
jakarta.servlet.descriptor {version=5.0.0}
jakarta.servlet.http {version=5.0.0}
jakarta.servlet.resources {version=5.0.0}
The text was updated successfully, but these errors were encountered: