summaryrefslogtreecommitdiffstats
path: root/cps-parent/pom.xml
diff options
context:
space:
mode:
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>2020-11-24 11:13:43 +0200
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>2020-12-08 11:01:31 +0200
commit7cca0296e855bbfaff7d14769db2fc76c5c06892 (patch)
tree4758811c99748c082b8496e05263c2c84674e926 /cps-parent/pom.xml
parent0cd5910ca2c949bab95ec73591729c4b7230fdd1 (diff)
Persistence layer testing incl CpsModulePersistenceService testing
Issue-ID: CPS-95 Change-Id: I5eba5f6953f483304ff3864914e7a6c9b2bb3f56 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'cps-parent/pom.xml')
-rw-r--r--cps-parent/pom.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml
index b7b64af3b6..0071360504 100644
--- a/cps-parent/pom.xml
+++ b/cps-parent/pom.xml
@@ -96,6 +96,26 @@
</pluginManagement>
</build>
</profile>
+ <profile>
+ <id>skip-db-tests</id>
+ <activation>
+ <!-- exclude module tests by default till Jenkins is configured to support test containers -->
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>**/spi/impl/*Test.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<dependencyManagement>