# HG changeset patch # User Elliott Baron # Date 1488484842 18000 # Node ID b51cb6d9102349eb26e4c5ad2af2b78c9a50d14c # Parent 1fcf53b27d26917db176a1a623b16c3de53af436 Optionally build agent-only image Reviewed-by: jerboaa, neugens Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-February/022206.html PR3239 diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/all-plugin-assembly.xml --- a/distribution/assembly/all-plugin-assembly.xml Wed Mar 01 18:41:34 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ - - - - 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-notes-distribution - com.redhat.thermostat:thermostat-numa-distribution - com.redhat.thermostat:thermostat-storage-profile-distribution - com.redhat.thermostat:thermostat-storage-populator-distribution - com.redhat.thermostat:thermostat-thread-distribution - com.redhat.thermostat:thermostat-validate-distribution - com.redhat.thermostat:thermostat-setup-distribution - com.redhat.thermostat:thermostat-local-distribution - com.redhat.thermostat:thermostat-vm-byteman-distribution - com.redhat.thermostat:thermostat-vm-classstat-distribution - com.redhat.thermostat:thermostat-vm-compiler-distribution - com.redhat.thermostat:thermostat-vm-cpu-distribution - com.redhat.thermostat:thermostat-vm-find-distribution - com.redhat.thermostat:thermostat-vm-gc-distribution - com.redhat.thermostat:thermostat-vm-heap-analysis-distribution - com.redhat.thermostat:thermostat-vm-io-distribution - com.redhat.thermostat:thermostat-vm-jmx-distribution - com.redhat.thermostat:thermostat-vm-memory-distribution - com.redhat.thermostat:thermostat-vm-overview-distribution - com.redhat.thermostat:thermostat-vm-profiler-distribution - com.redhat.thermostat:thermostat-schema-info-distribution - com.redhat.thermostat:thermostat-web-endpoint-distribution - com.redhat.thermostat:thermostat-killvm-distribution - com.redhat.thermostat:thermostat-vm-numa-distribution - com.redhat.thermostat:thermostat-platform-distribution - com.redhat.thermostat:thermostat-platform-swing-distribution - com.redhat.thermostat:thermostat-dependency-tool-distribution - com.redhat.thermostat:thermostat-gui-distribution - - - - - - diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/core-assembly-agent-macosx.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/assembly/core-assembly-agent-macosx.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,102 @@ + + + + core-assembly + + dir + + false + + + + true + false + + com.redhat.thermostat:thermostat-main + com.redhat.thermostat:thermostat-launcher + com.redhat.thermostat:thermostat-agent-core + com.redhat.thermostat:thermostat-agent-cli + com.redhat.thermostat:thermostat-agent-command + com.redhat.thermostat:thermostat-agent-command-server + com.redhat.thermostat:thermostat-agent-proxy-server + com.redhat.thermostat:thermostat-agent-ipc-tcpsocket-server + com.redhat.thermostat:thermostat-agent-ipc-tcpsocket-client + com.redhat.thermostat:thermostat-agent-ipc-unixsocket-server + com.redhat.thermostat:thermostat-agent-ipc-unixsocket-client + com.redhat.thermostat:thermostat-common-core + com.redhat.thermostat:thermostat-common-command + com.redhat.thermostat:thermostat-common-portability + com.redhat.thermostat:thermostat-process-handler + com.redhat.thermostat:thermostat-storage-core + com.redhat.thermostat:thermostat-storage-mongodb + com.redhat.thermostat:thermostat-keyring + com.redhat.thermostat:thermostat-web-client + com.redhat.thermostat:thermostat-system-backend + org.osgi:org.osgi.compendium + org.apache:org.apache.felix.scr + io.netty:netty-handler + commons-codec:commons-codec + org.apache.httpcomponents:httpclient-osgi + + com.redhat.thermostat:jnr-x86asm + + + org.osgi:org.osgi.core + + com.github.jnr:jnr-x86asm + + true + true + + + + + + native + ${main.basedir}/common/portability/target + + libHostNameWrapper${sharedlib.suffix} + libUserNameUtilWrapper${sharedlib.suffix} + libMacOSHelperWrapper${sharedlib.suffix} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/core-assembly-agent-windows.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/assembly/core-assembly-agent-windows.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,105 @@ + + + + core-assembly + + dir + + false + + + + true + false + + com.redhat.thermostat:thermostat-main + com.redhat.thermostat:thermostat-launcher + com.redhat.thermostat:thermostat-agent-core + com.redhat.thermostat:thermostat-agent-cli + com.redhat.thermostat:thermostat-agent-command + com.redhat.thermostat:thermostat-agent-command-server + com.redhat.thermostat:thermostat-agent-proxy-server + com.redhat.thermostat:thermostat-agent-ipc-tcpsocket-server + com.redhat.thermostat:thermostat-agent-ipc-tcpsocket-client + com.redhat.thermostat:thermostat-agent-ipc-winpipes-server + com.redhat.thermostat:thermostat-agent-ipc-winpipes-client + com.redhat.thermostat:thermostat-common-core + com.redhat.thermostat:thermostat-common-command + com.redhat.thermostat:thermostat-common-portability + com.redhat.thermostat:thermostat-process-handler + com.redhat.thermostat:thermostat-storage-core + com.redhat.thermostat:thermostat-storage-mongodb + com.redhat.thermostat:thermostat-keyring + com.redhat.thermostat:thermostat-web-client + com.redhat.thermostat:thermostat-system-backend + org.osgi:org.osgi.compendium + org.apache:org.apache.felix.scr + io.netty:netty-handler + commons-codec:commons-codec + org.apache.httpcomponents:httpclient-osgi + + + org.osgi:org.osgi.core + + true + true + + + + + + native + ${main.basedir}/common/portability/target + + HostNameWrapper${sharedlib.suffix} + UserNameUtilWrapper${sharedlib.suffix} + WindowsHelperWrapper${sharedlib.suffix} + + + + native + ${main.basedir}/agent/ipc/windows-named-pipes/common/target + + WinPipesNativeWrapper${sharedlib.suffix} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/core-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/assembly/core-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,108 @@ + + + + core-assembly + + dir + + false + + + + true + false + + com.redhat.thermostat:thermostat-main + com.redhat.thermostat:thermostat-launcher + com.redhat.thermostat:thermostat-agent-core + com.redhat.thermostat:thermostat-agent-cli + com.redhat.thermostat:thermostat-agent-command + com.redhat.thermostat:thermostat-agent-command-server + com.redhat.thermostat:thermostat-agent-proxy-server + com.redhat.thermostat:thermostat-agent-ipc-tcpsocket-server + com.redhat.thermostat:thermostat-agent-ipc-tcpsocket-client + com.redhat.thermostat:thermostat-agent-ipc-unixsocket-server + com.redhat.thermostat:thermostat-agent-ipc-unixsocket-client + com.redhat.thermostat:thermostat-common-core + com.redhat.thermostat:thermostat-common-command + com.redhat.thermostat:thermostat-common-portability + com.redhat.thermostat:thermostat-process-handler + com.redhat.thermostat:thermostat-storage-core + com.redhat.thermostat:thermostat-storage-mongodb + com.redhat.thermostat:thermostat-keyring + com.redhat.thermostat:thermostat-web-client + com.redhat.thermostat:thermostat-system-backend + org.osgi:org.osgi.compendium + org.apache:org.apache.felix.scr + io.netty:netty-handler + commons-codec:commons-codec + org.apache.httpcomponents:httpclient-osgi + + com.redhat.thermostat:jnr-x86asm + + + org.osgi:org.osgi.core + + com.github.jnr:jnr-x86asm + + true + true + + + + + + native + ${main.basedir}/keyring/target + + libGnomeKeyringWrapper${sharedlib.suffix} + + + + native + ${main.basedir}/common/portability/target + + libHostNameWrapper${sharedlib.suffix} + libUserNameUtilWrapper${sharedlib.suffix} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/core-assembly-macosx.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/assembly/core-assembly-macosx.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,105 @@ + + + + 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-agent-command-server + com.redhat.thermostat:thermostat-agent-proxy-server + com.redhat.thermostat:thermostat-agent-ipc-tcpsocket-server + com.redhat.thermostat:thermostat-agent-ipc-tcpsocket-client + com.redhat.thermostat:thermostat-agent-ipc-unixsocket-server + com.redhat.thermostat:thermostat-agent-ipc-unixsocket-client + com.redhat.thermostat:thermostat-common-core + com.redhat.thermostat:thermostat-common-command + com.redhat.thermostat:thermostat-common-portability + com.redhat.thermostat:thermostat-process-handler + com.redhat.thermostat:thermostat-storage-cli + com.redhat.thermostat:thermostat-storage-mongodb + com.redhat.thermostat:thermostat-keyring + com.redhat.thermostat:thermostat-web-client + com.redhat.thermostat:thermostat-system-backend + com.redhat.thermostat:thermostat-laf-utils + org.osgi:org.osgi.compendium + org.apache:org.apache.felix.scr + + com.redhat.thermostat:jnr-x86asm + + + org.osgi:org.osgi.core + + com.github.jnr:jnr-x86asm + + true + true + + + + + + native + ${main.basedir}/common/portability/target + + libHostNameWrapper${sharedlib.suffix} + libUserNameUtilWrapper${sharedlib.suffix} + libMacOSHelperWrapper${sharedlib.suffix} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/core-assembly-windows.xml --- a/distribution/assembly/core-assembly-windows.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/distribution/assembly/core-assembly-windows.xml Thu Mar 02 15:00:42 2017 -0500 @@ -77,17 +77,32 @@ com.redhat.thermostat:thermostat-laf-utils org.osgi:org.osgi.compendium org.apache:org.apache.felix.scr - - com.redhat.thermostat:jnr-x86asm org.osgi:org.osgi.core - - com.github.jnr:jnr-x86asm true true + + + + native + ${main.basedir}/common/portability/target + + HostNameWrapper${sharedlib.suffix} + UserNameUtilWrapper${sharedlib.suffix} + WindowsHelperWrapper${sharedlib.suffix} + + + + native + ${main.basedir}/agent/ipc/windows-named-pipes/common/target + + WinPipesNativeWrapper${sharedlib.suffix} + + + diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/core-assembly.xml --- a/distribution/assembly/core-assembly.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/distribution/assembly/core-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -89,5 +89,30 @@ true + + + + native + ${main.basedir}/keyring/target + + libGnomeKeyringWrapper${sharedlib.suffix} + + + + native + ${main.basedir}/common/portability/target + + libHostNameWrapper${sharedlib.suffix} + libUserNameUtilWrapper${sharedlib.suffix} + + + + native + ${main.basedir}/laf-utils/target + + libGTKThemeUtils${sharedlib.suffix} + + + diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/assembly/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,73 @@ + + + + plugin-assembly + + dir + + false + + + + false + true + + com.redhat.thermostat:thermostat-host-cpu-distribution + com.redhat.thermostat:thermostat-host-memory-distribution + com.redhat.thermostat:thermostat-numa-distribution + com.redhat.thermostat:thermostat-thread-distribution + com.redhat.thermostat:thermostat-vm-byteman-distribution + com.redhat.thermostat:thermostat-vm-classstat-distribution + com.redhat.thermostat:thermostat-vm-compiler-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-io-distribution + com.redhat.thermostat:thermostat-vm-jmx-distribution + com.redhat.thermostat:thermostat-vm-memory-distribution + com.redhat.thermostat:thermostat-vm-profiler-distribution + com.redhat.thermostat:thermostat-killvm-distribution + com.redhat.thermostat:thermostat-vm-numa-distribution + + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/assembly/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,88 @@ + + + + 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-notes-distribution + com.redhat.thermostat:thermostat-numa-distribution + com.redhat.thermostat:thermostat-storage-profile-distribution + com.redhat.thermostat:thermostat-storage-populator-distribution + com.redhat.thermostat:thermostat-thread-distribution + com.redhat.thermostat:thermostat-validate-distribution + com.redhat.thermostat:thermostat-setup-distribution + com.redhat.thermostat:thermostat-local-distribution + com.redhat.thermostat:thermostat-vm-byteman-distribution + com.redhat.thermostat:thermostat-vm-classstat-distribution + com.redhat.thermostat:thermostat-vm-compiler-distribution + com.redhat.thermostat:thermostat-vm-cpu-distribution + com.redhat.thermostat:thermostat-vm-find-distribution + com.redhat.thermostat:thermostat-vm-gc-distribution + com.redhat.thermostat:thermostat-vm-heap-analysis-distribution + com.redhat.thermostat:thermostat-vm-io-distribution + com.redhat.thermostat:thermostat-vm-jmx-distribution + com.redhat.thermostat:thermostat-vm-memory-distribution + com.redhat.thermostat:thermostat-vm-overview-distribution + com.redhat.thermostat:thermostat-vm-profiler-distribution + com.redhat.thermostat:thermostat-schema-info-distribution + com.redhat.thermostat:thermostat-web-endpoint-distribution + com.redhat.thermostat:thermostat-killvm-distribution + com.redhat.thermostat:thermostat-vm-numa-distribution + com.redhat.thermostat:thermostat-platform-distribution + com.redhat.thermostat:thermostat-platform-swing-distribution + com.redhat.thermostat:thermostat-dependency-tool-distribution + com.redhat.thermostat:thermostat-gui-distribution + + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/scripts-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/assembly/scripts-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,76 @@ + + + + scripts-assembly + + dir + + false + + + + bin + scripts + + thermostat-webservice + thermostat-setup + thermostat-devsetup + + true + + + etc + config + + agent.properties + agent.auth + ssl.properties + thermostatrc + logging.properties + bash-complete-logging.properties + osgi-export.properties + commands/agent.properties + commands/help.properties + + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/assembly/scripts-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/assembly/scripts-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,115 @@ + + + + scripts-assembly + + dir + + false + + + + bin + scripts + true + + + libs + libs + + create-user.js + + true + + + etc + config + + agent.properties + web-storage-service.properties + agent.auth + web.auth + ssl.properties + thermostatrc + thermostat-users.properties + thermostat-roles.properties + thermostat_jaas.conf + devsetup.input + db.properties + logging.properties + bash-complete-logging.properties + osgi-export.properties + commands/*.properties + + true + + + etc/examples + config/examples + + + thermostat-users-example.properties + thermostat-roles-example.properties + + false + + + etc/plugins.d + config + + shell-command/shell-prompt.conf + storage-populator/*.json + + true + + + + + + ${main.basedir}/platform/swing/core/target/generated-sources/annotations/template.json + etc/plugins.d/platform + + + ${main.basedir}/thermostat-gui/core/target/generated-sources/annotations/gui.json + etc/plugins.d/platform + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/pom.xml --- a/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -102,32 +102,6 @@ - org.apache.maven.plugins - maven-antrun-plugin - - - - directory-structure-linux - prepare-package - - - - - - - - - - run - - - - - org.codehaus.mojo exec-maven-plugin @@ -139,7 +113,7 @@ - ${project.basedir}/tools/verify-bash-completion.sh + ${project.basedir}/tools/verify-bash-completion${thermostat.assemblyconfig}.sh @@ -153,7 +127,7 @@ mac - + macosx ,com.redhat.thermostat.agent.ipc.unixsocket.server=${project.version}, \ ${jffi-native.bundle.symbolic.name}=${jffi.version} ,com.redhat.thermostat.agent.ipc.unixsocket.server=${project.version}, \ @@ -179,30 +153,6 @@ - org.apache.maven.plugins - maven-antrun-plugin - - - - directory-structure-linux - prepare-package - - - - - - - - - run - - - - - org.codehaus.mojo exec-maven-plugin @@ -214,7 +164,7 @@ - ${project.basedir}/tools/verify-bash-completion.sh + ${project.basedir}/tools/verify-bash-completion${thermostat.assemblyconfig}.sh @@ -246,34 +196,6 @@ - org.apache.maven.plugins - maven-antrun-plugin - - - - directory-structure-windows - prepare-package - - - - - - - - - - - run - - - - - - maven-resources-plugin @@ -315,7 +237,7 @@ cmd.exe /c - ${project.basedir}/tools/verify-bash-completion.cmd + ${project.basedir}/tools/verify-bash-completion${thermostat.assemblyconfig}.cmd @@ -324,6 +246,45 @@ + + + full-image + + + !agentImage + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + copy-exploded-web-archive-to-image-dir + package + + unpack + + + + + com.redhat.thermostat + thermostat-web-war + war + + + ${project.build.directory}/image/webapp + + + + + + + @@ -337,32 +298,6 @@ - org.apache.maven.plugins - maven-dependency-plugin - - - - copy-exploded-web-archive-to-image-dir - package - - unpack - - - - - com.redhat.thermostat - thermostat-web-war - war - - - ${project.build.directory}/image/webapp - - - - - maven-assembly-plugin false @@ -372,7 +307,7 @@ assemble-core - assembly/core-assembly${assemblyfile.suffix}.xml + assembly/core-assembly${thermostat.assemblyconfig}${assemblyfile.suffix}.xml image/libs false @@ -386,7 +321,7 @@ assemble-all-plugins - assembly/all-plugin-assembly.xml + assembly/plugin-assembly${thermostat.assemblyconfig}.xml image/plugins false @@ -410,6 +345,20 @@ single + + assemble-scripts + + + assembly/scripts-assembly${thermostat.assemblyconfig}.xml + + image + false + + prepare-package + + single + + @@ -425,62 +374,6 @@ ${project.build.directory} - scripts - image/bin - true - - - libs - image/libs - true - - create-user.js - - - - config - image/etc - true - - agent.properties - web-storage-service.properties - agent.auth - web.auth - ssl.properties - thermostatrc - thermostat-users.properties - thermostat-roles.properties - thermostat_jaas.conf - devsetup.input - db.properties - logging.properties - bash-complete-logging.properties - osgi-export.properties - commands/*.properties - - - - config/examples - image/etc/examples - false - - - thermostat-users-example.properties - thermostat-roles-example.properties - - - - config - image/etc/plugins.d - true - - shell-command/shell-prompt.conf - storage-populator/*.json - platform/*.json - thermostat-gui/*.json - - - tools tools true @@ -551,21 +444,6 @@ run - - directory-structure-common - prepare-package - - - - - - - - run - - @@ -573,7 +451,7 @@ + also adjust ../distribution/assembly/core-assembly*.xml --> com.redhat.thermostat thermostat-main @@ -717,7 +595,7 @@ + with type "zip", and also to ../distribution/assembly/plugin-assembly*.xml --> com.redhat.thermostat thermostat-host-cpu-distribution diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/tools/verify-bash-completion-agent.cmd --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/tools/verify-bash-completion-agent.cmd Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,12 @@ +@echo off + +set CMD_DIR=%~dp0 +set CYGWIN_DIR=c:\cygwin64 +set PATH=%PATH%;%CYGWIN_DIR%\bin + +for /f "delims=" %%a in ('%CYGWIN_DIR%\bin\cygpath -u %CMD_DIR%') do @set CMD_DIR=%%a + +%CYGWIN_DIR%\bin\bash -c %CMD_DIR%verify-bash-completion-agent.sh + +rem echo XXX ERRR = %errorlevel% +exit /b %errorlevel% diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/tools/verify-bash-completion-agent.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/tools/verify-bash-completion-agent.sh Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,55 @@ +#!/bin/bash +# +# Copyright 2012-2017 Red Hat, Inc. +# +# This file is part of Thermostat. +# +# Thermostat is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 2, or (at your +# option) any later version. +# +# Thermostat is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Thermostat; see the file COPYING. If not see +# . +# +# Linking this code with other modules is making a combined work +# based on this code. Thus, the terms and conditions of the GNU +# General Public License cover the whole combination. +# +# As a special exception, the copyright holders of this code give +# you permission to link this code with independent modules to +# produce an executable, regardless of the license terms of these +# independent modules, and to copy and distribute the resulting +# executable under terms of your choice, provided that you also +# meet, for each linked independent module, the terms and conditions +# of the license of that module. An independent module is a module +# which is not derived from or based on this code. If you modify +# this code, you may extend this exception to your version of the +# library, but you are not obligated to do so. If you do not wish +# to do so, delete this exception statement from your version. +# + +# Tests for bash-completion + +set -e + +# Source functions from the same directory as this script +CWD="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +. "${CWD}"/verify-bash-completion-functions.sh + +__init + +echo "Testing bash completions..." + +__check_completion "thermostat --v" "--version" +__check_completion "thermostat --p" "--print-osgi-info" + +__check_completion "thermostat ag" "agent" + +exit $errors diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/tools/verify-bash-completion-functions.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/distribution/tools/verify-bash-completion-functions.sh Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,113 @@ +#!/bin/bash +# +# Copyright 2012-2017 Red Hat, Inc. +# +# This file is part of Thermostat. +# +# Thermostat is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 2, or (at your +# option) any later version. +# +# Thermostat is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Thermostat; see the file COPYING. If not see +# . +# +# Linking this code with other modules is making a combined work +# based on this code. Thus, the terms and conditions of the GNU +# General Public License cover the whole combination. +# +# As a special exception, the copyright holders of this code give +# you permission to link this code with independent modules to +# produce an executable, regardless of the license terms of these +# independent modules, and to copy and distribute the resulting +# executable under terms of your choice, provided that you also +# meet, for each linked independent module, the terms and conditions +# of the license of that module. An independent module is a module +# which is not derived from or based on this code. If you modify +# this code, you may extend this exception to your version of the +# library, but you are not obligated to do so. If you do not wish +# to do so, delete this exception statement from your version. +# + +errors=0 + +TARGET="$(dirname "$0")/../target" + +# Join the supplied arguments into a single string using the specified separator +# $1 : the separator +# everything else: arguments to join +function __join { local IFS="$1"; shift; echo "$*"; } + +# Remove trailing and leading spaces and convert \n to spaces +function __prettify { + tr '\n' ' ' | sed -e 's/^[[:space:]]*//g' -e 's/[[:space:]]*$//g' +} + +function __print_completions { + for ((i=0;i<${#COMPREPLY[*]};i++)) + do + echo ${COMPREPLY[i]} + done +} + +function __init { + USER_THERMOSTAT_HOME="$TARGET/bash-completion-test-user-home" + echo "Exporting custom home..." + export USER_THERMOSTAT_HOME + echo "Checking that help works..." + "${TARGET}/image/bin/thermostat" help >/dev/null + + completion_file="${TARGET}/packaging/bash-completion/thermostat-completion" + echo "'$completion_file'" + source "${completion_file}" +} + +# Find completions for the given input +# +# Writes completion results to stdout. Writes any non-completion output +# to stderr. +function __find_completion { + COMP_WORDS=("${@}") + COMP_LINE=$(__join " " "${COMP_WORD[@]}") + COMP_COUNT=${#COMP_LINE} + COMP_CWORD=1 + # Use 'complete -p | sed' to find out the function that does completion, + # then call it + $(complete -p thermostat | sed "s/.*-F \\([^ ]*\\) .*/\\1/") 1>&2 + __print_completions +} + +# $1: The text to complete +# eg: 'thermostat --foo' +# 'thermostat g' +# $2: The expected completion output. Multiple results are separate by +# newlines. +# eg: '--foo-the-bar' +# $'gc\ngui' ($'' interprets special characters) +function __check_completion { + input=$1 + expected=$2 + expected_pretty=$(echo $expected | __prettify) + # clean up (cygwin doesn't seem to delete redirect files if no output) + rm -f "${TARGET}/completion.actual" + # save completions and any other output separately and check both + __find_completion $input > "${TARGET}/completion.actual" 2> "${TARGET}/completion.output" + actual=$(<"${TARGET}/completion.actual") + actual_pretty=$(echo "$actual" | __prettify) + output=$(<"${TARGET}/completion.output") + if [[ $actual == $expected && -z $output ]] ; then + echo "[OK] '$input' => '$actual_pretty'" + elif [[ -z $output ]]; then + echo -e "[\e[31mFAIL\e[0m] '$input' => '$actual_pretty' (expected '$expected_pretty')" + errors=1 + else + echo -e "[\e[31mFAIL\e[0m] '$input' produced output on stdout/stderr" + errors=1 + fi +} diff -r 1fcf53b27d26 -r b51cb6d91023 distribution/tools/verify-bash-completion.sh --- a/distribution/tools/verify-bash-completion.sh Wed Mar 01 18:41:34 2017 +0100 +++ b/distribution/tools/verify-bash-completion.sh Thu Mar 02 15:00:42 2017 -0500 @@ -39,83 +39,9 @@ set -e -errors=0 - -TARGET="$(dirname "$0")/../target" - -# Join the supplied arguments into a single string using the specified separator -# $1 : the separator -# everything else: arguments to join -function __join { local IFS="$1"; shift; echo "$*"; } - -# Remove trailing and leading spaces and convert \n to spaces -function __prettify { - tr '\n' ' ' | sed -e 's/^[[:space:]]*//g' -e 's/[[:space:]]*$//g' -} - -function __print_completions { - for ((i=0;i<${#COMPREPLY[*]};i++)) - do - echo ${COMPREPLY[i]} - done -} - -function __init { - USER_THERMOSTAT_HOME="$TARGET/bash-completion-test-user-home" - echo "Exporting custom home..." - export USER_THERMOSTAT_HOME - echo "Checking that help works..." - "${TARGET}/image/bin/thermostat" help >/dev/null - - completion_file="${TARGET}/packaging/bash-completion/thermostat-completion" - echo "'$completion_file'" - source "${completion_file}" -} - -# Find completions for the given input -# -# Writes completion results to stdout. Writes any non-completion output -# to stderr. -function __find_completion { - COMP_WORDS=("${@}") - COMP_LINE=$(__join " " "${COMP_WORD[@]}") - COMP_COUNT=${#COMP_LINE} - COMP_CWORD=1 - # Use 'complete -p | sed' to find out the function that does completion, - # then call it - $(complete -p thermostat | sed "s/.*-F \\([^ ]*\\) .*/\\1/") 1>&2 - __print_completions -} - -# $1: The text to complete -# eg: 'thermostat --foo' -# 'thermostat g' -# $2: The expected completion output. Multiple results are separate by -# newlines. -# eg: '--foo-the-bar' -# $'gc\ngui' ($'' interprets special characters) -function __check_completion { - input=$1 - expected=$2 - expected_pretty=$(echo $expected | __prettify) - # clean up (cygwin doesn't seem to delete redirect files if no output) - rm -f "${TARGET}/completion.actual" - # save completions and any other output separately and check both - __find_completion $input > "${TARGET}/completion.actual" 2> "${TARGET}/completion.output" - actual=$(<"${TARGET}/completion.actual") - actual_pretty=$(echo "$actual" | __prettify) - output=$(<"${TARGET}/completion.output") - if [[ $actual == $expected && -z $output ]] ; then - echo "[OK] '$input' => '$actual_pretty'" - elif [[ -z $output ]]; then - echo -e "[\e[31mFAIL\e[0m] '$input' => '$actual_pretty' (expected '$expected_pretty')" - errors=1 - else - echo -e "[\e[31mFAIL\e[0m] '$input' produced output on stdout/stderr" - errors=1 - fi -} - +# Source functions from the same directory as this script +CWD="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +. "${CWD}"/verify-bash-completion-functions.sh __init diff -r 1fcf53b27d26 -r b51cb6d91023 host-cpu/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-cpu/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-host-cpu-common + com.redhat.thermostat:thermostat-host-cpu-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 host-cpu/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-cpu/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,71 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-host-cpu-common + com.redhat.thermostat:thermostat-host-cpu-client-core + com.redhat.thermostat:thermostat-host-cpu-client-swing + com.redhat.thermostat:thermostat-host-cpu-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 host-cpu/distribution/pom.xml --- a/host-cpu/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/host-cpu/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 host-cpu/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-cpu/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,52 @@ + + + + + + agent + + com.redhat.thermostat.host.cpu.common${project.version} + com.redhat.thermostat.host.cpu.agent${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 host-memory/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-memory/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-host-memory-common + com.redhat.thermostat:thermostat-host-memory-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 host-memory/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-memory/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,71 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-host-memory-common + com.redhat.thermostat:thermostat-host-memory-client-core + com.redhat.thermostat:thermostat-host-memory-client-swing + com.redhat.thermostat:thermostat-host-memory-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 host-memory/distribution/pom.xml --- a/host-memory/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/host-memory/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 host-memory/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host-memory/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,52 @@ + + + + + + agent + + com.redhat.thermostat.host.memory.common${project.version} + com.redhat.thermostat.host.memory.agent${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 integration-tests/itest-run/pom.xml --- a/integration-tests/itest-run/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/integration-tests/itest-run/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -100,6 +100,7 @@ false + ${project.basedir}/test${thermostat.assemblyconfig}.includes **/AllStandaloneTests.java diff -r 1fcf53b27d26 -r b51cb6d91023 integration-tests/itest-run/src/test/java/com/redhat/thermostat/itest/AllCommandsResolvableTest.java --- a/integration-tests/itest-run/src/test/java/com/redhat/thermostat/itest/AllCommandsResolvableTest.java Wed Mar 01 18:41:34 2017 +0100 +++ b/integration-tests/itest-run/src/test/java/com/redhat/thermostat/itest/AllCommandsResolvableTest.java Thu Mar 02 15:00:42 2017 -0500 @@ -78,7 +78,7 @@ public void testAllCommandsOsgiResolve() throws Exception { List allCmds = parseAvailableCommandsFromHelp(); System.out.println(allCmds); - assertTrue("sanity check help output failed", allCmds.containsAll(Arrays.asList("list-vms", "help"))); + assertTrue("sanity check help output failed", allCmds.containsAll(Arrays.asList("agent", "help"))); for (String command: allCmds) { System.out.println("###### testing command: " + command); Spawn shell = spawnThermostat(command, UNKNOWN_CMD_OPTION); diff -r 1fcf53b27d26 -r b51cb6d91023 integration-tests/itest-run/test-agent.includes --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/integration-tests/itest-run/test-agent.includes Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,5 @@ +# Include tests that only depend on the "agent" command +**/AllCommandsResolvableTest.java +**/EnvironmentExecutorTest.java +**/LogConfiguratorTest.java +**/PropertiesExecutorTest.java diff -r 1fcf53b27d26 -r b51cb6d91023 integration-tests/itest-run/test.includes --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/integration-tests/itest-run/test.includes Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,1 @@ +**/*Test.java diff -r 1fcf53b27d26 -r b51cb6d91023 killvm/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/killvm/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,69 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-killvm-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 killvm/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/killvm/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,71 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-killvm-common + com.redhat.thermostat:thermostat-killvm-command + com.redhat.thermostat:thermostat-killvm-client-swing + com.redhat.thermostat:thermostat-killvm-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 killvm/distribution/pom.xml --- a/killvm/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/killvm/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -57,17 +57,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 killvm/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/killvm/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,51 @@ + + + + + + agent + + com.redhat.thermostat.killvm.agent${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 launcher/pom.xml --- a/launcher/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/launcher/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -120,6 +120,10 @@ org.apache.felix.scr.annotations + jline + jline + + com.redhat.thermostat thermostat-common-core ${project.version} diff -r 1fcf53b27d26 -r b51cb6d91023 numa/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/numa/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-numa-common + com.redhat.thermostat:thermostat-numa-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 numa/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/numa/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,71 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-numa-common + com.redhat.thermostat:thermostat-numa-client-core + com.redhat.thermostat:thermostat-numa-client-swing + com.redhat.thermostat:thermostat-numa-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 numa/distribution/pom.xml --- a/numa/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/numa/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 numa/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/numa/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,52 @@ + + + + + + agent + + com.redhat.thermostat.numa.common${project.version} + com.redhat.thermostat.numa.agent${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 pom.xml --- a/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -206,6 +206,31 @@ true + + + + agent-image + + + agentImage + + + + -agent + + + + full-image + + + !agentImage + + + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 thread/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thread/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-thread-harvester + com.redhat.thermostat:thermostat-thread-collector + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 thread/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thread/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,72 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-thread-client-common + com.redhat.thermostat:thermostat-thread-client-controllers + com.redhat.thermostat:thermostat-thread-client-swing + com.redhat.thermostat:thermostat-thread-harvester + com.redhat.thermostat:thermostat-thread-collector + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 thread/distribution/pom.xml --- a/thread/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/thread/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 thread/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thread/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,52 @@ + + + + + + agent + + com.redhat.thermostat.thread.collector${project.version} + com.redhat.thermostat.thread.harvester${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-byteman/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-byteman/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,72 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-byteman-common + com.redhat.thermostat:thermostat-vm-byteman-agent + org.jboss.byteman:byteman-submit + org.jboss.byteman:byteman-install + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-byteman/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-byteman/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,73 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-byteman-common + com.redhat.thermostat:thermostat-vm-byteman-client-cli + com.redhat.thermostat:thermostat-vm-byteman-client-swing + com.redhat.thermostat:thermostat-vm-byteman-agent + org.jboss.byteman:byteman-submit + org.jboss.byteman:byteman-install + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-byteman/distribution/pom.xml --- a/vm-byteman/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-byteman/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-byteman/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-byteman/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,49 @@ + + + + + + agent + + com.redhat.thermostat.vm.byteman.common${project.version} + com.redhat.thermostat.vm.byteman.agent${project.version} + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-classstat/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-classstat/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-classstat-common + com.redhat.thermostat:thermostat-vm-classstat-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-classstat/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-classstat/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,71 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-classstat-common + com.redhat.thermostat:thermostat-vm-classstat-client-core + com.redhat.thermostat:thermostat-vm-classstat-client-swing + com.redhat.thermostat:thermostat-vm-classstat-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-classstat/distribution/pom.xml --- a/vm-classstat/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-classstat/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-classstat/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-classstat/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,53 @@ + + + + + + agent + + com.redhat.thermostat.vm.classstat.common${project.version} + com.redhat.thermostat.vm.classstat.agent${project.version} + + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-compiler/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-compiler/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-compiler-common + com.redhat.thermostat:thermostat-vm-compiler-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-compiler/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-compiler/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,71 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-compiler-common + com.redhat.thermostat:thermostat-vm-compiler-client-core + com.redhat.thermostat:thermostat-vm-compiler-client-swing + com.redhat.thermostat:thermostat-vm-compiler-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-compiler/distribution/pom.xml --- a/vm-compiler/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-compiler/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-compiler/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-compiler/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,52 @@ + + + + + + agent + + com.redhat.thermostat.vm.compiler.common${project.version} + com.redhat.thermostat.vm.compiler.agent${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-cpu/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-cpu/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-cpu-common + com.redhat.thermostat:thermostat-vm-cpu-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-cpu/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-cpu/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,72 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-cpu-common + com.redhat.thermostat:thermostat-vm-cpu-client-core + com.redhat.thermostat:thermostat-vm-cpu-client-cli + com.redhat.thermostat:thermostat-vm-cpu-client-swing + com.redhat.thermostat:thermostat-vm-cpu-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-cpu/distribution/pom.xml --- a/vm-cpu/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-cpu/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-cpu/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-cpu/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,52 @@ + + + + + + agent + + com.redhat.thermostat.vm.cpu.common${project.version} + com.redhat.thermostat.vm.cpu.agent${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-gc/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-gc/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,72 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-gc-common + com.redhat.thermostat:thermostat-vm-gc-agent + com.redhat.thermostat:thermostat-gc-remote-collector-common + com.redhat.thermostat:thermostat-gc-remote-collector-command + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-gc/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-gc/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,76 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-gc-common + com.redhat.thermostat:thermostat-vm-gc-command + com.redhat.thermostat:thermostat-vm-gc-client-core + com.redhat.thermostat:thermostat-vm-gc-client-swing + com.redhat.thermostat:thermostat-vm-gc-agent + com.redhat.thermostat:thermostat-gc-remote-collector-common + com.redhat.thermostat:thermostat-gc-remote-collector-command + com.redhat.thermostat:thermostat-gc-remote-collector-client-common + com.redhat.thermostat:thermostat-gc-remote-collector-client-swing + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-gc/distribution/pom.xml --- a/vm-gc/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-gc/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-gc/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-gc/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,55 @@ + + + + + + agent + + com.redhat.thermostat.vm.gc.common${project.version} + com.redhat.thermostat.vm.gc.agent${project.version} + com.redhat.thermostat.gc.remote.common.command${project.version} + com.redhat.thermostat.gc.remote.command${project.version} + + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-heap-analysis/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-heap-analysis/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,73 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-heap-analysis-common + com.redhat.thermostat:thermostat-vm-heap-analysis-agent + com.redhat.thermostat:thermostat-vm-heap-analysis-hprof + org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene + org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene-analyzers-common + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-heap-analysis/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-heap-analysis/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,75 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-heap-analysis-common + com.redhat.thermostat:thermostat-vm-heap-analysis-command + com.redhat.thermostat:thermostat-vm-heap-analysis-client-core + com.redhat.thermostat:thermostat-vm-heap-analysis-client-swing + com.redhat.thermostat:thermostat-vm-heap-analysis-agent + com.redhat.thermostat:thermostat-vm-heap-analysis-hprof + org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene + org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene-analyzers-common + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-heap-analysis/distribution/pom.xml --- a/vm-heap-analysis/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-heap-analysis/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-heap-analysis/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-heap-analysis/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,53 @@ + + + + + + agent + + com.redhat.thermostat.vm.heap.analysis.common${project.version} + com.redhat.thermostat.vm.heap.analysis.hprof${project.version} + com.redhat.thermostat.vm.heap.analysis.agent${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-io/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-io/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-io-common + com.redhat.thermostat:thermostat-vm-io-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-io/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-io/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,72 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-io-common + com.redhat.thermostat:thermostat-vm-io-client-core + com.redhat.thermostat:thermostat-vm-io-client-cli + com.redhat.thermostat:thermostat-vm-io-client-swing + com.redhat.thermostat:thermostat-vm-io-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-io/distribution/pom.xml --- a/vm-io/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-io/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-io/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-io/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,52 @@ + + + + + + agent + + com.redhat.thermostat.vm.io.common${project.version} + com.redhat.thermostat.vm.io.agent${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-jmx/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-jmx/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-jmx-common + com.redhat.thermostat:thermostat-vm-jmx-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-jmx/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-jmx/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,72 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-jmx-common + com.redhat.thermostat:thermostat-vm-jmx-client-core + com.redhat.thermostat:thermostat-vm-jmx-client-cli + com.redhat.thermostat:thermostat-vm-jmx-client-swing + com.redhat.thermostat:thermostat-vm-jmx-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-jmx/distribution/pom.xml --- a/vm-jmx/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-jmx/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-jmx/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-jmx/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,52 @@ + + + + + + agent + + com.redhat.thermostat.vm.jmx.common${project.version} + com.redhat.thermostat.vm.jmx.agent${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-memory/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-memory/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-memory-common + com.redhat.thermostat:thermostat-vm-memory-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-memory/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-memory/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,72 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-memory-common + com.redhat.thermostat:thermostat-vm-memory-client-core + com.redhat.thermostat:thermostat-vm-memory-client-cli + com.redhat.thermostat:thermostat-vm-memory-client-swing + com.redhat.thermostat:thermostat-vm-memory-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-memory/distribution/pom.xml --- a/vm-memory/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-memory/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-memory/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-memory/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,53 @@ + + + + + + agent + + com.redhat.thermostat.vm.memory.common${project.version} + com.redhat.thermostat.vm.memory.agent${project.version} + + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-numa/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-numa/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,70 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-numa-common + com.redhat.thermostat:thermostat-vm-numa-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-numa/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-numa/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,71 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-numa-common + com.redhat.thermostat:thermostat-vm-numa-client-core + com.redhat.thermostat:thermostat-vm-numa-client-swing + com.redhat.thermostat:thermostat-vm-numa-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-numa/distribution/pom.xml --- a/vm-numa/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-numa/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-numa/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-numa/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,52 @@ + + + + + + agent + + com.redhat.thermostat.vm.numa.agent${project.version} + com.redhat.thermostat.vm.numa.common${project.version} + + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-profiler/distribution/assemblies/plugin-assembly-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-profiler/distribution/assemblies/plugin-assembly-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,71 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-profiler-common + com.redhat.thermostat:thermostat-vm-profiler-agent + com.redhat.thermostat:thermostat-vm-profiler-jvm-agent + + false + false + true + + + + + + thermostat-plugin-agent.xml + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-profiler/distribution/assemblies/plugin-assembly.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-profiler/distribution/assemblies/plugin-assembly.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,73 @@ + + + + plugin-assembly + + zip + + ${thermostat.plugin} + true + + + + + com.redhat.thermostat:thermostat-vm-profiler-common + com.redhat.thermostat:thermostat-vm-profiler-client-core + com.redhat.thermostat:thermostat-vm-profiler-client-cli + com.redhat.thermostat:thermostat-vm-profiler-client-swing + com.redhat.thermostat:thermostat-vm-profiler-agent + com.redhat.thermostat:thermostat-vm-profiler-jvm-agent + + false + false + true + + + + + + thermostat-plugin.xml + / + true + + + + diff -r 1fcf53b27d26 -r b51cb6d91023 vm-profiler/distribution/pom.xml --- a/vm-profiler/distribution/pom.xml Wed Mar 01 18:41:34 2017 +0100 +++ b/vm-profiler/distribution/pom.xml Thu Mar 02 15:00:42 2017 -0500 @@ -58,17 +58,10 @@ maven-assembly-plugin - - - com.redhat.thermostat - thermostat-assembly - ${project.version} - - - - plugin-assembly - + + assemblies/plugin-assembly${thermostat.assemblyconfig}.xml + false diff -r 1fcf53b27d26 -r b51cb6d91023 vm-profiler/distribution/thermostat-plugin-agent.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vm-profiler/distribution/thermostat-plugin-agent.xml Thu Mar 02 15:00:42 2017 -0500 @@ -0,0 +1,49 @@ + + + + + + agent + + com.redhat.thermostat.vm.profiler.common${project.version} + com.redhat.thermostat.vm.profiler.agent${project.version} + + + +