This is an automated email from the ASF dual-hosted git repository.
dashorst pushed a commit to branch wicket-11.x
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/wicket-11.x by this push:
new d0946e1263 Return the CDI API and Weld to their Jakarta EE 11 versions
d0946e1263 is described below
commit d0946e1263ed7b37a1a83ac670025be0c23421f4
Author: Martijn Dashorst <[email protected]>
AuthorDate: Wed Nov 4 00:25:01 2026 +0100
Return the CDI API and Weld to their Jakarta EE 11 versions
Wicket 11 targets Jakarta EE 11, which specifies CDI 4.1. Two Dependabot
major bumps that landed before 11.0.0 moved jakarta.enterprise.cdi-api
from 4.1.0 to 5.0.0 (#1613) and Weld from 6.0.4 to 7.0.0 (#1641), both
the CDI 5 generation targeted at Jakarta EE 12. wicket-cdi was compiled
against CDI 5 and tested on Weld 7, so a change relying on something
CDI 5 added or changed would pass the build and then fail on an EE 11
container.
The CDI API is back on 4.1.0 and Weld on 6.0.4.Final. wicket-cdi
compiles and its tests pass unchanged, so nothing in 11.0.0 depended on
CDI 5. The CDI API is provided scope: applications keep using the CDI
their container supplies. Weld is only used by Wicket's own tests and
examples, so applications see no change.
Generated-by: Claude Code 2.1.316 (Claude Opus 5.5)
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 6eba7be885..32c61cdf5f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -175,7 +175,7 @@
<jakarta.annotation-api.version>3.0.0</jakarta.annotation-api.version>
<jakarta.el.version>4.0.2</jakarta.el.version>
<jakarta.el-api.version>6.0.1</jakarta.el-api.version>
-
<jakarta.enterprise.cdi-api.version>5.0.0</jakarta.enterprise.cdi-api.version>
+
<jakarta.enterprise.cdi-api.version>4.1.0</jakarta.enterprise.cdi-api.version>
<jakarta.inject-api.version>2.0.1.MR</jakarta.inject-api.version>
<jakarta.servlet.jsp-api.version>4.0.0</jakarta.servlet.jsp-api.version>
<jakarta.validation-api.version>3.1.1</jakarta.validation-api.version>
@@ -199,7 +199,7 @@
<slf4j.version>2.0.20</slf4j.version>
<spring.version>7.0.10</spring.version>
<wagon-ssh-external.version>3.5.3</wagon-ssh-external.version>
- <weld.version>7.0.0.Final</weld.version>
+ <weld.version>6.0.4.Final</weld.version>
<velocity-engine-core.version>2.4.1</velocity-engine-core.version>
<jspecific.version>1.0.1</jspecific.version>