Hi
Hard to tell without more context (the full pom.xml).
Maybe your are inlining the package somehow tricking the bundle plugin to embed
and export.
If you just want to embedd the commons-lang library you might want to use the
Embed-Dependency directive:
<Embed-Dependency>
commons-lang
</Embed-Dependency>
This puts the library into the bundle and creates a Bundle-ClassPath entry for
the library. You might also want to inline the library instead of. See [1] for
details.
Regards
Felix
[1]
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html#ApacheFelixMavenBundlePlugin%28BND%29-Embeddingdependencies
Am 25.09.2012 um 12:11 schrieb Filippo Balicchia:
> Hi,
> I try repackaging a jar that use org.apache.commons.lang .
> I have instruct maven-bundle-plugin to export only some of the packages.
> But When I check the jar product i see org.apache.commons.lang as
> export package.
>
> I try to instruct maven-bundle-plugin to not export org.apache.commons.lang
> with
> <Export-Package>list of my package, !org.apache.commons.lang</Export-Package>
>
> but i ignore me.
>
> What is my mistake ?
>
> Thanks for help
>
> Regards
>
> --Filippo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]