Skip to content

Conversation

hqv126
Copy link

@hqv126 hqv126 commented Nov 20, 2024

Fixes #339: Using Jetty 12's EE8 WebAppContext. Updated dependencies and release notes.

“Huy and others added 3 commits November 20, 2024 11:08
This plugin contains two Jersey deployment dependencies:
- an HTTP server based one: jersey-container-jetty-http
- a Servlet-based one: jersey-container-jetty-servlet

I don't see why both are needed. As Jersey seems to be deployed as a servlet (this plugin contains a `web.xml` file that initiates `org.glassfish.jersey.servlet.ServletContainer`) the HTTP server based container dependency seems redundant.

Removing the HTTP server based dependency also resolves an issue with the upgrade of Jetty from 10 to 12 (`java: cannot access org.eclipse.jetty.server.Deployable - class file for org.eclipse.jetty.server.Deployable not found`).
With Jetty 12, Openfire will require Java 17 or later.
@guusdk guusdk merged commit 49c01a3 into igniterealtime:main Nov 20, 2024
1 check passed
@guusdk guusdk changed the title Fixes #339: Upgrade to be compatible with Openfire 5.0.0 Fixes #399: Upgrade to be compatible with Openfire 5.0.0 Nov 20, 2024
@guusdk
Copy link
Member

guusdk commented Nov 20, 2024

This fixes #399 (not #339).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants