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 2023/07/07 09:42:03 UTC
[sling-maven-plugin] 01/01: add sleep between install und uninstall
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch bugfix/fix-its-on-windows
in repository https://gitbox.apache.org/repos/asf/sling-maven-plugin.git
commit 28dc11163b6f74d115ee900323d9ee59c482a724
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri Jul 7 11:41:57 2023 +0200
add sleep between install und uninstall
---
src/it/install-file-test/pom.xml | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/src/it/install-file-test/pom.xml b/src/it/install-file-test/pom.xml
index 0ce29b1..967d353 100644
--- a/src/it/install-file-test/pom.xml
+++ b/src/it/install-file-test/pom.xml
@@ -50,6 +50,10 @@
<artifactId>maven-install-plugin</artifactId>
<version>3.0.1</version>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>3.1.0</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -63,7 +67,7 @@
<goals>
<goal>install-file</goal>
</goals>
- <phase>install</phase>
+ <phase>pre-integration-test</phase>
<configuration>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.commons.messaging</artifactId>
@@ -75,10 +79,28 @@
<goals>
<goal>uninstall</goal>
</goals>
- <phase>install</phase>
+ <phase>post-integration-test</phase>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <configuration>
+ <target>
+ <sleep seconds="5" />
+ </target>
+ </configuration>
+ <executions>
+ <execution>
+ <id>sleep-for-a-while</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+</plugin>
</plugins>
</build>