Hi Peter, while reading this i am thinking of one more interesting case.
What about bundles that do not have the source located as class files under the root of the bundle jar, meaning that the bundle can play a double role as valid "classic" jar and as a valid bundle? It is entirely possible, and probably in certain cases, not only library jars, desirable to package all class files into jars within bundles. What about maven and the bnd plugin in that case? - is maven capable of using the resulting bundle as a dependency for the next bundle (I think not) - is the bnd plugin capable to figuring out the imports and exports from only ingoing .jar files, meaning that more or less all bundles look like library bundles? (I guess that is there or would be possible) /peter