Yuta HIGUCHI | d62fb87 | 2014-01-02 10:40:32 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
Pavlin Radoslavov | 4c7a077 | 2014-01-04 08:52:57 -0800 | [diff] [blame] | 3 | # |
| 4 | # A helper script to download all the dependencies beforehand, rather than |
| 5 | # Maven lazily downloading them when they're needed. |
| 6 | # |
| 7 | |
Yuta HIGUCHI | d62fb87 | 2014-01-02 10:40:32 -0800 | [diff] [blame] | 8 | if [ -z "${MVN}" ]; then |
| 9 | MVN="mvn" |
| 10 | fi |
| 11 | |
| 12 | # download package dependencies |
Yuta HIGUCHI | d62fb87 | 2014-01-02 10:40:32 -0800 | [diff] [blame] | 13 | # run goals to download required plugins |
Yuta HIGUCHI | a32c67b | 2014-06-03 10:30:49 -0700 | [diff] [blame] | 14 | ${MVN} -T 1C dependency:go-offline clean verify pmd:pmd pmd:cpd -DskipTests -Dcheckstyle.skip -Dfindbugs.skip -Dpmd.skip -Dcpd.skip |