Skip to content

Commit

Permalink
Improve jollyday-jackson OSGi bundle compatiblity
Browse files Browse the repository at this point in the history
It still works fine with Jackson 2.17 so there is no need to require Jackson 2.18+.
Requiring Jackson 2.18 in OSGi applications having other dependencies is a headache because this version uses Woodstox 7.
Woodstox 7 is not yet supported in bundle version ranges of any CXF or Aries JAX RS Whiteboard release.

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn committed Nov 30, 2024
1 parent 60f237c commit c339fd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jollyday-jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
<configuration>
<instructions>
<Bundle-SymbolicName>de.focus_shift.jollyday-jackson</Bundle-SymbolicName>
<Import-Package>com.fasterxml.jackson.*;version="[2.17,3)",*</Import-Package>
<Export-Package>de.focus_shift.jollyday.jackson.*</Export-Package>
<Require-Capability>osgi.extender;filter:="(osgi.extender=osgi.serviceloader.registrar)"</Require-Capability>
<Provide-Capability>osgi.serviceloader;osgi.serviceloader=de.focus_shift.jollyday.core.spi.ConfigurationService</Provide-Capability>
Expand Down

0 comments on commit c339fd9

Please sign in to comment.