Skip to content
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

fixes #17: Openfire 5.0.0 compatibility #20

Merged
merged 4 commits into from
Nov 20, 2024

Conversation

guusdk
Copy link
Member

@guusdk guusdk commented Nov 19, 2024

Various commits that make this plugin compatible with Openfire 5.0.0, in particular in context of the update of the embedded webserver (Jetty) that this release contains.

Also contains a fix for #19 that slightly modifies the Maven version identifier used by this project.

To quote Joakim Erdfelt, a Jetty developer:

> For a `WebAppContext`, this manual initialization of JasperInitializer is not necessary. (it is necessary for a `ServletContextHandler`)
> The fact that jetty-ee8-apache-jsp-<ver>.jar is in your classpath should be enough for that webapp to automatically have JSP support enabled.
>
> If you find that you don't have a `jsp` servlet initialized, then that means you'll want to declare the `WebAppContext.setDefaultDescriptor()` to point to the `webdefault-ee8.xml` for your version. You can find that file in the `jetty-ee8-webapp-<ver>-config.jar` -
> See https://repo1.maven.org/maven2/org/eclipse/jetty/ee8/jetty-ee8-webapp/12.0.14/
Removing initialization of an attribute that I believe to be something that has been carried over from earlier versions, without this being neccesary anymore.
Updates the plugin to be compatible with Openfire 5.0.0 (in particular: with the new version of Jetty that's part of that release).

This drops compatibility with versions of Openfire prior to 5.0.0.
By switching the format of the version number of the Maven artifact for this plugin, the version as identified by Openfire no longer is `0.0.0` (but the proper version, instead).
@guusdk guusdk merged commit 3105dbb into igniterealtime:main Nov 20, 2024
3 checks passed
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.

1 participant