From 6386ba4d887e4ee83fec6d08d5700802f9caa235 Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Wed, 10 Apr 2013 14:46:08 -0400 Subject: [PATCH] HHH-7944 Corrected envers JPA imports in manifest --- hibernate-envers/hibernate-envers.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hibernate-envers/hibernate-envers.gradle b/hibernate-envers/hibernate-envers.gradle index c3f9a6ec7e..1d406053b5 100644 --- a/hibernate-envers/hibernate-envers.gradle +++ b/hibernate-envers/hibernate-envers.gradle @@ -52,5 +52,14 @@ generateSources.dependsOn generateJpaMetamodelClasses jar { manifest { instruction 'Bundle-Description', 'Hibernate ORM Envers' + + instruction 'Import-Package', + // TODO: Shouldn't have to explicitly list the JPA packages, but + // the plugin generates them with [1.0,2) versions. + 'javax.persistence;version="2.1.0"', + 'javax.persistence.criteria;version="2.1.0"', + 'javax.persistence.metamodel;version="2.1.0"', + 'javax.persistence.spi;version="2.1.0"', + '*' } } \ No newline at end of file