On Wed, Jan 12, 2011 at 19:05, Clay McCoy <[email protected]> wrote:

> >
> >
> > If you want to completely embed it and not have it be visible at all or
> > impact your bundle, then you need to embed it and all of its
> dependencies.
>
>
> That is what I am doing isn't it? Is there something that I should be doing
> more than embed dependencies and setting transitives to true?  I don't
> understand what you are suggesting here.
>
> I am surprised by the maven bundle plugin in this case.  I would expect it
> to do one of two things.
> * Actually bring in everything it needs (sun.misc included)
> or
> * Fail if it can't bring in a dependency.  After all that i what I asked it
> to do.
>
> The fact that it doesn't bring it all in and is quiet about it seems wrong.
>  Is this intended?
>

This is due to how BND/osgi works. I think the maven-bundle-plugin does
things correctly on the maven side, but BND on the other hand looks at
actual packages in the binary classes. This essentially detects usage that
is not in maven a maven dependency.

-- 
John Bäckstrand

Reply via email to