blob: 1baa27beae2657d2b2f8ab95f3c0ef12dc0cee89 [file] [log] [blame]
HIGUCHI Yuta88f3bf32013-06-20 10:37:47 -07001#!/bin/bash
2
Pavlin Radoslavov4c7a0772014-01-04 08:52:57 -08003#
4# A helper script to update the modified local copy of "curator" or the "kryo2"
5# version.
6#
7# NOTE: This script is useful only for developers.
8# Usage:
9# 1. Update the "curator" jar file or the "kryo2" pom.xml file as appropriate.
10# 2. Run this script.
11# 3. Push the modified repo/ directory to the source code repository.
12#
13
HIGUCHI Yuta88f3bf32013-06-20 10:37:47 -070014if [ -z "${MVN}" ]; then
15 MVN="mvn"
16fi
17
Yuta HIGUCHId62fb872014-01-02 10:40:32 -080018# Install modified curators to local repo
19${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 -DlocalRepositoryPath=./repo -DcreateChecksum=true
20${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 -DlocalRepositoryPath=./repo -DcreateChecksum=true
21${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 -DlocalRepositoryPath=./repo -DcreateChecksum=true
22${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 -DlocalRepositoryPath=./repo -DcreateChecksum=true
HIGUCHI Yuta88f3bf32013-06-20 10:37:47 -070023