Exclude javax from hibernate dependency

Issue gh-10501
This commit is contained in:
Rob Winch 2022-01-19 10:43:59 -06:00
parent 13c467734a
commit 4f3072b3d9
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ dependencies {
testImplementation 'org.apache.directory.shared:shared-ldap' testImplementation 'org.apache.directory.shared:shared-ldap'
testImplementation 'org.eclipse.persistence:javax.persistence' testImplementation 'org.eclipse.persistence:javax.persistence'
testImplementation('org.hibernate:hibernate-entitymanager') { 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' exclude group: 'org.jboss.spec.javax.transaction', module: 'jboss-transaction-api_1.2_spec'
} }
testImplementation 'org.hsqldb:hsqldb' testImplementation 'org.hsqldb:hsqldb'