This is an automated email from the ASF dual-hosted git repository.
fmariani pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new ba3bf0ea1b4 Oracle xml parser conflicts with Logback, exclude it and
use the JDK one
ba3bf0ea1b4 is described below
commit ba3bf0ea1b479761ecba3d27dd97ce8712ed1158
Author: Croway <[email protected]>
AuthorDate: Thu Feb 12 11:10:15 2026 +0100
Oracle xml parser conflicts with Logback, exclude it and use the JDK one
---
components-starter/camel-debezium-oracle-starter/pom.xml | 12 ++++++++++++
.../main/resources/spring-boot-fix-dependencies.properties | 3 +++
2 files changed, 15 insertions(+)
diff --git a/components-starter/camel-debezium-oracle-starter/pom.xml
b/components-starter/camel-debezium-oracle-starter/pom.xml
index 9d82f34aa4a..69b61d16092 100644
--- a/components-starter/camel-debezium-oracle-starter/pom.xml
+++ b/components-starter/camel-debezium-oracle-starter/pom.xml
@@ -37,6 +37,18 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-oracle</artifactId>
<version>${camel-version}</version>
+ <!--START OF GENERATED CODE-->
+ <exclusions>
+ <exclusion>
+ <groupId>com.oracle.database.xml</groupId>
+ <artifactId>xdb</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.oracle.database.xml</groupId>
+ <artifactId>xmlparserv2</artifactId>
+ </exclusion>
+ </exclusions>
+ <!--END OF GENERATED CODE-->
</dependency>
<!--START OF GENERATED CODE-->
<dependency>
diff --git
a/tooling/camel-spring-boot-generator-maven-plugin/src/main/resources/spring-boot-fix-dependencies.properties
b/tooling/camel-spring-boot-generator-maven-plugin/src/main/resources/spring-boot-fix-dependencies.properties
index 68c749e1b70..d7ede77b8ad 100644
---
a/tooling/camel-spring-boot-generator-maven-plugin/src/main/resources/spring-boot-fix-dependencies.properties
+++
b/tooling/camel-spring-boot-generator-maven-plugin/src/main/resources/spring-boot-fix-dependencies.properties
@@ -45,3 +45,6 @@
camel-salesforce=org.eclipse.jetty:jetty-client:${jetty-version},org.eclipse.jet
# Existed for Netty 3
exclude_camel-hbase=io.netty:netty
+
+# Oracle's XML parser overrides the JDK SAX parser via ServiceLoader, breaking
Logback/Spring Boot XML parsing
+exclude_camel-debezium-oracle=com.oracle.database.xml:xmlparserv2,com.oracle.database.xml:xdb