onos/tools/build/onos-build
2014-09-23 17:33:58 -07:00

10 lines
371 B
Bash
Executable File

#!/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 && mvn javadoc:aggregate