HHH-7944 Corrected envers JPA imports in manifest

This commit is contained in:
Brett Meyer 2013-04-10 14:46:08 -04:00
parent 54bc9fbf9d
commit 6386ba4d88
1 changed files with 9 additions and 0 deletions

View File

@ -52,5 +52,14 @@ generateSources.dependsOn generateJpaMetamodelClasses
jar { jar {
manifest { manifest {
instruction 'Bundle-Description', 'Hibernate ORM Envers' 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"',
'*'
} }
} }