Recently I ran in to an interesting little problem with “resolution:=optional” OSGi directive. Basically what “resolution:=optional” says is that the even though the package imported with this directive is not present in the system bundle would be resolved at run time. This is logical in case of compile time dependencies of the bundle not being [...]
Posts Tagged ‘BND’
Dangers of “resolution:=optional”
Posted in Tips, tagged BND, Felix, OSGi, p2 on June 4, 2011 | Leave a Comment »
Maven Bundle Plugin – Tidbits
Posted in Tips, tagged BND, Felix, Maven, OSGi, Tips on May 21, 2011 | Leave a Comment »
I use Maven Bundle plugin a lot since our projects are OSGi based. Basic idea I had of this plugin is that this plugin makes an OSGi bundle out of a normal jar (basically by augmenting the META-INF file) if we do declare exported and private package information correctly in it’s configuration section in the [...]

