HHH-8439 optional OSGi manifest imports in envers

This commit is contained in:
Brett Meyer 2013-08-13 11:03:29 -04:00
parent cc992e0e1a
commit 858c68364a
1 changed files with 5 additions and 2 deletions

View File

@ -61,12 +61,15 @@ jar {
manifest {
instruction 'Bundle-Description', 'Hibernate ORM Envers'
instruction 'Import-Package',
instructionFirst '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"'
'javax.persistence.spi;version="2.1.0"',
// optionals
'javax.naming;resolution:=optional',
'org.apache.tools.ant;resolution:=optional'
}
}