blob: 62573406607004377600d91baf43ae9259d73c43 [file] [log] [blame]
#!/bin/bash
# -----------------------------------------------------------------------------
# Builds the ONOS from source.
# -----------------------------------------------------------------------------
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
cd $ONOS_ROOT && mvn clean install "$@" && cd docs && mvn javadoc:aggregate