|
| Summary: |
Remove the unused jakarta.enterprise.cdi-api dependency version |
| Issue Type: |
Task |
| Affects Versions: |
17.10.0 |
| Assignee: |
Unassigned |
| Components: |
Development Issues only |
| Created: |
06/Nov/26 11:26 |
| Priority: |
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. |
|