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 2021/11/13 11:14:22 UTC

[brooklyn-dist] 04/07: remove weird excludes in osgi instructions for downstream projects

This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-dist.git

commit 278adb893db32fd054a70bdc84ecc5f90bc95d33
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Thu Nov 11 09:39:10 2021 +0000

    remove weird excludes in osgi instructions for downstream projects
---
 downstream-parent/pom.xml | 20 ++------------------
 1 file changed, 2 insertions(+), 18 deletions(-)

diff --git a/downstream-parent/pom.xml b/downstream-parent/pom.xml
index 921f285..4ae4f08 100644
--- a/downstream-parent/pom.xml
+++ b/downstream-parent/pom.xml
@@ -463,26 +463,10 @@
             <configuration>
               <supportedProjectTypes>
                 <supportedProjectType>jar</supportedProjectType>
+                <supportedProjectType>bundle</supportedProjectType>
               </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.osgi.jmx,
-                  !org.python.*,
-                  !org.reflections.*,
-                  !org.w3c.tidy.*,
-                  *
-                </Import-Package>
+                <!-- previously many packages were excluded from import-package; that seems wrong, however -->
                 <!--
                   Brooklyn-Feature prefix triggers inclusion of the project's metadata in the
                   server's features list.