blob: 52fc4af02ca577472ab1bc851a2269f0892c7abc [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
Yuta HIGUCHId62fb872014-01-02 10:40:32 -080013# run goals to download required plugins
Yuta HIGUCHIa32c67b2014-06-03 10:30:49 -070014${MVN} -T 1C dependency:go-offline clean verify pmd:pmd pmd:cpd -DskipTests -Dcheckstyle.skip -Dfindbugs.skip -Dpmd.skip -Dcpd.skip