Migrate to Jakarta EE 10 / Jetty 12 / Jersey 3.x / Karaf 4.5#5479
Draft
holgerfriedrich wants to merge 1 commit intoopenhab:mainfrom
Draft
Migrate to Jakarta EE 10 / Jetty 12 / Jersey 3.x / Karaf 4.5#5479holgerfriedrich wants to merge 1 commit intoopenhab:mainfrom
holgerfriedrich wants to merge 1 commit intoopenhab:mainfrom
Conversation
Servlet / HTTP: - Migrate all servlet imports to jakarta.servlet.* - Upgrade Jetty 9.4.x → 12.0.23 (ee10 modules) - Upgrade Pax Web 8.0.x → 11.0.1 - Replace org.apache.felix.http.servlet-api with jakarta.servlet-api 6.1.0 JAX-RS: - Replace Apache Aries JAX-RS Whiteboard + CXF with Eclipse OSGi Tech REST backed by Jersey 3.1.3 - Switch osgi.service.jaxrs to osgi.service.jakartars (OSGi R8) - Update all itest bndrun -runbundles accordingly JAXB: - Migrate maven-jaxb2-plugin → org.jvnet.jaxb:jaxb-maven-plugin 3.0.2 - Upgrade jakarta.xml.bind-api 2.3.3 → 3.0.0 (jakarta namespace) - Replace org.glassfish.jaxb:jaxb-osgi with com.sun.xml.bind:jaxb-osgi 3.0.2 - Update .xjb binding files and XSD to JAXB 3 namespace - Add openhab.tp-jaxb as dependency to openhab-core-base feature Karaf: - Upgrade karaf.compile.version and karaf.tooling.version to 4.5.0 Dependencies: - Pin org.glassfish.hk2:osgi-resource-locator to 1.0.3 in bom/runtime to match feature.xml; Jersey 3.x requires this version range - jupnp upgrade to jakarta, not yet available Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Member
Author
|
This is a first try to move to the (not yet released) Karaf 4.5.0 based on Jetty 12 and Jakarta 🎉 I don't know if all the package migrations I had to complete in this PR are the best choice, but I got all the tests and itests green 🥳 I did not manage yet to get a running system and I am not sure what is missing to get there. If you want to reproduce, you need two build two dependencies:
|
Member
Author
|
Far from working, but the runtime now starts, see this nice excerpt from bundle list: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Servlet / HTTP:
JAX-RS:
JAXB:
Karaf:
Dependencies: