Exclude javax from hibernate dependency

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

View File

@ -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'