Hi,

It should be cdi one but not sure it is fully up to date.

Cdi should be optional but guess bnd/bundle plugin is not fully aware of it
so we can surely enhance it at geronimo.

I know karaf is using johnzon - and obviously has more OSGi knowledge - so
asking them can be a good way to move forward "right" too.

Le ven. 13 sept. 2019 à 14:39, Markus Rathgeb <maggu2...@gmail.com> a
écrit :

> Hi,
>
> I know that's the dev mailing list, but there is no user one.
> So please allow me to comment here.
> If there is a better place, please point me in the right direction.
>
> I would like to use johnzon-jsonb 1.1.12 in an OSGi container.
>
> After adding johnzon-jsonb I got:
> osgi.wiring.package: (&(osgi.wiring.package=javax.json.bind))
>
> That's easy, we need the respective API bundle.
> I added org.apache.geronimo.specs/geronimo-jsonb_1.0_spec/1.1
>
> johnzon-jsonb requires: osgi.contract:
> (&(osgi.contract=JavaCDI)(version=2.0.0))
> I added org.apache.geronimo.specs/geronimo-jcdi_2.0_spec/1.1
> This bundle provides the JavaCDI contract version 2.0.0
>
> The jcdi bundle requires: osgi.wiring.package:
> (&(osgi.wiring.package=javax.el))
> I added org.apache.geronimo.specs/geronimo-el_2.2_spec/1.1
>
> The jcdi also requires: osgi.wiring.package:
> (&(osgi.wiring.package=javax.inject))
> I added org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.1
>
> The jcdi also requires: osgi.serviceloader:
> (osgi.serviceloader=javax.enterprise.inject.se.SeContainerInitializer)
>
> I don't know which bundle provides that service loader.
>
> Can you please point me to a set of bundles to use Johnzon JSON-B in OSGi?
>
> Best regards,
> Markus
>

Reply via email to