-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Jetty 9.4 is EOL so it would be nice if newer Jetty versions are also supported.
There is a whole range of Jetty options nowadays (see the Jetty project page):
| Jetty Version | Servlet namespace(s) | Java Version | Pax Web Version | Karaf Version |
|---|---|---|---|---|
| 12.0.x | javax.servlet, jakarta.servlet | 17+ | 10.0.x (WIP) | - |
| 11.0.x | jakarta.servlet | 11+ | - | - |
| 10.0.x | javax.servlet | 11+ | 9.0.x | - |
| 9.4.x | javax.servlet | 8 | 8.0.x | 4.4.x |
Ideally jUPnP would also support Jetty 12 but that also requires Java 17.
The OSGi world is also lagging and haven't made the switch to the Jakarta namespace yet. Pax Web 8 uses Jetty 9.4 and Pax Web 9 supports Jetty 10. Pax Web 10 using Jetty 12 is still WIP, see ops4j/org.ops4j.pax.web#1802. Apache Karaf is still using Pax Web 8.
It might be an idea to split off the Jetty transport into its own module. That way multiple transports for different Jetty versions can be added. Each module can then also properly define its dependencies which would also prevent issues like #157 while still not having any implementation dependencies in the Core module.