Skip to content

docs(15.10): note the libraries removed from WEB-INF/lib for plugin developers - #621

Merged
marevol merged 1 commit into
docs/upgrade-15.10-user-visible-changesfrom
docs/upgrade-15.10-removed-war-libraries
Oct 26, 2026
Merged

marevol merged 1 commit into
docs/upgrade-15.10-user-visible-changesfrom
docs/upgrade-15.10-removed-war-libraries

Conversation

@marevol

@marevol marevol commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a short note to "Changes for Plugin Developers" in the 15.10 install/upgrade.rst (ja, en, de, fr, es, zh-cn, ko; 15.10 tree only) about libraries that are in the 15.9 WEB-INF/lib but not in 15.10:

  • JAXB: jakarta.xml.bind-api, jaxb-core, jaxb-runtime, txw2, istack-commons-runtime
  • jempbox, xmpbox, juniversalchardet

jakarta.activation-api and angus-activation are still included. The note tells plugin authors to include these libraries in the plugin JAR if the plugin uses their classes, and how to check whether a plugin is affected. It makes no claim about specific plugins and has nothing for end users.

Facts checked before writing

  • Comparing the WEB-INF/lib jars of the 15.9.0 distribution and a 15.10.0-SNAPSHOT distribution: exactly these 8 artifacts are gone, with no replacement of the same name.
  • mvn dependency:tree on the fess-15.9.0 tag shows them as transitive dependencies of the Tika 3.3.2 modules (tika-parser-miscoffice-module -> jaxb-runtime, tika-parser-xmp-commons -> xmpbox, tika-parser-pdf-module -> jempbox, tika-parser-text-module -> juniversalchardet). On current main (Tika 4.1.0) none of them is resolved.
  • No class in the 15.10 distribution (WEB-INF/lib jars and WEB-INF/classes) references the JAXB packages, xmpbox, jempbox, universalchardet or istack.
  • The claim that a plugin can rely on classes supplied by the WAR but not on another plugin, and that WEB-INF/lib is resolved before WEB-INF/plugin, follows the existing plugin-loading behavior of Fess.

Checks

  • docutils parse (doctitle_xform=False) gives the same warning count per language before and after; the inserted text adds no warnings.
  • tools/check_headings.py reports nothing for the changed files (only pre-existing mismatches in older trees); no heading was touched.

Base branch

This is stacked on #620 (docs/upgrade-15.10-user-visible-changes), which is itself stacked on #619, because all three edit the same section of install/upgrade.rst. After #619 and #620 are merged, this PR will be retargeted to main.

@marevol
marevol added this pull request to stack #622 October 25, 2026 21:45
@marevol
marevol removed this pull request from stack #622 October 25, 2026 21:49
…evelopers

Add a paragraph and three bullets to "Changes for Plugin Developers" in the
15.10 upgrade page (ja/en/de/fr/es/zh-cn/ko) covering the jars that 15.9
shipped in WEB-INF/lib and 15.10 no longer does: the JAXB libraries
(jakarta.xml.bind-api, jaxb-core, jaxb-runtime, txw2, istack-commons-runtime),
jempbox, xmpbox and juniversalchardet.

A plugin that uses classes of these libraries has to include them in its own
JAR, because the 15.10 WAR no longer provides them.
@marevol
marevol force-pushed the docs/upgrade-15.10-removed-war-libraries branch from feb03b4 to 84f9563 Compare October 26, 2026 13:52
@marevol
marevol added this pull request to stack #623 October 26, 2026 13:55
@marevol
marevol merged commit 78cd160 into main Oct 26, 2026
2 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