HIGUCHI Yuta | 88f3bf3 | 2013-06-20 10:37:47 -0700 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | |
| 3 | if [ -z "${MVN}" ]; then |
| 4 | MVN="mvn" |
| 5 | fi |
| 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 |