onos-build
361 Bytes
#!/bin/bash
# -----------------------------------------------------------------------------
# Builds the ONOS from source.
# -----------------------------------------------------------------------------
set -e
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
cd $ONOS_ROOT && mvn clean install "$@"