# HG changeset patch # User Elliott Baron # Date 1361910692 18000 # Node ID 53ce942c35c1c58bc1c865063f7512d668413c62 # Parent eec62a0c5457bd83733a9ad88a387217f6596a19 Convert plugins to use plugin installation mechanism This commit converts the existing Thermostat plugins (Host CPU, Thread, NUMA, etc.) to be installed using the plugin installation mechanism. Each plugin now has a distribution module that creates a zip artifact with the necessary jars and plugin.xml using maven-assembly-plugin. The assembly descriptor is put in a shared place for all plugins under a new top-level assembly module. The main distribution module now has a dependency on each plugin's zip artifact. At build time, the distribution module invokes maven-assembly-plugin again to unpack all plugins' distribution zips under target/plugins. The reason for using zips is that it seemed to be the only way for maven-assembly-plugin to create the desired layout under target/plugins, although other archive formats should work just as well. I have similarly changed distribution to use maven-assembly-plugin to place core jars under target/libs. The one difference here is that expectj.jar and tools.jar are no longer included. This seems to be since expectj is only used for testing and tools.jar is always provided by the system. So this change should be beneficial in that regard, along with reducing the amount of plugins we use and thus simplifying our build. I have also modified the plugin.xml parser to ignore comments, as the copyright headers were breaking it. As far as building goes, mvn clean package still builds the core and all plugins. Reviewed-by: jerboaa, omajid, vanaltj Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-February/005580.html diff -r eec62a0c5457 -r 53ce942c35c1 assembly/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/assembly/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,64 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat + 0.6.0-SNAPSHOT + + + thermostat-assembly + + Thermostat Assemblies + + + + + maven-surefire-plugin + + true + + + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 assembly/src/main/resources/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/assembly/src/main/resources/assemblies/plugin-assembly.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,64 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + false + false + + + + + + + plugin.xml + + true + + + diff -r eec62a0c5457 -r 53ce942c35c1 distribution/assembly/all-plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/assembly/all-plugin-assembly.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,67 @@ + + + + plugin-assembly + + dir + + false + + + + false + true + + com.redhat.thermostat:thermostat-host-cpu-distribution + com.redhat.thermostat:thermostat-host-memory-distribution + com.redhat.thermostat:thermostat-host-overview-distribution + com.redhat.thermostat:thermostat-numa-distribution + com.redhat.thermostat:thermostat-thread-distribution + com.redhat.thermostat:thermostat-vm-classstat-distribution + com.redhat.thermostat:thermostat-vm-cpu-distribution + com.redhat.thermostat:thermostat-vm-gc-distribution + com.redhat.thermostat:thermostat-vm-heap-analysis-distribution + com.redhat.thermostat:thermostat-vm-memory-distribution + com.redhat.thermostat:thermostat-vm-overview-distribution + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 distribution/assembly/core-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/assembly/core-assembly.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,81 @@ + + + + core-assembly + + dir + + false + + + + true + false + + com.redhat.thermostat:thermostat-main + com.redhat.thermostat:thermostat-launcher + com.redhat.thermostat:thermostat-client-swing + com.redhat.thermostat:thermostat-swing-components + com.redhat.thermostat:thermostat-client-command + com.redhat.thermostat:thermostat-client-cli + com.redhat.thermostat:thermostat-osgi-living-vm-filter-swing + com.redhat.thermostat:thermostat-agent-core + com.redhat.thermostat:thermostat-agent-cli + com.redhat.thermostat:thermostat-agent-command + com.redhat.thermostat:thermostat-killvm-agent + com.redhat.thermostat:thermostat-killvm-client-swing + com.redhat.thermostat:thermostat-common-core + com.redhat.thermostat:thermostat-common-command + com.redhat.thermostat:thermostat-osgi-process-handler + com.redhat.thermostat:thermostat-keyring + com.redhat.thermostat:thermostat-web-client + com.redhat.thermostat:thermostat-web-cmd + com.redhat.thermostat:thermostat-system-backend + org.eclipse.jetty:jetty-server + org.eclipse.jetty:jetty-webapp + + + org.osgi:* + + true + true + + + diff -r eec62a0c5457 -r 53ce942c35c1 distribution/config/commands/agent.properties --- a/distribution/config/commands/agent.properties Tue Feb 26 13:33:52 2013 -0500 +++ b/distribution/config/commands/agent.properties Tue Feb 26 15:31:32 2013 -0500 @@ -9,29 +9,9 @@ thermostat-agent-cli-@project.version@.jar, \ thermostat-common-command-@project.version@.jar, \ thermostat-agent-command-@project.version@.jar, \ - thermostat-host-cpu-common-@project.version@.jar, \ - thermostat-host-cpu-agent-@project.version@.jar, \ - thermostat-host-memory-common-@project.version@.jar, \ - thermostat-host-memory-agent-@project.version@.jar, \ - thermostat-vm-cpu-common-@project.version@.jar, \ - thermostat-vm-cpu-agent-@project.version@.jar, \ - thermostat-vm-memory-common-@project.version@.jar, \ - thermostat-vm-memory-agent-@project.version@.jar, \ - thermostat-vm-gc-common-@project.version@.jar, \ - thermostat-vm-gc-agent-@project.version@.jar, \ - thermostat-vm-classstat-common-@project.version@.jar, \ - thermostat-vm-classstat-agent-@project.version@.jar, \ - thermostat-vm-heap-analysis-common-@project.version@.jar, \ - thermostat-vm-heap-analysis-agent-@project.version@.jar, \ thermostat-killvm-agent-@project.version@.jar, \ - thermostat-thread-collector-@project.version@.jar, \ - thermostat-thread-harvester-@project.version@.jar, \ thermostat-system-backend-@project.version@.jar, \ - thermostat-gc-remote-collector-common-@project.version@.jar, \ - thermostat-gc-remote-collector-command-@project.version@.jar, \ thermostat-storage-mongodb-${project.version}.jar, \ - thermostat-numa-common-${project.version}.jar, \ - thermostat-numa-agent-${project.version}.jar, \ mongo.jar, \ commons-beanutils.jar, \ commons-codec.jar, \ diff -r eec62a0c5457 -r 53ce942c35c1 distribution/config/commands/gui.properties --- a/distribution/config/commands/gui.properties Tue Feb 26 13:33:52 2013 -0500 +++ b/distribution/config/commands/gui.properties Tue Feb 26 15:31:32 2013 -0500 @@ -13,46 +13,10 @@ thermostat-client-swing-@project.version@.jar, \ thermostat-swing-components-@project.version@.jar, \ thermostat-client-command-@project.version@.jar, \ - thermostat-host-overview-client-core-@project.version@.jar, \ - thermostat-host-overview-client-swing-@project.version@.jar, \ - thermostat-host-cpu-common-@project.version@.jar, \ - thermostat-host-cpu-client-core-@project.version@.jar, \ - thermostat-host-cpu-client-swing-@project.version@.jar, \ - thermostat-host-memory-common-@project.version@.jar, \ - thermostat-host-memory-client-core-@project.version@.jar, \ - thermostat-host-memory-client-swing-@project.version@.jar, \ - thermostat-vm-overview-client-core-@project.version@.jar, \ - thermostat-vm-overview-client-swing-@project.version@.jar, \ - thermostat-vm-cpu-common-@project.version@.jar, \ - thermostat-vm-cpu-client-core-@project.version@.jar, \ - thermostat-vm-cpu-client-swing-@project.version@.jar, \ - thermostat-vm-gc-common-@project.version@.jar, \ - thermostat-vm-gc-client-core-@project.version@.jar, \ - thermostat-vm-gc-client-swing-@project.version@.jar, \ - thermostat-vm-memory-common-@project.version@.jar, \ - thermostat-vm-memory-client-core-@project.version@.jar, \ - thermostat-vm-memory-client-swing-@project.version@.jar, \ - thermostat-vm-heap-analysis-client-core-@project.version@.jar, \ - thermostat-vm-heap-analysis-client-swing-@project.version@.jar, \ - thermostat-vm-heap-analysis-common-@project.version@.jar, \ - thermostat-vm-heap-analysis-command-@project.version@.jar, \ thermostat-killvm-client-swing-@project.version@.jar, \ - thermostat-vm-classstat-common-@project.version@.jar, \ - thermostat-vm-classstat-client-core-@project.version@.jar, \ - thermostat-vm-classstat-client-swing-@project.version@.jar, \ thermostat-osgi-living-vm-filter-core-@project.version@.jar, \ thermostat-osgi-living-vm-filter-swing-@project.version@.jar, \ - thermostat-thread-collector-@project.version@.jar, \ - thermostat-thread-client-swing-@project.version@.jar, \ - thermostat-thread-client-controllers-@project.version@.jar, \ - thermostat-thread-client-common-@project.version@.jar, \ - thermostat-gc-remote-collector-common-@project.version@.jar, \ - thermostat-gc-remote-collector-client-common-@project.version@.jar, \ - thermostat-gc-remote-collector-client-swing-@project.version@.jar, \ thermostat-osgi-process-handler-@project.version@.jar, \ - thermostat-numa-common-@project.version@.jar, \ - thermostat-numa-client-core-@project.version@.jar, \ - thermostat-numa-client-swing-@project.version@.jar, \ httpcomponents-core.jar, \ httpcomponents-client.jar, \ netty.jar diff -r eec62a0c5457 -r 53ce942c35c1 distribution/config/commands/vm-stat.properties --- a/distribution/config/commands/vm-stat.properties Tue Feb 26 13:33:52 2013 -0500 +++ b/distribution/config/commands/vm-stat.properties Tue Feb 26 15:31:32 2013 -0500 @@ -1,8 +1,4 @@ bundles = thermostat-client-cli-${project.version}.jar, \ - thermostat-vm-cpu-common-${project.version}.jar, \ - thermostat-vm-cpu-client-cli-${project.version}.jar, \ - thermostat-vm-memory-common-${project.version}.jar, \ - thermostat-vm-memory-client-cli-${project.version}.jar, \ thermostat-storage-mongodb-${project.version}.jar, \ thermostat-web-common-${project.version}.jar, \ thermostat-web-client-${project.version}.jar, \ diff -r eec62a0c5457 -r 53ce942c35c1 distribution/config/commands/webservice.properties --- a/distribution/config/commands/webservice.properties Tue Feb 26 13:33:52 2013 -0500 +++ b/distribution/config/commands/webservice.properties Tue Feb 26 15:31:32 2013 -0500 @@ -4,15 +4,6 @@ thermostat-web-server-@project.version@.jar, \ thermostat-web-common-@project.version@.jar, \ thermostat-storage-mongodb-${project.version}.jar, \ - thermostat-host-cpu-common-${project.version}.jar, \ - thermostat-host-memory-common-${project.version}.jar, \ - thermostat-vm-cpu-common-${project.version}.jar, \ - thermostat-vm-memory-common-${project.version}.jar, \ - thermostat-vm-gc-common-${project.version}.jar, \ - thermostat-vm-classstat-common-${project.version}.jar, \ - thermostat-vm-heap-analysis-common-${project.version}.jar, \ - thermostat-thread-collector-@project.version@.jar, \ - thermostat-numa-common-@project.version@.jar, \ mongo.jar, \ commons-beanutils.jar, \ commons-codec.jar, \ diff -r eec62a0c5457 -r 53ce942c35c1 distribution/pom.xml --- a/distribution/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -54,7 +54,7 @@ UTF-8 ${project.basedir}/.. - + @@ -78,20 +78,38 @@ - maven-dependency-plugin - 2.4 + maven-assembly-plugin + + false + - copy-deps + assemble-core + + + assembly/core-assembly.xml + + libs + false + package - copy-dependencies + single + + + assemble-all-plugins - false - org.osgi,junit,org.hamcrest - ${project.build.directory}/libs + + assembly/all-plugin-assembly.xml + + plugins + false + package + + single + @@ -342,121 +360,6 @@ ${project.version} - com.redhat.thermostat - thermostat-host-overview-client-core - ${project.version} - - - com.redhat.thermostat - thermostat-host-overview-client-swing - ${project.version} - - - com.redhat.thermostat - thermostat-host-cpu-client-core - ${project.version} - - - com.redhat.thermostat - thermostat-host-cpu-client-swing - ${project.version} - - - com.redhat.thermostat - thermostat-host-cpu-agent - ${project.version} - - - com.redhat.thermostat - thermostat-host-memory-client-core - ${project.version} - - - com.redhat.thermostat - thermostat-host-memory-client-swing - ${project.version} - - - com.redhat.thermostat - thermostat-host-memory-agent - ${project.version} - - - com.redhat.thermostat - thermostat-vm-overview-client-core - ${project.version} - - - com.redhat.thermostat - thermostat-vm-overview-client-swing - ${project.version} - - - com.redhat.thermostat - thermostat-vm-cpu-client-core - ${project.version} - - - com.redhat.thermostat - thermostat-vm-cpu-client-swing - ${project.version} - - - com.redhat.thermostat - thermostat-vm-cpu-client-cli - ${project.version} - - - com.redhat.thermostat - thermostat-vm-cpu-agent - ${project.version} - - - com.redhat.thermostat - thermostat-vm-gc-client-core - ${project.version} - - - com.redhat.thermostat - thermostat-vm-gc-client-swing - ${project.version} - - - com.redhat.thermostat - thermostat-vm-gc-agent - ${project.version} - - - com.redhat.thermostat - thermostat-vm-classstat-client-swing - ${project.version} - - - com.redhat.thermostat - thermostat-vm-classstat-agent - ${project.version} - - - com.redhat.thermostat - thermostat-vm-memory-client-swing - ${project.version} - - - com.redhat.thermostat - thermostat-vm-memory-client-cli - ${project.version} - - - com.redhat.thermostat - thermostat-vm-memory-agent - ${project.version} - - - com.redhat.thermostat - thermostat-vm-heap-analysis-client-swing - ${project.version} - - com.redhat.thermostat thermostat-osgi-living-vm-filter-swing ${project.version} @@ -478,11 +381,6 @@ com.redhat.thermostat - thermostat-vm-heap-analysis-agent - ${project.version} - - - com.redhat.thermostat thermostat-killvm-agent ${project.version} @@ -531,72 +429,82 @@ jetty-webapp 8.1.5.v20120716 - - - - com.redhat.thermostat - thermostat-thread-client-common - ${project.version} - - - com.redhat.thermostat - thermostat-thread-client-controllers - ${project.version} - - - com.redhat.thermostat - thermostat-thread-client-swing - ${project.version} - - - com.redhat.thermostat - thermostat-thread-collector - ${project.version} - - - com.redhat.thermostat - thermostat-thread-harvester - ${project.version} - - com.redhat.thermostat thermostat-system-backend ${project.version} - + + - com.redhat.thermostat - thermostat-gc-remote-collector-common - ${project.version} + com.redhat.thermostat + thermostat-host-cpu-distribution + ${project.version} + zip + + + com.redhat.thermostat + thermostat-host-memory-distribution + ${project.version} + zip - com.redhat.thermostat - thermostat-gc-remote-collector-client-common - ${project.version} - - - com.redhat.thermostat - thermostat-gc-remote-collector-client-swing - ${project.version} + com.redhat.thermostat + thermostat-host-overview-distribution + ${project.version} + zip - com.redhat.thermostat - thermostat-gc-remote-collector-command - ${project.version} + com.redhat.thermostat + thermostat-numa-distribution + ${project.version} + zip - com.redhat.thermostat - thermostat-numa-agent + thermostat-thread-distribution ${project.version} + zip com.redhat.thermostat - thermostat-numa-client-swing + thermostat-vm-classstat-distribution + ${project.version} + zip + + + com.redhat.thermostat + thermostat-vm-cpu-distribution + ${project.version} + zip + + + com.redhat.thermostat + thermostat-vm-gc-distribution ${project.version} + zip + + com.redhat.thermostat + thermostat-vm-heap-analysis-distribution + ${project.version} + zip + + + com.redhat.thermostat + thermostat-vm-memory-distribution + ${project.version} + zip + + + com.redhat.thermostat + thermostat-vm-overview-distribution + ${project.version} + zip + + diff -r eec62a0c5457 -r 53ce942c35c1 host-cpu/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-cpu/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,64 @@ + + + + + + gui + + thermostat-host-cpu-common-${project.version}.jar + thermostat-host-cpu-client-core-${project.version}.jar + thermostat-host-cpu-client-swing-${project.version}.jar + + + + agent + + thermostat-host-cpu-common-${project.version}.jar + thermostat-host-cpu-agent-${project.version}.jar + + + + + webservice + + thermostat-host-cpu-common-${project.version}.jar + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 host-cpu/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-cpu/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,113 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-host-cpu + 0.6.0-SNAPSHOT + + + thermostat-host-cpu-distribution + pom + + Thermostat Host CPU plugin distribution + + + host-cpu + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-host-cpu-common + ${project.version} + + + com.redhat.thermostat + thermostat-host-cpu-client-core + ${project.version} + + + com.redhat.thermostat + thermostat-host-cpu-client-swing + ${project.version} + + + com.redhat.thermostat + thermostat-host-cpu-agent + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 host-cpu/pom.xml --- a/host-cpu/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/host-cpu/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -55,6 +55,7 @@ common client-core client-swing + distribution diff -r eec62a0c5457 -r 53ce942c35c1 host-memory/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-memory/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,64 @@ + + + + + + gui + + thermostat-host-memory-common-${project.version}.jar + thermostat-host-memory-client-core-${project.version}.jar + thermostat-host-memory-client-swing-${project.version}.jar + + + + agent + + thermostat-host-memory-common-${project.version}.jar + thermostat-host-memory-agent-${project.version}.jar + + + + + webservice + + thermostat-host-memory-common-${project.version}.jar + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 host-memory/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-memory/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,113 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-host-memory + 0.6.0-SNAPSHOT + + + thermostat-host-memory-distribution + pom + + Thermostat Host Memory plugin distribution + + + host-memory + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-host-memory-common + ${project.version} + + + com.redhat.thermostat + thermostat-host-memory-client-core + ${project.version} + + + com.redhat.thermostat + thermostat-host-memory-client-swing + ${project.version} + + + com.redhat.thermostat + thermostat-host-memory-agent + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 host-memory/pom.xml --- a/host-memory/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/host-memory/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -55,6 +55,7 @@ client-core client-swing common + distribution diff -r eec62a0c5457 -r 53ce942c35c1 host-overview/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-overview/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,49 @@ + + + + + + gui + + thermostat-host-overview-client-core-${project.version}.jar + thermostat-host-overview-client-swing-${project.version}.jar + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 host-overview/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-overview/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,103 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-host-overview + 0.6.0-SNAPSHOT + + + thermostat-host-overview-distribution + pom + + Thermostat Host Overview plugin distribution + + + host-overview + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-host-overview-client-core + ${project.version} + + + com.redhat.thermostat + thermostat-host-overview-client-swing + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 host-overview/pom.xml --- a/host-overview/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/host-overview/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -53,6 +53,7 @@ client-core client-swing + distribution diff -r eec62a0c5457 -r 53ce942c35c1 launcher/src/main/java/com/redhat/thermostat/launcher/internal/PluginConfigurationParser.java --- a/launcher/src/main/java/com/redhat/thermostat/launcher/internal/PluginConfigurationParser.java Tue Feb 26 13:33:52 2013 -0500 +++ b/launcher/src/main/java/com/redhat/thermostat/launcher/internal/PluginConfigurationParser.java Tue Feb 26 15:31:32 2013 -0500 @@ -114,6 +114,7 @@ public PluginConfiguration parse(String pluginName, InputStream configurationStream) { try { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); + factory.setIgnoringComments(true); DocumentBuilder builder = factory.newDocumentBuilder(); builder.setErrorHandler(new ConfigurationParserErrorHandler()); Document xmlDoc = builder.parse(configurationStream); diff -r eec62a0c5457 -r 53ce942c35c1 numa/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/numa/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,64 @@ + + + + + + gui + + thermostat-numa-common-${project.version}.jar + thermostat-numa-client-core-${project.version}.jar + thermostat-numa-client-swing-${project.version}.jar + + + + agent + + thermostat-numa-common-${project.version}.jar + thermostat-numa-agent-${project.version}.jar + + + + + webservice + + thermostat-numa-common-${project.version}.jar + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 numa/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/numa/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,113 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-numa + 0.6.0-SNAPSHOT + + + thermostat-numa-distribution + pom + + Thermostat NUMA plugin distribution + + + numa + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-numa-common + ${project.version} + + + com.redhat.thermostat + thermostat-numa-client-core + ${project.version} + + + com.redhat.thermostat + thermostat-numa-client-swing + ${project.version} + + + com.redhat.thermostat + thermostat-numa-agent + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 numa/pom.xml --- a/numa/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/numa/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -55,6 +55,7 @@ common client-core client-swing + distribution diff -r eec62a0c5457 -r 53ce942c35c1 pom.xml --- a/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -119,6 +119,7 @@ annotations + assembly distribution main launcher @@ -199,6 +200,11 @@ maven-bundle-plugin 1.4.0 + + org.apache.maven.plugins + maven-assembly-plugin + 2.3 + org.eclipse.m2e @@ -248,7 +254,7 @@ org.apache.maven.plugins maven-assembly-plugin - 2.3 + false src/main/assembly/src-tarball.xml diff -r eec62a0c5457 -r 53ce942c35c1 thread/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thread/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,65 @@ + + + + + + gui + + thermostat-thread-collector-${project.version}.jar + thermostat-thread-client-swing-${project.version}.jar + thermostat-thread-client-controllers-${project.version}.jar + thermostat-thread-client-common-${project.version}.jar + + + + agent + + thermostat-thread-collector-${project.version}.jar + thermostat-thread-harvester-${project.version}.jar + + + + + webservice + + thermostat-thread-collector-${project.version}.jar + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 thread/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thread/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,118 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-thread + 0.6.0-SNAPSHOT + + + thermostat-thread-distribution + pom + + Thermostat Thread plugin distribution + + + thread + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-thread-collector + ${project.version} + + + com.redhat.thermostat + thermostat-thread-client-common + ${project.version} + + + com.redhat.thermostat + thermostat-thread-client-controllers + ${project.version} + + + com.redhat.thermostat + thermostat-thread-client-swing + ${project.version} + + + com.redhat.thermostat + thermostat-thread-harvester + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 thread/pom.xml --- a/thread/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/thread/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -64,6 +64,7 @@ client-common client-swing client-controllers + distribution diff -r eec62a0c5457 -r 53ce942c35c1 vm-classstat/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-classstat/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,65 @@ + + + + + + gui + + thermostat-vm-classstat-common-${project.version}.jar + thermostat-vm-classstat-client-core-${project.version}.jar + thermostat-vm-classstat-client-swing-${project.version}.jar + + + + agent + + thermostat-vm-classstat-common-${project.version}.jar + thermostat-vm-classstat-agent-${project.version}.jar + + + + + webservice + + thermostat-vm-classstat-common-${project.version}.jar + + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 vm-classstat/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-classstat/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,113 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-vm-classstat + 0.6.0-SNAPSHOT + + + thermostat-vm-classstat-distribution + pom + + Thermostat VM ClassStat plugin distribution + + + vm-classstat + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-vm-classstat-common + ${project.version} + + + com.redhat.thermostat + thermostat-vm-classstat-client-core + ${project.version} + + + com.redhat.thermostat + thermostat-vm-classstat-client-swing + ${project.version} + + + com.redhat.thermostat + thermostat-vm-classstat-agent + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 vm-classstat/pom.xml --- a/vm-classstat/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/vm-classstat/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -55,6 +55,7 @@ client-core client-swing common + distribution diff -r eec62a0c5457 -r 53ce942c35c1 vm-cpu/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-cpu/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,71 @@ + + + + + + gui + + thermostat-vm-cpu-common-${project.version}.jar + thermostat-vm-cpu-client-core-${project.version}.jar + thermostat-vm-cpu-client-swing-${project.version}.jar + + + + agent + + thermostat-vm-cpu-common-${project.version}.jar + thermostat-vm-cpu-agent-${project.version}.jar + + + + + webservice + + thermostat-vm-cpu-common-${project.version}.jar + + + + vm-stat + + thermostat-vm-cpu-common-${project.version}.jar + thermostat-vm-cpu-client-cli-${project.version}.jar + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 vm-cpu/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-cpu/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,118 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-vm-cpu + 0.6.0-SNAPSHOT + + + thermostat-vm-cpu-distribution + pom + + Thermostat VM CPU plugin distribution + + + vm-cpu + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-vm-cpu-common + ${project.version} + + + com.redhat.thermostat + thermostat-vm-cpu-client-core + ${project.version} + + + com.redhat.thermostat + thermostat-vm-cpu-client-cli + ${project.version} + + + com.redhat.thermostat + thermostat-vm-cpu-client-swing + ${project.version} + + + com.redhat.thermostat + thermostat-vm-cpu-agent + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 vm-cpu/pom.xml --- a/vm-cpu/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/vm-cpu/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -56,6 +56,7 @@ client-core client-swing common + distribution diff -r eec62a0c5457 -r 53ce942c35c1 vm-gc/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-gc/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,70 @@ + + + + + + gui + + thermostat-vm-gc-common-${project.version}.jar + thermostat-vm-gc-client-core-${project.version}.jar + thermostat-vm-gc-client-swing-${project.version}.jar + thermostat-gc-remote-collector-common-${project.version}.jar + thermostat-gc-remote-collector-client-common-${project.version}.jar + thermostat-gc-remote-collector-client-swing-${project.version}.jar + + + + agent + + thermostat-vm-gc-common-${project.version}.jar + thermostat-vm-gc-agent-${project.version}.jar + thermostat-gc-remote-collector-common-${project.version}.jar + thermostat-gc-remote-collector-command-${project.version}.jar + + + + + webservice + + thermostat-vm-gc-common-${project.version}.jar + + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 vm-gc/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-gc/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,134 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-vm-gc + 0.6.0-SNAPSHOT + + + thermostat-vm-gc-distribution + pom + + Thermostat VM GC plugin distribution + + + vm-gc + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-vm-gc-common + ${project.version} + + + com.redhat.thermostat + thermostat-vm-gc-client-core + ${project.version} + + + com.redhat.thermostat + thermostat-vm-gc-client-swing + ${project.version} + + + com.redhat.thermostat + thermostat-vm-gc-agent + ${project.version} + + + + com.redhat.thermostat + thermostat-gc-remote-collector-common + ${project.version} + + + com.redhat.thermostat + thermostat-gc-remote-collector-command + ${project.version} + + + com.redhat.thermostat + thermostat-gc-remote-collector-client-common + ${project.version} + + + com.redhat.thermostat + thermostat-gc-remote-collector-client-swing + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 vm-gc/pom.xml --- a/vm-gc/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/vm-gc/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -55,6 +55,7 @@ client-core client-swing common + distribution remote-collector-command remote-collector-client-common remote-collector-client-swing diff -r eec62a0c5457 -r 53ce942c35c1 vm-heap-analysis/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-heap-analysis/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,66 @@ + + + + + + gui + + thermostat-vm-heap-analysis-common-${project.version}.jar + thermostat-vm-heap-analysis-command-${project.version}.jar + thermostat-vm-heap-analysis-client-core-${project.version}.jar + thermostat-vm-heap-analysis-client-swing-${project.version}.jar + + + + agent + + thermostat-vm-heap-analysis-common-${project.version}.jar + thermostat-vm-heap-analysis-agent-${project.version}.jar + + + + + webservice + + thermostat-vm-heap-analysis-common-${project.version}.jar + + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 vm-heap-analysis/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-heap-analysis/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,118 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-vm-heap-analysis + 0.6.0-SNAPSHOT + + + thermostat-vm-heap-analysis-distribution + pom + + Thermostat VM Heap Analysis plugin distribution + + + vm-heap-analysis + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-vm-heap-analysis-common + ${project.version} + + + com.redhat.thermostat + thermostat-vm-heap-analysis-command + ${project.version} + + + com.redhat.thermostat + thermostat-vm-heap-analysis-client-core + ${project.version} + + + com.redhat.thermostat + thermostat-vm-heap-analysis-client-swing + ${project.version} + + + com.redhat.thermostat + thermostat-vm-heap-analysis-agent + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 vm-heap-analysis/pom.xml --- a/vm-heap-analysis/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/vm-heap-analysis/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -56,6 +56,7 @@ client-swing command common + distribution diff -r eec62a0c5457 -r 53ce942c35c1 vm-memory/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-memory/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,72 @@ + + + + + + gui + + thermostat-vm-memory-common-${project.version}.jar + thermostat-vm-memory-client-core-${project.version}.jar + thermostat-vm-memory-client-swing-${project.version}.jar + + + + agent + + thermostat-vm-memory-common-${project.version}.jar + thermostat-vm-memory-agent-${project.version}.jar + + + + + webservice + + thermostat-vm-memory-common-${project.version}.jar + + + + vm-stat + + thermostat-vm-memory-common-${project.version}.jar + thermostat-vm-memory-client-cli-${project.version}.jar + + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 vm-memory/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-memory/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,118 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-vm-memory + 0.6.0-SNAPSHOT + + + thermostat-vm-memory-distribution + pom + + Thermostat VM Memory plugin distribution + + + vm-memory + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-vm-memory-common + ${project.version} + + + com.redhat.thermostat + thermostat-vm-memory-client-core + ${project.version} + + + com.redhat.thermostat + thermostat-vm-memory-client-cli + ${project.version} + + + com.redhat.thermostat + thermostat-vm-memory-client-swing + ${project.version} + + + com.redhat.thermostat + thermostat-vm-memory-agent + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 vm-memory/pom.xml --- a/vm-memory/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/vm-memory/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -56,6 +56,7 @@ client-core client-swing common + distribution diff -r eec62a0c5457 -r 53ce942c35c1 vm-overview/distribution/plugin.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-overview/distribution/plugin.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,49 @@ + + + + + + gui + + thermostat-vm-overview-client-core-${project.version}.jar + thermostat-vm-overview-client-swing-${project.version}.jar + + + + \ No newline at end of file diff -r eec62a0c5457 -r 53ce942c35c1 vm-overview/distribution/pom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-overview/distribution/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -0,0 +1,103 @@ + + + + 4.0.0 + + + com.redhat.thermostat + thermostat-vm-overview + 0.6.0-SNAPSHOT + + + thermostat-vm-overview-distribution + pom + + Thermostat VM Overview plugin distribution + + + vm-overview + + + + + + maven-assembly-plugin + + + com.redhat.thermostat + thermostat-assembly + ${project.version} + + + + + plugin-assembly + + false + + + + assemble-plugin + package + + single + + + + + + + + + + + com.redhat.thermostat + thermostat-vm-overview-client-core + ${project.version} + + + com.redhat.thermostat + thermostat-vm-overview-client-swing + ${project.version} + + + + + diff -r eec62a0c5457 -r 53ce942c35c1 vm-overview/pom.xml --- a/vm-overview/pom.xml Tue Feb 26 13:33:52 2013 -0500 +++ b/vm-overview/pom.xml Tue Feb 26 15:31:32 2013 -0500 @@ -53,6 +53,7 @@ client-core client-swing + distribution