Brian O'Connor

Adding set -e to fail onos-create-app on mvn generate failures

Also, adding fixme that can be a common pitfall in Buck build land

Change-Id: I96828aa520d6b81c71d1d7b2ce1841d93c92a843
......@@ -23,6 +23,9 @@ otherOptions=""
[ -n "$1" ] && otherOptions="$otherOptions -Dversion=$1" && shift
[ -n "$1" ] && otherOptions="$otherOptions -Dpackage=$1" && shift
set -ex
#FIXME This will fail for SNAPSHOT versions when Maven has not been used for a local build.
mvn archetype:generate -DarchetypeGroupId=org.onosproject \
-DarchetypeArtifactId=onos-$archetype-archetype \
-DarchetypeVersion=$ONOS_POM_VERSION $otherOptions "$@"
......