Skip to content

Stable Release

Devender Yadav edited this page Jun 1, 2018 · 56 revisions

Note: From release 2.3 onwards, we've stopped uploading Jars with dependencies due to space constraints. You are advised either to download artifacts using maven or build from source.

Latest stable release is: Kundera 3.13

Kundera uses maven as a build tool, so build process is not at all difficult. You can either use Kundera in your maven project or build it from source.

1. Using Kundera with any maven project

Repository Section

All you need to do is to point to the Kundera maven repository as given below (under repositories section in your pom.xml):

 <repository>
    <id>sonatype-nexus</id>
    <name>Kundera Public Repository</name>
    <url>https://oss.sonatype.org/content/repositories/releases</url>
    <releases>
	<enabled>true</enabled>
    </releases>
    <snapshots>
	<enabled>false</enabled>
    </snapshots>
 </repository>

Dependency Section

Add dependency for Kundera (as given below) under dependencies section. Include dependency related to datastore you are using and kundera-core is required in all cases.

 <dependency>
   <groupId>com.impetus.kundera.core</groupId>
   <artifactId>kundera-core</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-cassandra</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-hbase</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-hbase-v2</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-mongo</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-rdbms</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-rest</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-redis</artifactId>
   <version>3.13</version>
 </dependency>
  <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-oracle-nosql</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-neo4j</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-elastic-search</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-couchdb</artifactId>
   <version>3.13</version>
 </dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-spark</artifactId>
   <version>3.13</version>
 </dependency>
<dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-spark-cassandra</artifactId>
   <version>3.13</version>
 </dependency>
<dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-spark-mongodb</artifactId>
   <version>3.13</version>
 </dependency>
<dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-spark-hive</artifactId>
   <version>3.13</version>
 </dependency>
<dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-spark-teradata</artifactId>
   <version>3.13</version>
 </dependency>
<dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-kudu</artifactId>
   <version>3.13</version>
</dependency>
<dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-rethinkdb</artifactId>
   <version>3.13</version>
</dependency>
 <dependency>
   <groupId>com.impetus.kundera.client</groupId>
   <artifactId>kundera-ethereum</artifactId>
   <version>3.13</version>
 </dependency>

2. Build From Source

Kundera is a maven based project and it contains following modules:

  • jpa-engine
    • core
    • fallback-impl
  • kundera-cassandra
    • cassandra-core
    • cassandra-pelops
    • cassandra-ds-driver
  • kundera-hbase
    • kundera-hbase
    • kundera-hbase-v2
  • kundera-mongo
  • kundera-redis
  • kundera-oracle-nosql
  • kundera-neo4j
  • kundera-elastic-search
  • kundera-couchdb
  • kundera-kudu
  • kundera-rethinkdb
  • kundera-ethereum
  • kundera-spark
    • kundera-spark-cassandra
    • kundera-spark-mongo
    • kundera-spark-hive
    • kundera-spark-teradata
  • kundera-rest
  • kundera-tests

Setup Git

git config --global user.name "Your user name"
git config --global user.email "You email ID registered with Github"

Checkout and build

git init
git remote add origin [email protected]:<your github user ID>/Kundera.git
git clone [email protected]:impetus-opensource/Kundera.git
(OR using https: git clone https://github.com/impetus-opensource/Kundera)
cd Kundera
git checkout trunk (Change "trunk" to the other branch, in case want to build any tag version)
mvn clean install/mvn clean install -DskipTests (For skipping test cases because they will fail if the server is not running)
mvn eclipse:clean eclipse:eclipse (generate eclipse project)

Building Specific Module

To build a specific module, you need to execute mvn clean install -P{moduleName}. Available profiles are:

  • cassandra
  • hbase
  • mongo
  • rdbms
  • redis
  • oracle-nosql
  • neo4j
  • couchdb
  • kudu
  • rethinkdb
  • elastic-search
  • spark
  • ethereum

For example to build HBase, you need to execute:

mvn clean install -Phbase

<<< Back to Releases

Home

Clone this wiki locally