Fixes #9670 to make jooq OSGi backwards compatible for slf4j and also fix the bundle to not import itself.

Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
This commit is contained in:
Claus Ibsen 2019-12-13 08:57:30 +01:00
parent 3e27644e7a
commit 3e23839e94

View File

@ -50,11 +50,9 @@
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Export-Package>*</Export-Package>
<!-- do not import jooq (ourselves) -->
<Import-Package>
javax.persistence;resolution:=optional,
org.slf4j;resolution:=optional;version="[1.7,2)",
!org.jooq.*,
*
</Import-Package>
<_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>