Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

153 lines (127 sloc) 3.726 kB
Create deploy-deps.sh
#! /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.19.3.jar \
-DpomFile=hbase.pom -Durl=$REPOSITORY_URL
#Hadoop
mvn deploy:deploy-file -DgroupId=org.apache -DartifactId=hadoop \
-Dversion=0.19.1 -Dpackaging=jar -Durl=$REPOSITORY_URL \
-Dfile=$HBASE_LIBDIR/hadoop-0.19.1-core.jar
#thrift
mvn deploy:deploy-file -DgroupId=com.facebook -DartifactId=thrift \
-Dversion=20080411p1 -Dpackaging=jar -Durl=$REPOSITORY_URL \
-Dfile=$HBASE_LIBDIR/libthrift-20080411p1.jar
#apache commons cli
mvn deploy:deploy-file -DgroupId=commons-cli -DartifactId=commons-cli \
-Dversion=2.0-SNAPSHOT -Dpackaging=jar -Durl=$REPOSITORY_URL \
-Dfile=$HBASE_LIBDIR/commons-cli-2.0-SNAPSHOT.jar
# EOF
Create hbase.pom
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId>
<artifactId>hbase</artifactId>
<packaging>jar</packaging>
<version>0.19.3</version>
<name>Hadoop HBase</name>
<dependencies>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.0.1</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
<dependency>
<groupId>commons-math</groupId>
<artifactId>commons-math</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache</groupId>
<artifactId>hadoop</artifactId>
<version>0.19.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.13</version>
</dependency>
<dependency>
<groupId>jetty</groupId>
<artifactId>org.mortbay.jetty</artifactId>
<version>5.1.4</version>
</dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<version>0.9.91</version>
</dependency>
<dependency>
<groupId>com.facebook</groupId>
<artifactId>thrift</artifactId>
<version>20080411p1</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>2.2.0</version>
</dependency>
<!--
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.15</version>
</dependency>
-->
<dependency>
<groupId>xmlenc</groupId>
<artifactId>xmlenc</artifactId>
<version>0.52</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee_1.4_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>virolab.cyfronet.pl</id>
<name>virolab.cyfronet.pl (used for commons-cli-2.0)</name>
<url>http://virolab.cyfronet.pl/maven2</url>
</repository>
</repositories>
</project>
* Configure $HBASE_HOME
* Run
$> sh deploy-deps.sh
Jump to Line
Something went wrong with that request. Please try again.