This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
commit 4a09469c4fcb15277c224b4fca60487f4778d8ad Author: James Netherton <[email protected]> AuthorDate: Fri Nov 20 08:13:30 2026 +0000 rest-keycloak-soap-jms: Exclude Jackson 3 Keycloak client jars from quarkus-test-keycloak-server Relates to apache/camel-quarkus#9528. camel-quarkus-keycloak temporarily drops the Quarkus Keycloak admin client and relies on the Jackson 2 Keycloak client from camel-keycloak. The Jackson 3 Keycloak client jars brought in by quarkus-test-keycloak-server must be excluded, otherwise Keycloak.getInstance picks the Jackson 3 ResteasyClientProvider, which fails with NoClassDefFoundError for dev.resteasy.providers.jackson.ResteasyJacksonProvider. Co-Authored-By: Claude Opus 5.5 <[email protected]> --- rest-keycloak-soap-jms/pom.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rest-keycloak-soap-jms/pom.xml b/rest-keycloak-soap-jms/pom.xml index 8761de93..591fbd2e 100644 --- a/rest-keycloak-soap-jms/pom.xml +++ b/rest-keycloak-soap-jms/pom.xml @@ -168,6 +168,18 @@ <groupId>io.quarkus</groupId> <artifactId>quarkus-test-keycloak-server</artifactId> <scope>test</scope> + <exclusions> + <!-- Avoid Jackson 3 Keycloak client classes clashing with the Jackson 2 variants from camel-keycloak --> + <!-- TODO: Remove this - https://github.com/apache/camel-quarkus/issues/9528 --> + <exclusion> + <groupId>org.keycloak</groupId> + <artifactId>keycloak-admin-client-jackson3</artifactId> + </exclusion> + <exclusion> + <groupId>org.keycloak</groupId> + <artifactId>keycloak-client-common-synced-jackson3</artifactId> + </exclusion> + </exclusions> </dependency> </dependencies>
