This issue has been created
There are 2 updates.
 
 
XWiki Commons / cid:jira-generated-image-avatar-196466cb-5e6a-4379-bd0a-676da5e75ee5 XCOMMONS-3872 Open

Remove the unused jakarta.enterprise.cdi-api dependency version

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-5c1364c4-4bf5-408c-9684-11c0bba8a233 Thomas Mortagne created this issue on 06/Nov/26 11:26
 
Summary: Remove the unused jakarta.enterprise.cdi-api dependency version
Issue Type: cid:jira-generated-image-avatar-196466cb-5e6a-4379-bd0a-676da5e75ee5 Task
Affects Versions: 17.10.0
Assignee: Unassigned
Components: Development Issues only
Created: 06/Nov/26 11:26
Priority: cid:jira-generated-image-static-major-d822096a-c381-451e-8d5c-2bb386648242 Major
Reporter: Thomas Mortagne
Description:

The root pom of xwiki-commons manages jakarta.enterprise:jakarta.enterprise.cdi-api (2.0.2), but nothing uses CDI anymore:

  • It was added by XCOMMONS-2453 to control the CDI API version brought in by microprofile-metrics-api, which Infinispan required at the time.
  • Infinispan stopped using MicroProfile in XCOMMONS-2545, and microprofile-metrics-api was removed then, but the CDI API version was left behind.
  • No XWiki code uses CDI, and no module of xwiki-commons, xwiki-rendering or xwiki-platform depends on it, directly or transitively, in any scope (including the distribution, flavor and functional test modules). The XWiki WAR does not contain it.

Removing it also avoids receiving useless upgrade proposals for it.

 
 

2 updates

 
cid:jira-generated-image-avatar-5c1364c4-4bf5-408c-9684-11c0bba8a233 Changes by Thomas Mortagne on 06/Nov/26 11:26
 
Fix Version: 18.10.0-rc-1
Assignee: Thomas Mortagne