Jörg,
Is that something you're getting from the MANIFEST file? That we're embedding core components? The bundle-plugin configuration for our project looks like this.
----
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>com.visitflorida.vf-harmony</Bundle-SymbolicName>
<Export-Package>
com.visitflorida.harmony.*,
com.visitflorida.importer.*,
com.visitflorida.searchpromote.*,
com.visitflorida.form.*
</Export-Package>
<Import-Package>
<!-- all other dependencies should be marked optional -->
*;resolution:=optional
</Import-Package>
<Sling-Model-Packages>
com.visitflorida.harmony.models.components,
com.visitflorida.harmony.models.templates,
com.visitflorida.harmony.models.gigya,
com.visitflorida.form.components,
com.visitflorida.form.templates
</Sling-Model-Packages>
<Embed-Dependency>signpost-core,signpost-commonshttp4</Embed-Dependency>
</instructions>
</configuration>
</plugin>
----
So as far as I can tell we're just embedding the commonshttp4 dependency.
However, we also pull in the Brightcove Connector, slightly customized, and it's bundle-plugin configurations look like this.
----
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Activator>com.coresecure.brightcove.wrapper.Activator</Bundle-Activator>
<Embed-Dependency>
httpclient;scope=compile,
httpcore;scope=compile,
httpmime;scope=compile,
jsoup;scope=compile,
jcodec;scope=compile,
jcodec-javase;scope=compile
</Embed-Dependency>
<!--<Embed-Dependency>-->
<!--httpclient;scope=compile|runtime,-->
<!--<!–jackson-core;scope=compile|runtime,–>-->
<!--<!–java-jwt;scope=compile|runtime,–>-->
<!--</Embed-Dependency>-->
<Import-Package>
sun.net.www.protocol.https.*;resolution:=optional,javax.annotation;resolution:=optional,*
</Import-Package>
<Embed-Transitive>true</Embed-Transitive>
</instructions>
</configuration>
</plugin>
<configuration>
<instructions>
<!--<DynamicImport-Package>${bundle.dynamicImport.package}</DynamicImport-Package>-->
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Embed-Directory>OSGI-INF/lib</Embed-Directory>
<Embed-Transitive>true</Embed-Transitive>
</instructions>
</configuration>
----
Might this be where we're running into trouble?