Although bnd documentation could use some tender loving care this is an
unfortunately rare example that is documented at the appropriate place:
http://bnd.bndtools.org/instructions/conditional-package.html
<http://bnd.bndtools.org/instructions/conditional-package.html>
It does light up as the first line on a Google search for `bnd Conditional
Package`
Kind regards,
Peter Kriens
> On 9 Dec 2017, at 22:52, smunro <[email protected]> wrote:
>
> Hello,
>
> I am investigating the "Conditional-Package" instruction for OSGI bundles
> via the MVN bundle plugin. It was brought to my attention by another member
> of my team, who cannot find any documentation on this instruction.
>
> I was wondering if anyone could comment on this feature and its typical use
> case. Alternatively, if you could point me in the right direction of an
> example bundle which uses this and/or documentation.
>
> I suspect this is not heavily used in OSGI apps, as I've only seen it
> mentioned in posts from people with specific desires to deploy a bundle IF
> certain dependencies are already in place in the deployment environment, yet
> I've never seen a code example or a "here is an example of how to use it via
> the maven bundle plugin".
>
> Stephen
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html