You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2015/12/21 13:10:53 UTC

[03/12] incubator-brooklyn git commit: downstream-parent excludes a number of non-OSGi packages

downstream-parent excludes a number of non-OSGi packages

All of them can break catalogue loading.


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/ac9ea5d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/ac9ea5d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/ac9ea5d3

Branch: refs/heads/master
Commit: ac9ea5d37502dafe8c9d7a901979d542cfe88287
Parents: 13e38d9
Author: Sam Corbett <sa...@cloudsoftcorp.com>
Authored: Wed Dec 16 14:38:56 2015 +0000
Committer: Sam Corbett <sa...@cloudsoftcorp.com>
Committed: Thu Dec 17 12:28:02 2015 +0000

----------------------------------------------------------------------
 usage/downstream-parent/pom.xml | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/ac9ea5d3/usage/downstream-parent/pom.xml
----------------------------------------------------------------------
diff --git a/usage/downstream-parent/pom.xml b/usage/downstream-parent/pom.xml
index c4d5a74..c1731fd 100644
--- a/usage/downstream-parent/pom.xml
+++ b/usage/downstream-parent/pom.xml
@@ -448,8 +448,29 @@
               </supportedProjectTypes>
               <instructions>
                 <!--
+                  Exclude packages used by Brooklyn that are not OSGi bundles. Including any
+                  of the below may cause bundles to fail to load into the catalogue with
+                  messages like "Unable to resolve 150.0: missing requirement [150.0]
+                  osgi.wiring.package; (osgi.wiring.package=com.maxmind.geoip2)".
+                -->
+                <Import-Package>
+                  !com.maxmind.geoip2.*,
+                  !io.airlift.command.*,
+                  !io.cloudsoft.winrm4j.*,
+                  !javax.inject.*,
+                  !org.apache.felix.framework.*,
+                  !org.apache.http.*,
+                  !org.jclouds.googlecomputeengine.*,
+                  !org.osgi.jmx,
+                  !org.python.*,
+                  !org.reflections.*,
+                  !org.w3c.tidy.*,
+                  *
+                </Import-Package>
+                <!--
+                  Brooklyn-Feature prefix triggers inclusion of the project's metadata in the
+                  server's features list.
                 -->
-                <!-- 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>
             </configuration>