From cf1f10336ef1f71f1c09aa9b8e7555a76e037dae Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Wed, 1 Feb 2017 19:52:59 -0500 Subject: [PATCH] HHH-11439 added javax.interceptor to OSGi feature dependencies --- hibernate-osgi/hibernate-osgi.gradle | 10 ++++++++++ libraries.gradle | 1 + 2 files changed, 11 insertions(+) diff --git a/hibernate-osgi/hibernate-osgi.gradle b/hibernate-osgi/hibernate-osgi.gradle index 6e3bcf2525..5ba874a8ff 100644 --- a/hibernate-osgi/hibernate-osgi.gradle +++ b/hibernate-osgi/hibernate-osgi.gradle @@ -51,6 +51,9 @@ dependencies { compile "org.osgi:org.osgi.compendium:${osgiCoreVersion}" compile "net.bytebuddy:byte-buddy:${byteBuddyVersion}" + // Needed by JBoss JTA + runtime( libraries.interceptor ) + testCompile "org.ops4j.pax.exam:pax-exam:${paxExamVersion}" testCompile "org.ops4j.pax.exam:pax-exam-junit4:${paxExamVersion}" testCompile "org.ops4j.pax.exam:pax-exam-container-karaf:${paxExamVersion}" @@ -176,6 +179,13 @@ karafFeatures { } dependency = true } + bundle { + match { + group = 'javax.interceptor' + module = 'javax.interceptor-api' + } + dependency = true + } bundle { match { group = 'org.jboss.spec.javax.transaction' diff --git a/libraries.gradle b/libraries.gradle index 1e86cca98d..c46f1af4b7 100644 --- a/libraries.gradle +++ b/libraries.gradle @@ -57,6 +57,7 @@ ext { jta: 'org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.1.Final', validation: 'javax.validation:validation-api:1.1.0.Final', jacc: 'org.jboss.spec.javax.security.jacc:jboss-jacc-api_1.4_spec:1.0.2.Final', + interceptor: 'javax.interceptor:javax.interceptor-api:1.2', // logging logging: 'org.jboss.logging:jboss-logging:3.3.0.Final',