Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gh-66 move nosqldb to maven

  • Loading branch information...
commit 2dfbfb2c6872d13728a03443e9308979f49bf177 1 parent 6e17130
m1ch1 authored
View
1  distribution/src/main/bin/ycsb
@@ -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",
}
View
11 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:
View
56 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>
View
0  db/nosqldb/nosqldb.properties → nosqldb/src/main/conf/nosqldb.properties
File renamed without changes
View
0  db/nosqldb/script.txt → nosqldb/src/main/conf/script.txt
File renamed without changes
View
0  .../src/com/yahoo/ycsb/db/NoSqlDbClient.java → ...java/com/yahoo/ycsb/db/NoSqlDbClient.java
File renamed without changes
View
1  pom.xml
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.