Hey guys,

thanks first of all for providing the maven-bundle-plugin. It is a great help 
when using OSGi!

We use it e.g. to embed some third party (non-OSGi)  dependencies, we do not 
need as distinct bundles.
We do this via 
<Embed-Dependency>*;scope=compile</Embed-Dependency>
and
<Embed-Transitive>true</Embed-Transitive>

Embed-Transitive also seems to auto generate Import-Package statements for all 
optional (transitive) dependencies. Meaning dependencies, which are defined as 
<optional>true</optional>.

In our case, this leads to a lot of imports, which are actually not present. 
The dependency, we are including has a quite deeply nested dependency graph 
with lots of optional dependencies.

Currently, we manually define a <Import-Package> whitelist to cope with that.

Is there any possibility to tell the plugin to ignore/exclude optional 
transitive dependencies? Or could that be a possible feature request?

Thanks and all the best,
Frank 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to