This is an automated email from the ASF dual-hosted git repository.
sk0x50 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new edf04a7 IGNITE-14276 Local maven build runs tests while they are
switched off by skipTests option. Fixes #60
edf04a7 is described below
commit edf04a7e2a00e3b72b074d2f0bc2115aa8497d38
Author: Peter Ivanov <[email protected]>
AuthorDate: Fri Mar 5 15:39:06 2021 +0300
IGNITE-14276 Local maven build runs tests while they are switched off by
skipTests option. Fixes #60
Signed-off-by: Slava Koptilin <[email protected]>
---
parent/pom.xml | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/parent/pom.xml b/parent/pom.xml
index 29cd9e3..3af2fbf 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -251,6 +251,30 @@
</dependencies>
</dependencyManagement>
+ <!--
+ Profile to exclude running surefire (unit) tests but do not prevent
running integration ones
+ -->
+ <profiles>
+ <profile>
+ <activation>
+ <property>
+ <name>skip.surefire.tests</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<build>
<pluginManagement>
<plugins>
@@ -394,7 +418,6 @@
<excludes>
<exclude>**/IT*.java</exclude>
</excludes>
- <skipTests>${skip.surefire.tests}</skipTests>
</configuration>
</plugin>