tarilabs opened a new issue #3282: URL: https://github.com/apache/camel-quarkus/issues/3282
When used on Quarkus, the dependency `org.apache.camel.quarkus:camel-quarkus-atlasmap` also transitively imports `xercesImpl` and that makes my Quarkus app fail on some xml apis; to solve it, I manually exclude xercesImpl from my pom. ``` ... [INFO] +- org.apache.camel.quarkus:camel-quarkus-atlasmap:jar:2.4.0:compile [INFO] | \- org.apache.camel:camel-atlasmap:jar:3.12.0:compile ... [INFO] | \- io.atlasmap:atlas-dfdl-module:jar:2.2.3:compile [INFO] | +- io.atlasmap:atlas-dfdl-model:jar:2.2.3:compile [INFO] | \- io.atlasmap:atlas-dfdl-core:jar:2.2.3:compile [INFO] | \- org.apache.daffodil:daffodil-japi_2.12:jar:3.0.0:compile [INFO] | +- org.scala-lang:scala-library:jar:2.12.13:compile [INFO] | +- org.apache.daffodil:daffodil-core_2.12:jar:3.0.0:compile [INFO] | | +- org.apache.daffodil:daffodil-runtime1-unparser_2.12:jar:3.0.0:compile [INFO] | | | \- org.apache.daffodil:daffodil-runtime1_2.12:jar:3.0.0:compile [INFO] | | | \- org.apache.daffodil:daffodil-io_2.12:jar:3.0.0:compile [INFO] | | | \- org.apache.daffodil:daffodil-lib_2.12:jar:3.0.0:compile [INFO] | | \- org.apache.daffodil:daffodil-udf_2.12:jar:3.0.0:compile [INFO] | +- org.scala-lang.modules:scala-xml_2.12:jar:1.3.0:compile [INFO] | +- org.scala-lang.modules:scala-parser-combinators_2.12:jar:1.1.2:compile [INFO] | +- com.ibm.icu:icu4j:jar:67.1:compile [INFO] | +- xerces:xercesImpl:jar:2.12.0:compile [INFO] | | \- xml-apis:xml-apis:jar:1.4.01:compile [INFO] | +- xml-resolver:xml-resolver:jar:1.2:compile [INFO] | +- commons-io:commons-io:jar:2.11.0:compile [INFO] | +- jline:jline:jar:2.14.6:compile [INFO] | +- org.jdom:jdom2:jar:2.0.6:compile [INFO] | \- com.fasterxml.woodstox:woodstox-core:jar:6.1.1:compile [INFO] | \- org.codehaus.woodstox:stax2-api:jar:4.2:compile ... ``` The error relates to missing XSD Validation property: ``` Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized ``` Which is expected by _another_ Quarkus extensions in the same Quarkus application which needs to perform XSD Validation. To solve this issue, I exclude xercesImpl ~like this: https://github.com/tarilabs/quarkus-content-based-routing/blob/1b21a5359d71cb9a54d4a8ee8d901cac0c53fec6/pom.xml#L82-L91 To reproduce the problem, you can checkout that ^ application locally, elide the `<exclusion>` and running `mvn clean install` will exhibit the problem: another Quarkus extension is performing XSD Validation, but the property is being likely searched on the specific xercesImpl now, instead of relying on the batteries-included JDK xml capabilities? Can you kindly advise please? Thanks! /cc @zbendhiba -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org