HIGUCHI Yuta | 88f3bf3 | 2013-06-20 10:37:47 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
Pavlin Radoslavov | 4c7a077 | 2014-01-04 08:52:57 -0800 | [diff] [blame] | 3 | # |
| 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 Yuta | 88f3bf3 | 2013-06-20 10:37:47 -0700 | [diff] [blame] | 14 | if [ -z "${MVN}" ]; then |
| 15 | MVN="mvn" |
| 16 | fi |
| 17 | |
Yuta HIGUCHI | d62fb87 | 2014-01-02 10:40:32 -0800 | [diff] [blame] | 18 | # 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 Yuta | 88f3bf3 | 2013-06-20 10:37:47 -0700 | [diff] [blame] | 23 | |