downstream-parent does not set Export-Package There's no need for a downstream project to automatically export brooklyn.* and org.apache.brooklyn.* and it causes a number of issues when loading bundles into catalogues.
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/5e1c06b7 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/5e1c06b7 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/5e1c06b7 Branch: refs/heads/master Commit: 5e1c06b7bbfa3d8ad3e4a730bf6e0ae3f568b6c0 Parents: ba4d990 Author: Sam Corbett <[email protected]> Authored: Wed Dec 16 14:38:11 2015 +0000 Committer: Sam Corbett <[email protected]> Committed: Thu Dec 17 12:28:01 2015 +0000 ---------------------------------------------------------------------- usage/downstream-parent/pom.xml | 8 -------- 1 file changed, 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/5e1c06b7/usage/downstream-parent/pom.xml ---------------------------------------------------------------------- diff --git a/usage/downstream-parent/pom.xml b/usage/downstream-parent/pom.xml index 6580281..c4d5a74 100644 --- a/usage/downstream-parent/pom.xml +++ b/usage/downstream-parent/pom.xml @@ -447,16 +447,8 @@ <supportedProjectType>jar</supportedProjectType> </supportedProjectTypes> <instructions> - <!-- OSGi specific instruction --> <!-- - By default packages containing impl and internal - are not included in the export list. Setting an - explicit wildcard will include all packages - regardless of name. - In time we should minimize our export lists to - what is really needed. --> - <Export-Package>brooklyn.*,org.apache.brooklyn.*</Export-Package> <!-- Brooklyn-Feature prefix triggers inclusion of the project's metadata in the server's features list. --> <Brooklyn-Feature-Name>${project.name}</Brooklyn-Feature-Name> </instructions>
