From ba922dcdf0d58f9c2ac599af7937c9123168f3d2 Mon Sep 17 00:00:00 2001 From: Rob Winch <rwinch@users.noreply.github.com> Date: Wed, 19 Jan 2022 10:43:59 -0600 Subject: [PATCH] Exclude javax from hibernate dependency Issue gh-10501 --- config/spring-security-config.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/spring-security-config.gradle b/config/spring-security-config.gradle index 38e682fd6c..2ce079d305 100644 --- a/config/spring-security-config.gradle +++ b/config/spring-security-config.gradle @@ -79,6 +79,9 @@ dependencies { testImplementation "com.unboundid:unboundid-ldapsdk" testImplementation 'org.eclipse.persistence:javax.persistence' testImplementation('org.hibernate:hibernate-entitymanager') { + exclude group: 'javax.activation', module: 'javax.activation-api' + exclude group: 'javax.persistence', module: 'javax.persistence-api' + exclude group: 'javax.xml.bind', module: 'jaxb-api' exclude group: 'org.jboss.spec.javax.transaction', module: 'jboss-transaction-api_1.2_spec' } testImplementation 'org.hsqldb:hsqldb'