You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2021/12/08 15:08:35 UTC

[sling-org-apache-sling-starter] 01/01: SLING-10984 stop docker container after stopping feature

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch SLING-10984-defer-stopping-docker
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git

commit d9fdb755c2caece577f5d685a9ac27f71820060f
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Dec 8 16:08:20 2021 +0100

    SLING-10984 stop docker container after stopping feature
---
 pom.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 7ee20a8..e959a91 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>
@@ -304,6 +306,7 @@
                             </launcherArguments>
                         </launch>
                     </launches>
+                    <waitForInput>true</waitForInput>
                 </configuration>
                 <executions>
                     <execution>