- CDI:  update beans.xml for Jakarta EE 9
- use "annotated=all" as "FooService.java" does not have a CDI annotation
This commit is contained in:
jdyer1
2023-11-06 15:57:43 -06:00
committed by Lukasz Lenart
parent 143be3f173
commit 8fecaa2c30
3 changed files with 12 additions and 9 deletions
+2 -4
View File
@@ -42,14 +42,12 @@
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-core</artifactId>
<scope>provided</scope>
<artifactId>weld-core-impl</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.weld.se</groupId>
<artifactId>weld-se</artifactId>
<scope>test</scope>
<artifactId>weld-se-core</artifactId>
</dependency>
<dependency>
@@ -19,4 +19,9 @@
* under the License.
*/
-->
<beans></beans>
<beans xmlns="https://jakarta.ee/xml/ns/jakartaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
https://jakarta.ee/xml/ns/jakartaee
https://jakarta.ee/xml/ns/jakartaee/beans_3_0.xsd"
bean-discovery-mode="all">
</beans>
+4 -4
View File
@@ -1075,14 +1075,14 @@
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-core</artifactId>
<version>2.4.8.Final</version>
<artifactId>weld-core-impl</artifactId>
<version>5.1.2.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.weld.se</groupId>
<artifactId>weld-se</artifactId>
<version>2.4.8.Final</version>
<artifactId>weld-se-core</artifactId>
<version>5.1.2.Final</version>
</dependency>
<dependency>