# Maven project setup for cassandra

**URL:** https://forum.yugabyte.com/t/maven-project-setup-for-cassandra/437
**Category:** General
**Created:** [July 10, 2019, 9:02pm UTC](https://forum.yugabyte.com/t/maven-project-setup-for-cassandra/437 "2019-07-10T21:02:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sherwin\_Pinto](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/sherwin_pinto/32/101_2.png) [@Sherwin\_Pinto](https://forum.yugabyte.com/u/Sherwin_Pinto)
#### Post date: [July 10, 2019, 9:02pm UTC](https://forum.yugabyte.com/t/maven-project-setup-for-cassandra/437/1 "2019-07-10T21:02:53Z")

</div>

Which maven project do you’ll recommend for cassandra spring is it

 org.springframework.boot spring-boot-starter-data-cassandra 2.1.6.RELEASE

or

 com.yugabyte cassandra-driver-core 3.2.0-yb-12

---

<div class="post-metadata">

### Author: ![karthik](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/karthik/32/13_2.png) [@karthik](https://forum.yugabyte.com/u/karthik)
#### Post date: [July 12, 2019, 5:11am UTC](https://forum.yugabyte.com/t/maven-project-setup-for-cassandra/437/2 "2019-07-12T05:11:26Z")

</div>

@amey is the resident expert in the Spring area… he can answer this.

---

<div class="post-metadata">

### Author: ![ameybanarse](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@ameybanarse](https://forum.yugabyte.com/u/ameybanarse)
#### Post date: [July 12, 2019, 2:23pm UTC](https://forum.yugabyte.com/t/maven-project-setup-for-cassandra/437/3 "2019-07-12T14:23:55Z")

</div>

Hey @Sherwin_Pinto,

You can start with spring-boot-starter-parent 2.0.4.RELEASE and then include these following dependencies for starter-data-cassandra and YB-driver. We have these available in a working Spring microservices project at [https://github.com/YugaByte/yugastore-java/blob/master/products-microservice/pom.xml](https://github.com/YugaByte/yugastore-java/blob/master/products-microservice/pom.xml)

Dependencies -

```
<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-data-cassandra</artifactId>
			<exclusions>
				<exclusion>
					<groupId>com.datastax.cassandra</groupId>
   					<artifactId>cassandra-driver-core</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
		  <groupId>com.yugabyte</groupId>
		  <artifactId>cassandra-driver-core</artifactId>
		  <version>3.2.0-yb-18</version>
		</dependency>

```
