This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch 2.2.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 6be823b57ab02bc353db39e9f25a1469671cb508 Author: Peter Palaga <[email protected]> AuthorDate: Tue Dec 7 15:38:05 2021 +0100 Ban javax.enterprise:cdi-api in favor of jakarta.enterprise:jakarta.enterprise.cdi-api #3364 --- extensions/microprofile-health/runtime/pom.xml | 10 ++++++++++ pom.xml | 1 + 2 files changed, 11 insertions(+) diff --git a/extensions/microprofile-health/runtime/pom.xml b/extensions/microprofile-health/runtime/pom.xml index 831b3ae..382b92c 100644 --- a/extensions/microprofile-health/runtime/pom.xml +++ b/extensions/microprofile-health/runtime/pom.xml @@ -60,6 +60,16 @@ <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-microprofile-health</artifactId> + <exclusions> + <exclusion> + <groupId>javax.enterprise</groupId> + <artifactId>cdi-api</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>jakarta.enterprise</groupId> + <artifactId>jakarta.enterprise.cdi-api</artifactId> </dependency> </dependencies> diff --git a/pom.xml b/pom.xml index 295b3b8..b7c7ff9 100644 --- a/pom.xml +++ b/pom.xml @@ -652,6 +652,7 @@ <exclude>javax.activation:activation</exclude><!-- use com.sun.activation:jakarta.activation instead --> <exclude>org.apache.geronimo.specs:geronimo-jms_1.1_spec</exclude><!-- use jakarta.jms:jakarta.jms-api instead --> <exclude>org.apache.geronimo.specs:geronimo-jms_2.0_spec</exclude><!-- use jakarta.jms:jakarta.jms-api instead --> + <exclude>javax.enterprise:cdi-api</exclude><!-- use jakarta.enterprise:jakarta.enterprise.cdi-api instead --> </excludes> </bannedDependencies> </rules>
