Added mavenStage.sh script, added missing exit code in setVersion.sh