-
Task
-
Resolution: Done
-
Major
-
2.0.5.Final
https://search.maven.org/artifact/jakarta.enterprise/jakarta.enterprise.cdi-api
https://search.maven.org/artifact/org.jboss.weld/weld-core-parent
https://search.maven.org/artifact/org.jboss.weld.se/weld-se-parent/5.0.0.CR1/pom
Upgrade so that jberet can try out the latest jakarta cdi-api 4.0.0-RC5 (released on 2022-02-07).
Note: CDI 4 introduced some breaking changes wrt bean-discovery mode:
https://eclipse-ee4j.github.io/cdi/2021/10/25/way-to-cdi4.html
Many tests are failing with errors:
java.lang.IllegalStateException: WELD-ENV-002009: Weld SE container cannot be initialized - no bean archives found at org.jboss.weld.environment.se.Weld.createDeployment(Weld.java:1008) at org.jboss.weld.environment.se.Weld.initialize(Weld.java:798) at org.jberet.se.SEArtifactFactory.<init>(SEArtifactFactory.java:32) at org.jberet.se.BatchSEEnvironment.getArtifactFactory(BatchSEEnvironment.java:117)