Skip to content

Commit

Permalink
gh-66 move nosqldb to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ch1 committed Feb 20, 2012
1 parent 6e17130 commit 2dfbfb2
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 0 deletions.
1 change: 1 addition & 0 deletions distribution/src/main/bin/ycsb
Expand Up @@ -26,6 +26,7 @@ DATABASES = {
"jdbc" : "com.yahoo.ycsb.db.JdbcDBClient",
"mapkeeper" : "com.yahoo.ycsb.db.MapKeeperClient",
"mongodb" : "com.yahoo.ycsb.db.MongoDbClient",
"nosqldb" : "com.yahoo.ycsb.db.NoSqlDbClient",
"redis" : "com.yahoo.ycsb.db.RedisClient",
"voldemort" : "com.yahoo.ycsb.db.VoldemortClient",
}
Expand Down
11 changes: 11 additions & 0 deletions db/nosqldb/lib/README → nosqldb/README
@@ -1,6 +1,17 @@
This directory should contain kvclient-1.2.123.jar for building
and running Oracle NoSQL Database client.

INSTALL

Download kv-ce-1.2.123.tar.gz from here:

http://www.oracle.com/technetwork/database/nosqldb/downloads/index.html

Install kvclient-1.2.123.jar in your local maven repository:

mvn install:install-file -Dfile=kv-1.2.123/lib/kvclient-1.2.123.jar \
-DgroupId=com.oracle -DartifactId=kvclient -Dversion=1.2.123 -Dpackaging=jar

BUILD

Oracle NoSQL Database client can be compiled using target:
Expand Down
56 changes: 56 additions & 0 deletions nosqldb/pom.xml
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ycsb</groupId>
<artifactId>root</artifactId>
<version>0.1.3</version>
</parent>

<artifactId>nosqldb-binding</artifactId>
<name>Oracle NoSQL Database Binding</name>

<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>kvclient</artifactId>
<version>1.2.123</version>
</dependency>
<dependency>
<groupId>org.apache.ycsb</groupId>
<artifactId>core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven.assembly.version}</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>central</id>
<url>file:///Users/michi/.m2/repository</url>
</repository>
</repositories>
</project>
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -59,6 +59,7 @@
<module>jdbc</module>
<module>mapkeeper</module>
<module>mongodb</module>
<!--module>nosqldb</module-->
<module>redis</module>
<module>voldemort</module>
<module>distribution</module>
Expand Down

0 comments on commit 2dfbfb2

Please sign in to comment.