diff options
Diffstat (limited to 'framework/src/onos/tools/test/bin/onos-archetypes-test')
-rwxr-xr-x | framework/src/onos/tools/test/bin/onos-archetypes-test | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/framework/src/onos/tools/test/bin/onos-archetypes-test b/framework/src/onos/tools/test/bin/onos-archetypes-test deleted file mode 100755 index e8470b9a..00000000 --- a/framework/src/onos/tools/test/bin/onos-archetypes-test +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -# ----------------------------------------------------------------------------- -# Builds a set of projects using ONOS archetypes. -# ----------------------------------------------------------------------------- - -function _usage () { -cat << _EOF_ -usage: - $(basename $0) - -summary: - Builds a set of projects using ONOS archetypes. - -_EOF_ -} - -[ "$1" = "-h" ] && _usage && exit 0 - -set -e - -export AROOT=/tmp/foo -export ARCHETYPE_OPTS="-DarchetypeGroupId=org.onosproject -DarchetypeVersion=1.4.0-rc1" - -mkdir -p $AROOT -for an in api bundle cli ui; do - cd $AROOT - rm -fr $AROOT/foo-$an - mvn archetype:generate $ARCHETYPE_OPTS \ - -DarchetypeArtifactId=onos-$an-archetype \ - -DgroupId=org.foo -DartifactId=foo-$an -Dversion=1.0 \ - -Dpackage=org.foo.$an -DinteractiveMode=false - cd $AROOT/foo-$an - mvn clean install -done |