I see you are generating the entries manually with the jar plugin, don't do
that.. use the maven-bundle-plugin... you are missing the osgi imports and
if you use the maven bundle plugin it will automatically generate your
imports section for you.  Also, don't use the felix dependency in your pom,
use the osgi core and osgi compendium dependencies in your bundle... that
way you aren't relying on any specific implementation unless you have to.


On Thu, Apr 10, 2014 at 9:49 AM, vickyk <[email protected]> wrote:

> vickyk wrote
> > Let me see if I could share the code as I don't see attachement option
> > here.
>
> Ok, I figured it and have attached the code. api-bundles.zip
> <http://karaf.922171.n3.nabble.com/file/n4032685/api-bundles.zip>
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Unable-to-do-load-BundleActivator-after-package-is-exported-in-manifest-for-a-bundle-tp4032661p4032685.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

Reply via email to