HHH-11309 Marking OSGi package imports for ByteBuddy as optional

This commit is contained in:
Gunnar Morling 2017-01-02 17:57:28 +01:00
parent 652f85644f
commit 7d3788c76a
2 changed files with 5 additions and 6 deletions

View File

@ -143,11 +143,12 @@ jar {
'javax.naming.event;resolution:=optional',
'javax.naming.spi;resolution:=optional',
'org.apache.tools.ant;resolution:=optional',
'org.apache.tools.ant.taskdefs;resolution:=optional',
'org.apache.tools.ant.types;resolution:=optional',
'org.apache.tools.ant.taskdefs;resolution:=optional',
'org.apache.tools.ant.types;resolution:=optional',
'!javax.enterprise*',
'javax.enterprise.context.spi;resolution:=optional',
'javax.enterprise.inject.spi;resolution:=optional'
'javax.enterprise.inject.spi;resolution:=optional',
'net.bytebuddy.*;resolution:=optional'
// // TODO: Uncomment once EntityManagerFactoryBuilderImpl no longer
// // uses ClassLoaderServiceImpl.

View File

@ -8,7 +8,5 @@
<feature name='hibernate-osgi-testing' version='5.0.0-SNAPSHOT'>
<bundle>mvn:com.h2database/h2/1.3.170</bundle>
<bundle>mvn:org.ops4j.pax.url/pax-url-aether/2.3.0</bundle>
<!-- Needed since ByteBuddy is currently a 'provided' scope until ORM 6. -->
<bundle>mvn:net.bytebuddy/byte-buddy/1.5.4</bundle>
</feature>
</features>
</features>