Plugins that have admin console pages fail to compile against Openfire 4.8

Description

This only affects alpha builds of Openfire 4.8.0, as this issue was introduced by the upgrade of Jetty from 9 to 10 (OF-2687).

The admin console pages of plugins fail to compile properly when the plugin’s project uses Openfire 4.8 as its parent.

Plugins compiled against older versions of Openfire can successfully be loaded into Openfire 4.8.

Environment

None

Activity

Show:

Guus der Kinderen November 11, 2023 at 5:52 PM

I suspect that the source of this issue is described here:

As I understand it, the third-party library that Openfire uses for JSP compilation now is more spec-compliant as to where to obtain taglibs. When part of a webapp, they’re expected to live in a different place than when exposed as dependency (in a JAR). Openfire’s xmppserver module does both, and thus has a conflict.

I have experimented with moving the taglibs out of xmppserver, and place them in a new, dedicated module, to be consumed by both plugins and xmppserver. As some of the taglib implementations depend on Openfire’s API, that introduced a cyclic dependency. I’m now experimenting with exporting a new assembly from xmppserver, that is a generic jar (to be consumed by plugins).

Duplicate

Details

Assignee

Reporter

Components

Priority

Created November 11, 2023 at 5:41 PM
Updated November 11, 2023 at 6:12 PM
Resolved November 11, 2023 at 6:12 PM