Skip to content
Snippets Groups Projects
Commit 6f7ad1a8 authored by Joe Littlejohn's avatar Joe Littlejohn
Browse files

Update to flapdoodle API 1.27 (mkdir -p for databaseDirectory)

parent da8e23c2
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,8 @@
<url>http://github.com/joelittlejohn/embedmongo-maven-plugin/tree/master</url>
<connection>scm:git:git@github.com:joelittlejohn/embedmongo-maven-plugin.git</connection>
<developerConnection>scm:git:git@github.com:joelittlejohn/embedmongo-maven-plugin.git</developerConnection>
<tag>HEAD</tag>
</scm>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......@@ -105,7 +105,7 @@
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
<version>1.26</version>
<version>1.27</version>
</dependency>
</dependencies>
......
......@@ -138,7 +138,7 @@ public class StartEmbeddedMongoMojo extends AbstractMojo {
RuntimeConfig config = new RuntimeConfig();
config.setProcessOutput(getOutputConfig());
executable = MongodStarter.getInstance(config).prepare(new MongodConfig(getVersion(), bindIp, port, Network.localhostIsIPv6(), getDataDirectory()));
executable = MongodStarter.getInstance(config).prepare(new MongodConfig(getVersion(), bindIp, port, Network.localhostIsIPv6(), getDataDirectory(), null, 0));
} catch (UnknownHostException e) {
throw new MojoExecutionException("Unable to determine if localhost is ipv6", e);
} catch (DistributionException e) {
......
......@@ -23,7 +23,7 @@
<plugin>
<groupId>com.github.joelittlejohn.embedmongo</groupId>
<artifactId>embedmongo-maven-plugin</artifactId>
<version>0.1.4-SNAPSHOT</version>
<version>0.1.5-SNAPSHOT</version>
<executions>
<execution>
<id>start</id>
......@@ -32,7 +32,6 @@
</goals>
<configuration>
<port>37017</port>
<version>2.0.8</version>
<databaseDirectory>/tmp/mongotest</databaseDirectory>
<logging>file</logging>
</configuration>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment