blob: 8be464fbdce1d11bef63506ceed4f1fb36844652 [file] [log] [blame]
#!/bin/bash
#
# A helper script to download all the dependencies beforehand, rather than
# Maven lazily downloading them when they're needed.
#
if [ -z "${MVN}" ]; then
MVN="mvn"
fi
# download package dependencies
${MVN} -T 1C dependency:go-offline
# run goals to download required plugins
${MVN} -T 1C checkstyle:checkstyle
${MVN} -q -T 1C clean test -Dtest=DoNotTest -DfailIfNoTests=false > /dev/null
${MVN} -T 1C compile