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

Release v1.1.1 and 5.0.0 compatibility changes #6

Merged
merged 4 commits into from
Nov 20, 2024

Conversation

guusdk
Copy link
Member

@guusdk guusdk commented Nov 20, 2024

This, in order:

  1. drafts a release, which is also marked as being compatible with Openfire < 5.0.0
  2. makes changes to be compatible with Openfire 5.0.0

The idea behind this is that we'll have one last plugin that's compatible with older versions of Openfire, while preparing for a new plugin release that is compatible with Openfire 5.0.0 and later.

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.

Drop unnecessary manual initialization of JasperInitializer

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/

Drop explicit InstanceManager configuration

Removing initialization of an attribute that I believe to be something that has been carried over from earlier versions, without this being neccesary anymore.
@akrherz akrherz merged commit b2da0f9 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.

2 participants