Thomas Vachuska
Committed by Gerrit Code Review

Fixing onos-create-app to bomb if mvn command fails for some reason.

Change-Id: I770a2efee9557371caff7066bf71306d375c3fdf
......@@ -23,6 +23,8 @@ otherOptions=""
[ -n "$1" ] && otherOptions="$otherOptions -Dversion=$1" && shift
[ -n "$1" ] && otherOptions="$otherOptions -Dpackage=$1" && shift
set -e
mvn archetype:generate -DarchetypeCatalog=local,remote \
-DarchetypeGroupId=org.onosproject \
-DarchetypeArtifactId=onos-$archetype-archetype \
......