Could you give an example when the package dependencies would not work
and require bundle would?
The maven plugin analyzes the bundle for referenced packages. Required
bundles should export those packages. The use of require bundle is
largely for convenience, it saved you from typing those pesky import
package statements. However, with the plugin this not an issue.
The advantage of import packages is that you get substitutability, if
you later decide to layout your bundles in a different way, or someone
decides to write an adapter for a different environment, things still
work.
Just curious.
Kind regards,
Peter Kriens
CS> Hi,
CS> I've tried the felix maven 2 plugin to build an Eclipse plugin and saw
CS> that there's no way to set the Require-Bundle from the dependencies.
CS> I'm looking for the possibility of saying that some of the deps are
CS> part of Require-Bundle and then don't include the jars in the result
CS> osgi bundle, nor in the Bundle-Classpath.
CS> Are my assumptions wrong? if not i'm gonna work on it and contribute
CS> it back if it's of interest.
CS> Thanks
--
Peter Kriens Tel +33467542167
9C, Avenue St. Drézéry AOL,Yahoo: pkriens
34160 Beaulieu, France ICQ 255570717
Skype pkriens Fax +1 8153772599