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 2022/07/18 16:51:06 UTC

[brooklyn-server] branch master updated: change opendmk/jmx wrapping to use a hardcoded bundle name

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-server.git


The following commit(s) were added to refs/heads/master by this push:
     new da605512e0 change opendmk/jmx wrapping to use a hardcoded bundle name
da605512e0 is described below

commit da605512e0c88b398b35949fdc1ada4a8b912d32
Author: Alex Heneveld <al...@cloudsoft.io>
AuthorDate: Mon Jul 18 17:42:54 2022 +0100

    change opendmk/jmx wrapping to use a hardcoded bundle name
    
    otherwise path length can get very long, hopefully this fixes issues there
---
 karaf/features/src/main/feature/feature.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/karaf/features/src/main/feature/feature.xml b/karaf/features/src/main/feature/feature.xml
index d1bee17f2d..04d179a455 100644
--- a/karaf/features/src/main/feature/feature.xml
+++ b/karaf/features/src/main/feature/feature.xml
@@ -289,7 +289,7 @@
     <feature name="brooklyn-software-base"  version="${project.version}"  description="Brooklyn Software Base">
         <feature prerequisite="true">brooklyn-essential-deps</feature>
         <bundle>mvn:org.apache.brooklyn/brooklyn-software-base/${project.version}</bundle>
-        <bundle>wrap:mvn:org.glassfish.external/opendmk_jmxremote_optional_jar/${opendmk_jmxremote_optional_jar.version}$Import-Package=javax.management.openmbean,*</bundle>
+        <bundle>wrap:mvn:org.glassfish.external/opendmk_jmxremote_optional_jar/${opendmk_jmxremote_optional_jar.version}$Bundle-SymbolicName=glassfish-opendmk-jmxremote-optional&amp;Bundle-Version=1&amp;Import-Package=javax.management.openmbean,*</bundle>
         <feature>brooklyn-software-winrm</feature>
         <feature>brooklyn-policy</feature>
     </feature>
@@ -297,7 +297,7 @@
     <feature name="brooklyn-jmxmp-agent" version="${project.version}" description="Brooklyn Secure JMXMP Agent">
         <bundle>mvn:org.apache.brooklyn/brooklyn-jmxmp-agent/${project.version}</bundle>
         <feature>brooklyn-core</feature>
-        <bundle dependency="true">wrap:mvn:org.glassfish.external/opendmk_jmxremote_optional_jar/${opendmk_jmxremote_optional_jar.version}$Import-Package=javax.management.openmbean,*</bundle>
+        <bundle dependency="true">wrap:mvn:org.glassfish.external/opendmk_jmxremote_optional_jar/${opendmk_jmxremote_optional_jar.version}$Bundle-SymbolicName=glassfish-opendmk-jmxremote-optional&amp;Bundle-Version=1&amp;Import-Package=javax.management.openmbean,*</bundle>
     </feature>
 
     <feature name="brooklyn-jmxrmi-agent" version="${project.version}" description="Brooklyn JMX RMI Agent">