There are 4 updates.
 
 
PlantUML Macro / cid:jira-generated-image-avatar-dda8d8f1-4ffa-459b-9b6b-56b115471f8f PLANTUML-33 Reopened

Raise the minimal XWiki version to 16.10

 
View issue   ยท   Add comment
 

4 updates

 
cid:jira-generated-image-avatar-ab1b8640-5967-4392-9bea-f527fae69c8c Changes by Vincent Massol on 21/Oct/26 13:45
 
Summary: Raise the minimal XWiki version to 14 16 .10
Description: The PlantUML requires Java 11 since library used by the macro ( 1. 2026 2025 .2, since PlantUML Macro 2.4) depends on the {{org.eclipse.elk:*}} artifacts (used for the ELK layout), whose POMs declare an {{eclipse-plugin}} packaging. The XWiki Extension Manager only supports this packaging since XWiki 16.4.0 (XCOMMONS-3003: "Failed to validate extension that depends on com.atlassian.sal:sal-api"; its backport to 15.10.10+ doesn't include the {{eclipse-plugin}} artifact handler). On older XWiki versions, installing the macro from a Maven repository fails with:

{noformat}
ComponentLookupException: Can't find descriptor for the component with type [interface org.xwiki.extension.handler.ExtensionHandler]
and hint [eclipse-plugin]
{noformat}

This was verified with the new functional tests, on
XWiki 14.10 and 15.10.15 (fails) and 16.10.0 (works). XWiki 16.10 is the first LTS whose supporting it, hence the new minimal Java version is 11 . Raising It also covers the minimal Java 11 requirement of PlantUML since 1.2026.2 ( XWiki version also gives access to newer XWiki APIs 16 . 10 requires Java 17).

* Raise the parent POM to the XWiki
14 16 .10 contrib parent
* Use the generic resource reference serializer to compute the URL of the generated images (the {{standard/tmp}} serializer isn't available anymore)
* Replace the removed {{setDefaultCategory()}} API

Resolution: Fixed
Status: Closed Reopened