forked from taboola/cassandra-unit
-
Notifications
You must be signed in to change notification settings - Fork 0
How to integrate it in your project
Jérémy Sevellec edited this page Oct 15, 2019
·
13 revisions
There are many ways to integrate CassandraUnit in your project
-
If you are using Maven, CassandraUnit releases are available in Maven central repository. So you can just edit your pom.xml and add this test dependency:
<dependency> <groupId>org.cassandraunit</groupId> <artifactId>cassandra-unit</artifactId> <version>3.7.1.1-SNAPSHOT</version> <scope>test</scope> </dependency>
Snapshots are available too by declaring a maven repository with this url : https://oss.sonatype.org/content/repositories/snapshots/
-
You can get jar at this url : Maven repository download
-
You can build it : To build it you need to have an installation of maven version >=2.x You have to :
- Clone the git repository from a tag to get a special version or from master if your want to get on top of it.
- execute at the source home directory (where there is the pom.xml) : mvn package