HHH-8439 optional OSGi manifest imports in envers
This commit is contained in:
parent
cc992e0e1a
commit
858c68364a
|
@ -61,12 +61,15 @@ jar {
|
||||||
manifest {
|
manifest {
|
||||||
instruction 'Bundle-Description', 'Hibernate ORM Envers'
|
instruction 'Bundle-Description', 'Hibernate ORM Envers'
|
||||||
|
|
||||||
instruction 'Import-Package',
|
instructionFirst 'Import-Package',
|
||||||
// TODO: Shouldn't have to explicitly list the JPA packages, but
|
// TODO: Shouldn't have to explicitly list the JPA packages, but
|
||||||
// the plugin generates them with [1.0,2) versions.
|
// the plugin generates them with [1.0,2) versions.
|
||||||
'javax.persistence;version="2.1.0"',
|
'javax.persistence;version="2.1.0"',
|
||||||
'javax.persistence.criteria;version="2.1.0"',
|
'javax.persistence.criteria;version="2.1.0"',
|
||||||
'javax.persistence.metamodel;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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue