forked from cwensel/cascading.hbase
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdeploy-deps.sh
52 lines (41 loc) · 1.66 KB
/
deploy-deps.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#! /bin/sh
#
# Deploy all HBase dependencies which are not available via the official
# maven repository at http://repo1.maven.org.
#
#
# The maven repository to deploy to.
#
REPOSITORY_URL=file:///$HOME/.m2/repository
if [ -z $HBASE_HOME ]; then
echo "Error: HBASE_HOME is not set." 2>&1
exit 1
fi
HBASE_LIBDIR=$HBASE_HOME/lib
# HBase
mvn deploy:deploy-file -Dfile=$HBASE_HOME/hbase-0.20.2.jar \
-DpomFile=./hbase-0.20.2.pom -Durl=$REPOSITORY_URL
# AgileJSON
mvn deploy:deploy-file -DgroupId=org.clojars.ndimiduk -DartifactId=AgileJSON \
-Dversion=2009-03-30 -Dpackaging=jar -Durl=$REPOSITORY_URL \
-Dfile=$HBASE_LIBDIR/AgileJSON-2009-03-30.jar
# commons cli
#mvn deploy:deploy-file -DgroupId=org.clojars.ndimiduk \
# -DartifactId=commons-cli -Dversion=2.0-SNAPSHOT -Dpackaging=jar \
# -Durl=$REPOSITORY_URL -Dfile=$HBASE_LIBDIR/commons-cli-2.0-SNAPSHOT.jar
mvn deploy:deploy-file -DgroupId=org.clojars.ndimiduk \
-DartifactId=commons-cli -Dversion=2.0 -Dpackaging=jar \
-Durl=$REPOSITORY_URL -Dfile=$HBASE_LIBDIR/commons-cli-2.0-SNAPSHOT.jar
# commons el from jetty
mvn deploy:deploy-file -DgroupId=org.clojars.ndimiduk \
-DartifactId=commons-el-from-jetty -Dversion=5.1.4 -Dpackaging=jar \
-Durl=$REPOSITORY_URL -Dfile=$HBASE_LIBDIR/commons-el-from-jetty-5.1.4.jar
# thrift
mvn deploy:deploy-file -DgroupId=org.clojars.ndimiduk -DartifactId=thrift \
-Dversion=r771587 -Dpackaging=jar -Durl=$REPOSITORY_URL \
-Dfile=$HBASE_LIBDIR/libthrift-r771587.jar
# zookeeper
mvn deploy:deploy-file -DgroupId=org.clojars.ndimiduk -DartifactId=zookeeper \
-Dversion=3.2.1 -Dpackaging=jar -Durl=$REPOSITORY_URL \
-Dfile=$HBASE_LIBDIR/zookeeper-3.2.1.jar
# EOF