Skip to content

Commit c3866a8

Browse files
committed
fixes #24: Compatible with Openfire 5.0.0 / Jetty 12
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.
1 parent 9624033 commit c3866a8

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

changelog.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ <h1>
4343
JSXC Plugin Changelog
4444
</h1>
4545

46+
<p><b>4.4.0 Release 3</b> -- (to be determined)</p>
47+
<ul>
48+
<li>Requires Openfire 5.0.0 or later</li>
49+
<li><a href="https://github.com/igniterealtime/openfire-jsxc-plugin/issues/24">#24:</a> Openfire 5.0.0 compatibility</li>
50+
</ul>
51+
4652
<p><b>4.4.0 Release 2</b> -- November 14, 2024</p>
4753
<ul>
4854
<li>Marked as last version to be compatible with Openfire versions prior to 5.0.0.</li>

plugin.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
<description>${project.description}</description>
66
<author>Guus der Kinderen</author>
77
<version>${project.version}</version>
8-
<date>2024-11-14</date>
9-
<minServerVersion>4.4.0</minServerVersion>
10-
<priorToServerVersion>5.0.0</priorToServerVersion>
11-
<minJavaVersion>1.8</minJavaVersion>
8+
<date>2024-11-15</date>
9+
<minServerVersion>5.0.0</minServerVersion>
1210
<adminconsole>
1311
<tab id="tab-webclients" name="${admin.sidebar.webclients.name}" description="${admin.sidebar.webclients.description}" url="jsxc-config.jsp">
1412
<sidebar id="tab-jsxc" name="${admin.sidebar.webclients.item.jsxc.name}" description="${admin.sidebar.webclients.item.jsxc.description}">

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>plugins</artifactId>
66
<groupId>org.igniterealtime.openfire</groupId>
7-
<version>4.4.0</version>
7+
<version>5.0.0-SNAPSHOT</version>
88
</parent>
99
<groupId>org.igniterealtime.openfire.plugins</groupId>
1010
<artifactId>jsxc</artifactId>
@@ -19,8 +19,8 @@
1919
</plugin>
2020
<!-- Compiles the Openfire Admin Console JSP pages. -->
2121
<plugin>
22-
<groupId>org.eclipse.jetty</groupId>
23-
<artifactId>jetty-jspc-maven-plugin</artifactId>
22+
<groupId>org.eclipse.jetty.ee8</groupId>
23+
<artifactId>jetty-ee8-jspc-maven-plugin</artifactId>
2424
</plugin>
2525
</plugins>
2626
</build>

src/java/org/igniterealtime/openfire/plugin/jsxc/JSXCPlugin.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2017 Ignite Realtime Foundation. All rights reserved.
2+
* Copyright (C) 2017-2024 Ignite Realtime Foundation. All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,11 +15,7 @@
1515
*/
1616
package org.igniterealtime.openfire.plugin.jsxc;
1717

18-
import org.apache.tomcat.InstanceManager;
19-
import org.apache.tomcat.SimpleInstanceManager;
20-
import org.eclipse.jetty.apache.jsp.JettyJasperInitializer;
21-
import org.eclipse.jetty.plus.annotation.ContainerInitializer;
22-
import org.eclipse.jetty.webapp.WebAppContext;
18+
import org.eclipse.jetty.ee8.webapp.WebAppContext;
2319
import org.jivesoftware.admin.AuthCheckFilter;
2420
import org.jivesoftware.openfire.container.Plugin;
2521
import org.jivesoftware.openfire.container.PluginManager;
@@ -30,7 +26,6 @@
3026
import org.slf4j.LoggerFactory;
3127

3228
import java.io.File;
33-
import java.util.*;
3429

3530
/**
3631
* An Openfire plugin that integrates the JSXC web client.

0 commit comments

Comments
 (0)