The client JARs are currently located in the Eventuate maven repository. You need to configure your build tool appropriately.
In gradle.properties
:
eventStoreClientVersion=0.10
In build.gradle
:
repositories {
mavenCentral()
maven { url "http://mavenrepo.eventuate.io/release" }
}
dependencies {
compile "net.chrisrichardson.eventstore.client:eventstore-java-client_2.10:$eventStoreClientVersion"
}
If you want to use the real event store then add this dependency:
dependencies {
compile "net.chrisrichardson.eventstore.client:eventstore-http-stomp-client_2.10:$eventStoreClientVersion"
}
Alternatively, if you want to use the embedded test version then specify this one:
dependencies {
testCompile "net.chrisrichardson.eventstore.client:eventstore-jdbc_2.10:$eventStoreClientVersion"
}
Specify the Eventuate Maven Repository:
<repositories>
<repository>
<id>eventuate-release</id>
<url>http://mavenrepo.eventuate.io/release</url>
</repository>
</repositories>
Specify the client library version:
<properties>
<eventStoreClientVersion>0.10</eventStoreClientVersion>
</properties>
Specify a dependency on the Java Client library:
<dependency>
<groupId>net.chrisrichardson.eventstore.client</groupId>
<artifactId>eventstore-java-client_2.10</artifactId>
<version>${eventStoreClientVersion}</version>
</dependency>
Add dependency on the real event store client library:
<dependency>
<groupId>net.chrisrichardson.eventstore.client</groupId>
<artifactId>eventstore-http-stomp-client_2.10</artifactId>
<version>${eventStoreClientVersion}</version>
</dependency>
Or, on the embedded test event store:
<dependency>
<groupId>net.chrisrichardson.eventstore.client</groupId>
<artifactId>eventstore-jdbc_2.10</artifactId>
<version>${eventStoreClientVersion}</version>
</dependency>