Blame SOURCES/fix_bundle_loading.patch

aa165c
diff --git a/dev/multi-module-plugin-archetype/src/main/resources/archetype-resources/distribution/thermostat-plugin.xml b/dev/multi-module-plugin-archetype/src/main/resources/archetype-resources/distribution/thermostat-plugin.xml
aa165c
--- a/dev/multi-module-plugin-archetype/src/main/resources/archetype-resources/distribution/thermostat-plugin.xml
aa165c
+++ b/dev/multi-module-plugin-archetype/src/main/resources/archetype-resources/distribution/thermostat-plugin.xml
7d62d8
@@ -39,7 +39,7 @@
aa165c
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${symbol_dollar}{commons-logging.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${symbol_dollar}{httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${symbol_dollar}{httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${symbol_dollar}{gson.version}</version></bundle>
aa165c
       </bundles>
7d62d8
     </command>
aa165c
diff --git a/dev/schema-info-command/distribution/thermostat-plugin.xml b/dev/schema-info-command/distribution/thermostat-plugin.xml
aa165c
--- a/dev/schema-info-command/distribution/thermostat-plugin.xml
aa165c
+++ b/dev/schema-info-command/distribution/thermostat-plugin.xml
7d62d8
@@ -63,7 +63,7 @@
aa165c
         <bundle><symbolic-name>com.redhat.thermostat.web.client</symbolic-name><version>${project.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.mongodb.mongo-java-driver</symbolic-name><version>${mongo-driver.osgi-version}</version></bundle>
aa165c
       </bundles>
7d62d8
     </command>
aa165c
diff --git a/distribution/config/commands/agent-info.properties b/distribution/config/commands/agent-info.properties
aa165c
--- a/distribution/config/commands/agent-info.properties
aa165c
+++ b/distribution/config/commands/agent-info.properties
7d62d8
@@ -4,7 +4,7 @@
aa165c
           com.redhat.thermostat.web.client=${project.version}, \
aa165c
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
aa165c
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
7d62d8
-          ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
aa165c
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           com.google.gson=${gson.version}, \
aa165c
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
7d62d8
           org.apache.commons.beanutils=${commons-beanutils.version}, \
3aaed5
diff --git a/distribution/config/commands/agent.properties b/distribution/config/commands/agent.properties
3aaed5
--- a/distribution/config/commands/agent.properties
3aaed5
+++ b/distribution/config/commands/agent.properties
7d62d8
@@ -3,7 +3,7 @@
3aaed5
           com.redhat.thermostat.web.client=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
7d62d8
-          ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           com.redhat.thermostat.process=${project.version}, \
7d62d8
           com.redhat.thermostat.common.core=${project.version}, \
3aaed5
diff --git a/distribution/config/commands/clean-data.properties b/distribution/config/commands/clean-data.properties
3aaed5
--- a/distribution/config/commands/clean-data.properties
3aaed5
+++ b/distribution/config/commands/clean-data.properties
7d62d8
@@ -4,7 +4,7 @@
3aaed5
           com.redhat.thermostat.web.client=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
7d62d8
-          ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
7d62d8
           org.apache.commons.beanutils=${commons-beanutils.version}, \
3aaed5
diff --git a/distribution/config/commands/connect.properties b/distribution/config/commands/connect.properties
3aaed5
--- a/distribution/config/commands/connect.properties
3aaed5
+++ b/distribution/config/commands/connect.properties
7d62d8
@@ -10,7 +10,7 @@
3aaed5
           org.apache.commons.logging=${commons-logging.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
7d62d8
-          ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
3aaed5
           com.google.gson=${gson.version}
3aaed5
 
7d62d8
 summary = persistently connect to storage
3aaed5
diff --git a/distribution/config/commands/gui.properties b/distribution/config/commands/gui.properties
3aaed5
--- a/distribution/config/commands/gui.properties
3aaed5
+++ b/distribution/config/commands/gui.properties
aa165c
@@ -19,8 +19,11 @@
3aaed5
           com.redhat.thermostat.process=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
7d62d8
-          ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
aa165c
-          org.jboss.netty=${netty.version}
7d62d8
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
3aaed5
+          org.jboss.netty=${netty.version}, \
7d62d8
+          org.jfree.jcommon=${jcommon.osgi.version}, \
7d62d8
+          org.jfree.jfreechart=${jfreechart.osgi.version}, \
7d62d8
+          com.mxgraph=${jgraphx.osgi.version}
3aaed5
 
7d62d8
 summary = launch the GUI client
3aaed5
 
aa165c
diff --git a/distribution/config/commands/list-agents.properties b/distribution/config/commands/list-agents.properties
aa165c
--- a/distribution/config/commands/list-agents.properties
aa165c
+++ b/distribution/config/commands/list-agents.properties
7d62d8
@@ -4,7 +4,7 @@
aa165c
           com.redhat.thermostat.web.client=${project.version}, \
aa165c
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
aa165c
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
7d62d8
-          ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
aa165c
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
aa165c
           com.google.gson=${gson.version}, \
aa165c
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
7d62d8
           org.apache.commons.beanutils=${commons-beanutils.version}, \
3aaed5
diff --git a/distribution/config/commands/list-vms.properties b/distribution/config/commands/list-vms.properties
3aaed5
--- a/distribution/config/commands/list-vms.properties
3aaed5
+++ b/distribution/config/commands/list-vms.properties
7d62d8
@@ -4,7 +4,7 @@
3aaed5
           com.redhat.thermostat.web.client=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
7d62d8
-          ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
7d62d8
           org.apache.commons.beanutils=${commons-beanutils.version}, \
3aaed5
diff --git a/distribution/config/commands/ping.properties b/distribution/config/commands/ping.properties
3aaed5
--- a/distribution/config/commands/ping.properties
3aaed5
+++ b/distribution/config/commands/ping.properties
7d62d8
@@ -5,7 +5,7 @@
3aaed5
           com.redhat.thermostat.web.client=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
7d62d8
-          ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
7d62d8
           org.apache.commons.beanutils=${commons-beanutils.version}, \
3aaed5
diff --git a/distribution/config/commands/vm-info.properties b/distribution/config/commands/vm-info.properties
3aaed5
--- a/distribution/config/commands/vm-info.properties
3aaed5
+++ b/distribution/config/commands/vm-info.properties
7d62d8
@@ -4,7 +4,7 @@
3aaed5
           com.redhat.thermostat.web.client=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
7d62d8
-          ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
7d62d8
           org.apache.commons.beanutils=${commons-beanutils.version}, \
3aaed5
diff --git a/distribution/config/commands/vm-stat.properties b/distribution/config/commands/vm-stat.properties
3aaed5
--- a/distribution/config/commands/vm-stat.properties
3aaed5
+++ b/distribution/config/commands/vm-stat.properties
7d62d8
@@ -5,13 +5,15 @@
aa165c
           com.redhat.thermostat.client.core=${project.version}, \
3aaed5
           org.apache.httpcomponents.httpcore=${httpcomponents.core.version}, \
3aaed5
           org.apache.httpcomponents.httpclient=${httpcomponents.client.version}, \
7d62d8
-          ${osgi.compendium.bundle.symbolic-name}=${osgi.compendium.osgi-version}, \
3aaed5
+          org.apache.httpcomponents.httpmime=${httpcomponents.mime.version}, \
3aaed5
           com.google.gson=${gson.version}, \
3aaed5
           org.mongodb.mongo-java-driver=${mongo-driver.osgi-version}, \
7d62d8
           org.apache.commons.beanutils=${commons-beanutils.version}, \
7d62d8
           org.apache.commons.codec=${commons-codec.osgi-version}, \
7d62d8
           org.apache.commons.collections=${commons-collections.version}, \
7d62d8
-          org.apache.commons.logging=${commons-logging.version}
7d62d8
+          org.apache.commons.logging=${commons-logging.version}, \
7d62d8
+          org.jfree.jcommon=${jcommon.osgi.version}, \
7d62d8
+          org.jfree.jfreechart=${jfreechart.osgi.version}
7d62d8
 
7d62d8
 summary = show various statistics about a VM
7d62d8
 
3aaed5
diff --git a/distribution/config/osgi-export.properties b/distribution/config/osgi-export.properties
3aaed5
--- a/distribution/config/osgi-export.properties
3aaed5
+++ b/distribution/config/osgi-export.properties
3aaed5
@@ -32,20 +32,6 @@
3aaed5
 # library, but you are not obligated to do so.  If you do not wish
3aaed5
 # to do so, delete this exception statement from your version.
3aaed5
 
3aaed5
-# OSGi public API
3aaed5
-org.jfree.chart
3aaed5
-org.jfree.chart.axis
3aaed5
-org.jfree.chart.event
3aaed5
-org.jfree.chart.labels
3aaed5
-org.jfree.chart.plot
3aaed5
-org.jfree.chart.panel
3aaed5
-org.jfree.chart.renderer.xy
3aaed5
-org.jfree.data
3aaed5
-org.jfree.data.general
3aaed5
-org.jfree.data.time
3aaed5
-org.jfree.data.xy
3aaed5
-org.jfree.ui
3aaed5
-org.jfree.data.gantt
3aaed5
 sun.swing
3aaed5
 sun.swing.table
3aaed5
 
aa165c
@@ -61,11 +47,4 @@
3aaed5
 sun.jvmstat.monitor
3aaed5
 sun.jvmstat.monitor.event
aa165c
 
3aaed5
-# webservice command depends on jetty-jndi, which requires
3aaed5
-# javax.transaction and javax.mail. We don't use jndi stuff,
3aaed5
-# so we add those "fake" exports here.
3aaed5
-# javax.transaction is provided by the JVM, javax.mail is not
3aaed5
-# available.
3aaed5
-javax.transaction="1.1"
3aaed5
-javax.mail="1.4"
aa165c
 
3aaed5
diff --git a/distribution/scripts/thermostat b/distribution/scripts/thermostat
3aaed5
--- a/distribution/scripts/thermostat
3aaed5
+++ b/distribution/scripts/thermostat
aa165c
@@ -56,13 +56,10 @@
3aaed5
 
3aaed5
 # This is the minimal boot classpath thermostat needs. Other dependencies
3aaed5
 # will get started by the OSGi framework once that's up.
3aaed5
-SERVICE_CLASSPATH="${THERMOSTAT_LIBS}/org.apache.felix.framework-@felix.framework.version@.jar"
3aaed5
+SERVICE_CLASSPATH="${THERMOSTAT_LIBS}/org.apache.felix.framework.jar"
3aaed5
 SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_LIBS}/thermostat-launcher-@project.version@.jar"
3aaed5
 SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_LIBS}/thermostat-main-@project.version@.jar"
3aaed5
 SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_LIBS}/thermostat-shared-config-@project.version@.jar"
3aaed5
-# FIXME: Remove once jfreechart is a real OSGi bundle upstream
3aaed5
-SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_LIBS}/jfreechart-@jfreechart.version@.jar"
3aaed5
-SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_LIBS}/jcommon-@jcommon.version@.jar"
aa165c
 # Needed to parse web.xml files without network connection See PR 2029.
aa165c
 SERVICE_CLASSPATH="${SERVICE_CLASSPATH}:${THERMOSTAT_HOME}/plugins/embedded-web-endpoint/jetty-schemas-@jetty-schemas.version@.jar"
3aaed5
 SERVICE_CLASSPATH="${TOOLS_JAR}:${SERVICE_CLASSPATH}"
7d62d8
diff --git a/distribution/scripts/thermostat-command-channel b/distribution/scripts/thermostat-command-channel
7d62d8
--- a/distribution/scripts/thermostat-command-channel
7d62d8
+++ b/distribution/scripts/thermostat-command-channel
7d62d8
@@ -60,7 +60,7 @@
7d62d8
 BOOT_CLASSPATH="${BOOT_CLASSPATH}:${THERMOSTAT_LIBS}/thermostat-agent-command-@project.version@.jar"
7d62d8
 BOOT_CLASSPATH="${BOOT_CLASSPATH}:${THERMOSTAT_LIBS}/thermostat-common-command-@project.version@.jar"
7d62d8
 BOOT_CLASSPATH="${BOOT_CLASSPATH}:${THERMOSTAT_LIBS}/thermostat-agent-command-server-@project.version@.jar"
7d62d8
-BOOT_CLASSPATH="${BOOT_CLASSPATH}:${THERMOSTAT_LIBS}/netty-@netty.version@.jar"
7d62d8
+BOOT_CLASSPATH="${BOOT_CLASSPATH}:${THERMOSTAT_LIBS}/netty.jar"
7d62d8
 BOOT_CLASSPATH="${TOOLS_JAR}:${BOOT_CLASSPATH}"
7d62d8
 
7d62d8
 # Duplicated in ThermostatVmMainLabelDecorator
aa165c
diff --git a/killvm/distribution/thermostat-plugin.xml b/killvm/distribution/thermostat-plugin.xml
aa165c
--- a/killvm/distribution/thermostat-plugin.xml
aa165c
+++ b/killvm/distribution/thermostat-plugin.xml
7d62d8
@@ -81,9 +81,11 @@
aa165c
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
7d62d8
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
7d62d8
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
       </bundles>
7d62d8
     </command>
7d62d8
   </commands>
3aaed5
diff --git a/main/src/main/resources/com/redhat/thermostat/main/impl/bootstrapbundles.properties b/main/src/main/resources/com/redhat/thermostat/main/impl/bootstrapbundles.properties
3aaed5
--- a/main/src/main/resources/com/redhat/thermostat/main/impl/bootstrapbundles.properties
3aaed5
+++ b/main/src/main/resources/com/redhat/thermostat/main/impl/bootstrapbundles.properties
aa165c
@@ -4,5 +4,6 @@
3aaed5
         thermostat-common-core-${project.version}.jar, \
3aaed5
         thermostat-plugin-validator-${project.version}.jar, \
3aaed5
         thermostat-launcher-${project.version}.jar, \
3aaed5
-        jline-${jline.version}.jar, \
aa165c
-        commons-cli-${commons-cli.version}.jar
3aaed5
+        jline2.jar, \
3aaed5
+        jansi.jar, \
aa165c
+        commons-cli.jar
7d62d8
diff --git a/setup/distribution/thermostat-plugin.xml b/setup/distribution/thermostat-plugin.xml
7d62d8
--- a/setup/distribution/thermostat-plugin.xml
7d62d8
+++ b/setup/distribution/thermostat-plugin.xml
7d62d8
@@ -71,6 +71,8 @@
7d62d8
         <bundle><symbolic-name>com.redhat.thermostat.internal.utils.laf</symbolic-name><version>${project.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>com.redhat.thermostat.plugin.validator</symbolic-name><version>${project.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>com.redhat.thermostat.process</symbolic-name><version>${project.version}</version></bundle>
7d62d8
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
7d62d8
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
       </bundles>
7d62d8
     </command>
7d62d8
   </commands>
aa165c
diff --git a/storage-profile/distribution/thermostat-plugin.xml b/storage-profile/distribution/thermostat-plugin.xml
aa165c
--- a/storage-profile/distribution/thermostat-plugin.xml
aa165c
+++ b/storage-profile/distribution/thermostat-plugin.xml
7d62d8
@@ -70,9 +70,9 @@
7d62d8
         <bundle><symbolic-name>com.redhat.thermostat.storage.mongodb</symbolic-name><version>${project.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>com.redhat.thermostat.web.common</symbolic-name><version>${project.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>com.redhat.thermostat.web.client</symbolic-name><version>${project.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.mongodb.mongo-java-driver</symbolic-name><version>${mongo-driver.osgi-version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.commons.beanutils</symbolic-name><version>${commons-beanutils.version}</version></bundle>
aa165c
diff --git a/vm-gc/distribution/thermostat-plugin.xml b/vm-gc/distribution/thermostat-plugin.xml
aa165c
--- a/vm-gc/distribution/thermostat-plugin.xml
aa165c
+++ b/vm-gc/distribution/thermostat-plugin.xml
7d62d8
@@ -76,9 +76,12 @@
aa165c
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
7d62d8
+        
7d62d8
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
7d62d8
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
       </bundles>
7d62d8
     </command>
7d62d8
     <command>
7d62d8
@@ -122,9 +125,12 @@
7d62d8
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
7d62d8
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
7d62d8
+        
7d62d8
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
7d62d8
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
       </bundles>
7d62d8
     </command>
7d62d8
   </commands>
3aaed5
diff --git a/vm-heap-analysis/distribution/thermostat-plugin.xml b/vm-heap-analysis/distribution/thermostat-plugin.xml
3aaed5
--- a/vm-heap-analysis/distribution/thermostat-plugin.xml
3aaed5
+++ b/vm-heap-analysis/distribution/thermostat-plugin.xml
7d62d8
@@ -87,9 +87,11 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-core.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-analysis.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
7d62d8
@@ -144,9 +146,11 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-core.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-analysis.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
7d62d8
@@ -204,9 +208,11 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-core.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-analysis.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
7d62d8
@@ -258,9 +264,11 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-core.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-analysis.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
7d62d8
@@ -312,9 +320,11 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-core.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-analysis.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
7d62d8
@@ -366,9 +376,11 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-core.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-analysis.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
7d62d8
@@ -414,9 +426,11 @@
3aaed5
         <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
3aaed5
         <bundle><symbolic-name>org.jboss.netty</symbolic-name><version>${netty.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jcommon</symbolic-name><version>${jcommon.osgi.version}</version></bundle>
3aaed5
+        <bundle><symbolic-name>org.jfree.jfreechart</symbolic-name><version>${jfreechart.osgi.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-core.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
7d62d8
         <bundle><symbolic-name>${lucene-analysis.bundle.symbolic-name}</symbolic-name><version>${lucene.osgi-version}</version></bundle>
3aaed5
       </bundles>
aa165c
diff --git a/vm-profiler/distribution/thermostat-plugin.xml b/vm-profiler/distribution/thermostat-plugin.xml
aa165c
--- a/vm-profiler/distribution/thermostat-plugin.xml
aa165c
+++ b/vm-profiler/distribution/thermostat-plugin.xml
7d62d8
@@ -95,7 +95,7 @@
aa165c
                 <bundle><symbolic-name>org.apache.commons.logging</symbolic-name><version>${commons-logging.version}</version></bundle>
aa165c
                 <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
                 <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-                <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
+                <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
             </bundles>
aa165c
         </command>
7d62d8
     </commands>
aa165c
diff --git a/web/endpoint-plugin/distribution/thermostat-plugin.xml b/web/endpoint-plugin/distribution/thermostat-plugin.xml
aa165c
--- a/web/endpoint-plugin/distribution/thermostat-plugin.xml
aa165c
+++ b/web/endpoint-plugin/distribution/thermostat-plugin.xml
7d62d8
@@ -73,7 +73,7 @@
aa165c
         <bundle><symbolic-name>com.redhat.thermostat.web.client</symbolic-name><version>${project.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpcore</symbolic-name><version>${httpcomponents.core.version}</version></bundle>
aa165c
         <bundle><symbolic-name>org.apache.httpcomponents.httpclient</symbolic-name><version>${httpcomponents.client.version}</version></bundle>
7d62d8
-        <bundle><symbolic-name>${osgi.compendium.bundle.symbolic-name}</symbolic-name><version>${osgi.compendium.osgi-version}</version></bundle>
aa165c
+        <bundle><symbolic-name>org.apache.httpcomponents.httpmime</symbolic-name><version>${httpcomponents.mime.version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.google.gson</symbolic-name><version>${gson.version}</version></bundle>
aa165c
         <bundle><symbolic-name>com.redhat.thermostat.process</symbolic-name><version>${project.version}</version></bundle>
7d62d8
         <bundle><symbolic-name>com.redhat.thermostat.agent.cli</symbolic-name><version>${project.version}</version></bundle>