I'm new. I bet that this is all written up somewhere; if not, I will be
happy to write up a wiki page.

I'm packaging up a few items as OSGi bundles, and I'm perplexed by how the
maven-bundle-plugin related Maven dependencies to OSGi dependencies.

Here are some very simple instructions:

 <instructions>

 <Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>
        <Export-Package>com.basistech.rosette.dm</Export-Package>
 </instructions>

The POM's dependency section lists two artifacts. One (a)  is an OSGi
bundle built 'right next door', the other (b) isn't OSGI'd at all, its the
thing I'm trying to wrap.  (b) in turn depends on Guava. My local copy of
Nexus is not configured at all for OBR.

When I build, I end up with (a) embedded, the body of (b) embedded, and
Guava declared as a dependency! I suppose that i can get (b) disembedded by
making the Embed-Dependency more subtle, but how is a guava OSGi bundle
getting into the picture?

Reply via email to