blob: 8be464fbdce1d11bef63506ceed4f1fb36844652 [file] [log] [blame]
Yuta HIGUCHId62fb872014-01-02 10:40:32 -08001#!/bin/bash
2
Pavlin Radoslavov4c7a0772014-01-04 08:52:57 -08003#
4# A helper script to download all the dependencies beforehand, rather than
5# Maven lazily downloading them when they're needed.
6#
7
Yuta HIGUCHId62fb872014-01-02 10:40:32 -08008if [ -z "${MVN}" ]; then
9 MVN="mvn"
10fi
11
12# download package dependencies
13${MVN} -T 1C dependency:go-offline
14
15# run goals to download required plugins
16${MVN} -T 1C checkstyle:checkstyle
17${MVN} -q -T 1C clean test -Dtest=DoNotTest -DfailIfNoTests=false > /dev/null
18${MVN} -T 1C compile