This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch camel-master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/camel-master by this push: new f333795 Fix java.lang.LinkageError: loader constraint violation: when resolving field DATETIME of type javax.xml.namespace.QName intruduced after CSimple language support #2036 f333795 is described below commit f333795f2dc93c0af08d85e5a18af7fd936d2c31 Author: Peter Palaga <ppal...@redhat.com> AuthorDate: Fri Dec 11 11:57:50 2020 +0100 Fix java.lang.LinkageError: loader constraint violation: when resolving field DATETIME of type javax.xml.namespace.QName intruduced after CSimple language support #2036 --- extensions-core/xml-jaxb/runtime/pom.xml | 12 ++++++++++++ extensions/xstream/runtime/pom.xml | 6 ++++++ 2 files changed, 18 insertions(+) diff --git a/extensions-core/xml-jaxb/runtime/pom.xml b/extensions-core/xml-jaxb/runtime/pom.xml index ed7b880..dfcd852 100644 --- a/extensions-core/xml-jaxb/runtime/pom.xml +++ b/extensions-core/xml-jaxb/runtime/pom.xml @@ -52,10 +52,22 @@ <groupId>org.apache.camel</groupId> <artifactId>camel-xml-jaxb</artifactId> <exclusions> + <!-- We prefer using --> + <!-- the spec jar org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec-parent --> + <!-- and the implementation jar org.glassfish.jaxb:jaxb-runtime --> + <!-- pulled via io.quarkus:quarkus-jaxb --> <exclusion> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> </exclusion> + <exclusion> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-core</artifactId> + </exclusion> + <exclusion> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-impl</artifactId> + </exclusion> </exclusions> </dependency> <dependency> diff --git a/extensions/xstream/runtime/pom.xml b/extensions/xstream/runtime/pom.xml index dcfc522..37e0aa7 100644 --- a/extensions/xstream/runtime/pom.xml +++ b/extensions/xstream/runtime/pom.xml @@ -59,6 +59,12 @@ <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-xstream</artifactId> + <exclusions> + <exclusion> + <groupId>stax</groupId> + <artifactId>stax-api</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.graalvm.nativeimage</groupId>