Hi, Since maven-bundle-plugin (2.3.7) some packages declared as optional are removed by the plugin or bnd tool when the MANIFEST is created.
Example : <Import-Package>*,=org.jbpm.services.task*;resolution:=optional,*org.jbpm.persistence.correlation*;resolution:=optional</Import-Package> The trick is to place the symbol '=' before the line like that '=org.jbpm*;resolution=optional' but this option does not work with OPS4J PAX url tool (= wrap) <bundle start-level="100">wrap:mvn:org.hibernate/hibernate-core/4.3.1.Final$overwrite=merge&Import-Package=*,=org.jbpm.services.task*;resolution:=optional,*org.jbpm.persistence.correlation*;resolution:=optional</bundle> QUESTOS : - Is there a reason why this behavior has changed (optional packages removed) ? - Is there another trick to be used instead of the symbol '=' avoid that the packages are removed ? Regards, -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io

