From e5c0a91a71c5176c666ed740debadffe33794bb3 Mon Sep 17 00:00:00 2001 From: Joe Littlejohn <joelittlejohn@gmail.com> Date: Sun, 14 Jul 2013 00:13:32 +0100 Subject: [PATCH] Add auth to test poms & fix plugin version in one place --- src/test/resources/example1/pom.xml | 1 - src/test/resources/example2/pom.xml | 6 +++--- src/test/resources/example3/pom.xml | 4 ++-- src/test/resources/pom.xml | 11 +++++++++++ src/test/resources/randomport/pom.xml | 1 - 5 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/test/resources/example1/pom.xml b/src/test/resources/example1/pom.xml index aceda34..8d418c6 100644 --- a/src/test/resources/example1/pom.xml +++ b/src/test/resources/example1/pom.xml @@ -29,7 +29,6 @@ <plugin> <groupId>com.github.joelittlejohn.embedmongo</groupId> <artifactId>embedmongo-maven-plugin</artifactId> - <version>0.1.9-SNAPSHOT</version> <executions> <execution> <id>start</id> diff --git a/src/test/resources/example2/pom.xml b/src/test/resources/example2/pom.xml index deaf738..c2aa00e 100644 --- a/src/test/resources/example2/pom.xml +++ b/src/test/resources/example2/pom.xml @@ -29,7 +29,6 @@ <plugin> <groupId>com.github.joelittlejohn.embedmongo</groupId> <artifactId>embedmongo-maven-plugin</artifactId> - <version>0.1.9-SNAPSHOT</version> <executions> <execution> <id>start</id> @@ -38,10 +37,11 @@ </goals> <configuration> <port>37017</port> - <version>2.1.1</version> + <version>2.1.1</version> <databaseDirectory>.</databaseDirectory> <logging>file</logging> - <bindIp>127.0.0.1</bindIp> + <bindIp>127.0.0.1</bindIp> + <authEnabled>false</authEnabled> </configuration> </execution> <execution> diff --git a/src/test/resources/example3/pom.xml b/src/test/resources/example3/pom.xml index 0001558..1c9161a 100644 --- a/src/test/resources/example3/pom.xml +++ b/src/test/resources/example3/pom.xml @@ -29,7 +29,6 @@ <plugin> <groupId>com.github.joelittlejohn.embedmongo</groupId> <artifactId>embedmongo-maven-plugin</artifactId> - <version>0.1.9-SNAPSHOT</version> <executions> <execution> <id>start</id> @@ -40,7 +39,8 @@ <port>37017</port> <databaseDirectory>/tmp/mongotest</databaseDirectory> <logging>console</logging> - <version>v2.2.0</version> + <version>v2.2.0</version> + <authEnabled>true</authEnabled> </configuration> </execution> <execution> diff --git a/src/test/resources/pom.xml b/src/test/resources/pom.xml index 21182d8..7a65428 100644 --- a/src/test/resources/pom.xml +++ b/src/test/resources/pom.xml @@ -17,4 +17,15 @@ <module>randomport</module> </modules> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>com.github.joelittlejohn.embedmongo</groupId> + <artifactId>embedmongo-maven-plugin</artifactId> + <version>0.1.10-SNAPSHOT</version> + </plugin> + </plugins> + </pluginManagement> + </build> </project> diff --git a/src/test/resources/randomport/pom.xml b/src/test/resources/randomport/pom.xml index f513b23..b0975eb 100644 --- a/src/test/resources/randomport/pom.xml +++ b/src/test/resources/randomport/pom.xml @@ -30,7 +30,6 @@ <plugin> <groupId>com.github.joelittlejohn.embedmongo</groupId> <artifactId>embedmongo-maven-plugin</artifactId> - <version>0.1.9-SNAPSHOT</version> <executions> <execution> <id>start</id> -- GitLab