scan-deploy script
Merge branch 'master' of https://github.com/rafaelliu/jboss-scripts
extracting variables and functions for reuse