From 4ed8006e5ab320a6a8855316cacde24b9c3a078f Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Fri, 7 Jun 2013 13:05:36 -0400 Subject: [PATCH] HHH-8255 made a few hibernate-core imports optional in the manifest --- hibernate-core/hibernate-core.gradle | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hibernate-core/hibernate-core.gradle b/hibernate-core/hibernate-core.gradle index 72f3c5c9b1..af0679f456 100644 --- a/hibernate-core/hibernate-core.gradle +++ b/hibernate-core/hibernate-core.gradle @@ -64,7 +64,14 @@ jar { // Temporarily support JTA 1.1 -- Karaf and other frameworks still // use it. Without this, the plugin generates [1.2,2). // build.gradle adds javax.transaction for all modules - 'javax.transaction.xa;version="[1.1,2)"' + 'javax.transaction.xa;version="[1.1,2)"', + // optionals + 'javax.management;resolution:=optional', + 'javax.naming.event;resolution:=optional', + 'javax.naming.spi;resolution:=optional', + 'org.apache.tools.ant;resolution:=optional', + 'org.apache.tools.ant.taskdefs;resolution:=optional', + 'org.apache.tools.ant.types;resolution:=optional' // TODO: Uncomment once EntityManagerFactoryBuilderImpl no longer // uses ClassLoaderServiceImpl.