Hi,

On Wed, Nov 19, 2014 at 1:39 AM, Bruce Edge
<[email protected]> wrote:
> ...What is the preferred way to include a bundle's transitive
> dependencies in the jar that is deployed to the OGSI service?...

The preferred way is not to embed them but rather deploy them as
separate bundles.

IMO embedding only makes sense if those transitive dependencies are
only useful for that single bundle, or need to be hidden in there for
usually ugly reasons.

If you need to wrap existing non-OSGi libraries as bundles there's an
example at samples/mail-archive/james-wrapper/pom.xml - which does use
embed-dependency but to create a distinct bundle with just the wrapped
stuff.

-Bertrand

Reply via email to