apache/incubator-brooklyn — pull request #90 by neykov (2014-07-23 19:55:12+00:00)
Title: OSGi class loading fixes

* Changes the way bundles on the classpath are exported to felix - from list of exported packages in system.packages.extra to building extension bundles for each bundle on the classpath. This avoids the case where the same class would be loaded once from the classpath and once from a bundle referenced by a catalog item. When the catalog item tries to install the bundle we see that there is already an existing version installed and use it instead.
* AggregateClassLoader doesn't relay to parent, using only the explicitly registered classloaders.
* Force maven-bundle-plugin to include \*.impl.\* and \*.internal.\* packages in the export-package list (referenced between brooklyn bundles)