while [[ $# -gt 0 ]]; do
key="$1"case $key in-m)MVN_COMMANDS=$2shift # past argumentshift # past argument;;-bp)BUILD_DIR=$2shiftshift;;-sc)SKIP_CPP=1shift;;*) # unknown optionecho Usage "$APPNAME -m \"<maven commands="">\""echo " -bp \"<build path="">\""exit 2;;esacdone