I want to create a bundle (using the 1.4.1 plugin) that wraps 2 libraries a
and b and exposes some public API . The libraries (JAR) a and b contain the
packages
samples.deployment.a
samples.deployment.a.internal
samples.deployment.b
samples.deployment.b.internal
Both libraries should be embedded as JARS into the bundle (not inlined). But
for some strange reason the contents of packages
samples.deployment.a.internal and samples.deployment.b.internal get inlined
into the bundle (they shouldn't)
The packaging instructions looke as
<instructions>
<Embed-Dependency>
samples.deployment.b;inline=false,samples.deployment.a;inline=false,geronimo-ejb_3.0_spec,jta,jsr181-api
</Embed-Dependency>
<!-- Export-Package causes duplication of embedded contents -->
<_exportcontents>
!samples.deployment.a.internal,!samples.deployment.b.internal,samples.deployment.b,samples.deployment.a
</_exportcontents>
<Export-Package>
!samples.deployment.a.internal
</Export-Package>
<Import-Package>
org.osgi.framework
</Import-Package>
<Private-Package>
samples.deployment.ab.osgi2.internal,
samples.deployment.a.internal,
samples.deployment.b.internal
</Private-Package>
<Require-Bundle>
org.eclipse.osgi
</Require-Bundle>
<!--
add ,plugin.xml if it's present i.e.
src/main/resources,plugin.xml
-->
<Include-Resource>
src/main/resources
</Include-Resource>
</instructions>
Anybody who has an idea what's wrong? Thanks!
-----
http://www.martinahrer.at/blog http://www.martinahrer.at/blog
--
View this message in context:
http://www.nabble.com/-maven-bundle-plugin--duplicated-content-tp18506669p18506669.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]