blob: f8e00f8fa748a372d8f583872eee18b8e99ff656 [file] [log] [blame]
HIGUCHI Yuta88f3bf32013-06-20 10:37:47 -07001#!/bin/bash
2
3if [ -z "${MVN}" ]; then
4 MVN="mvn"
5fi
6
Yuta HIGUCHI5548a492013-10-24 00:39:23 -07007# Kryo2 workaround
8${MVN} -f kryo2/pom.xml package exec:exec
9
Pankaj Berdeb80609d2013-12-10 11:36:12 -080010${MVN} install:install-file -Dfile=./curator/curator-framework-1.3.5-SNAPSHOT.jar -DgroupId=com.netflix.curator -DartifactId=curator-framework -Dversion=1.3.5-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
11${MVN} install:install-file -Dfile=./curator/curator-client-1.3.5-SNAPSHOT.jar -DgroupId=com.netflix.curator -DartifactId=curator-client -Dversion=1.3.5-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
12${MVN} install:install-file -Dfile=./curator/curator-recipes-1.3.5-SNAPSHOT.jar -DgroupId=com.netflix.curator -DartifactId=curator-recipes -Dversion=1.3.5-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
13${MVN} install:install-file -Dfile=./curator/curator-x-discovery-1.3.5-SNAPSHOT.jar -DgroupId=com.netflix.curator -DartifactId=curator-x-discovery -Dversion=1.3.5-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
HIGUCHI Yuta88f3bf32013-06-20 10:37:47 -070014
15# download package dependencies
16${MVN} dependency:go-offline
17
18# run goals to download required plugins
19${MVN} -q test -Dtest=DoNotTest -DfailIfNoTests=false > /dev/null
20${MVN} clean compile