Step 1. Add the JitPack repository to your gradle build file:
repositories {
// ...
maven { url "https://jitpack.io" }
}
Step 2. Add the dependency in the form:
dependencies {
compile 'com.github.ContainerSolutions:minimesos:0.13.0'
}
Step 3. Add a @ClassRule in your tests to start and destroy your Mesos test cluster
@ClassRule
public static final MesosClusterTestRule RULE =
MesosClusterTestRule.fromFile("src/test/resources/testMinimesosFile");
public static final MesosCluster CLUSTER = RULE.getMesosCluster();
Step 1. Add the JitPack repository to your maven POM file:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
Step 2. Add the dependency in the form:
<dependency>
<groupId>com.github.ContainerSolutions</groupId>
<artifactId>minimesos</artifactId>
<version>0.13.0</version>
</dependency>
Step 3. Add a @ClassRule in your tests to start and destroy your Mesos test cluster
@ClassRule
public static final MesosClusterTestRule RULE =
MesosClusterTestRule.fromFile("src/test/resources/testMinimesosFile");
public static final MesosCluster CLUSTER = RULE.getMesosCluster();