I have a bundle with some service interfaces in com.mycompany.myapp and their implementations in com.mycompany.myapp.implSince I only want to export interfaces and not implementations, I add the following directive to maven-bundle-plugin configuration: <Export-Package>com.mycompany.myapp</Export-Package>
But then the problem is that implementations are not in the resulting bundle. And if I a "*" to the package, implementation classes are in the bundle but the impl package is exported in the manifest. How is it that the Export-Package directive also controls which classes are bundled? FYI I'm using version 1.4.0 of maven-bundle-plugin. -- Sébastien Arbogast http://sebastien-arbogast.com

