blob: 3a2538cae76994563ef56e7b8533328909b780ab [file] [log] [blame]
HIGUCHI Yuta88f3bf32013-06-20 10:37:47 -07001#!/bin/bash
2
3if [ -z "${MVN}" ]; then
4 MVN="mvn"
5fi
6
7${MVN} install:install-file -Dfile=./lib/curator-framework-1.3.5-SNAPSHOT.jar -DgroupId=com.netflix.curator -DartifactId=curator-framework -Dversion=1.3.5-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
8${MVN} install:install-file -Dfile=./lib/curator-client-1.3.5-SNAPSHOT.jar -DgroupId=com.netflix.curator -DartifactId=curator-client -Dversion=1.3.5-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
9${MVN} install:install-file -Dfile=./lib/curator-recipes-1.3.5-SNAPSHOT.jar -DgroupId=com.netflix.curator -DartifactId=curator-recipes -Dversion=1.3.5-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
10${MVN} install:install-file -Dfile=./lib/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
11
12# download package dependencies
13${MVN} dependency:go-offline
14
15# run goals to download required plugins
16${MVN} -q test -Dtest=DoNotTest -DfailIfNoTests=false > /dev/null
17${MVN} clean compile