SLING-10984 stop docker container after stopping feature (#39)
diff --git a/pom.xml b/pom.xml
index 7ee20a8..44b93e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -248,6 +248,7 @@
<executions>
<execution>
<id>start-mongo</id>
+ <!-- must run prior feature-launcher-maven-plugin:start -->
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
@@ -255,7 +256,8 @@
</execution>
<execution>
<id>stop-mongo</id>
- <phase>post-integration-test</phase>
+ <!-- must run after feature-launcher-maven-plugin:stop -->
+ <phase>verify</phase>
<goals>
<goal>stop</goal>
</goals>