From 210b63fcb43ac2ffa151da511428b6ac3457f167 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Wed, 11 Oct 2023 13:54:47 +0200 Subject: [PATCH] Add failsafe:verify goal as an execution. The failsafe plugin only fails during it's verify goal, not when actually executing the tests. The goal is by default added to the verify phase. But for the database tests this adds it to the integration-test phase. This ensures that the build fail as soon a test for one database fails. Closes #1637 --- pom.xml | 7 ++++++ spring-data-jdbc/pom.xml | 49 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/pom.xml b/pom.xml index 821fdbfb..996a387b 100644 --- a/pom.xml +++ b/pom.xml @@ -290,6 +290,13 @@ + + failsafe-verify + verify + + verify + + diff --git a/spring-data-jdbc/pom.xml b/spring-data-jdbc/pom.xml index abfa09db..2ac75e79 100644 --- a/spring-data-jdbc/pom.xml +++ b/spring-data-jdbc/pom.xml @@ -317,6 +317,13 @@ + + failsafe-verify-h2 + integration-test + + verify + + mysql-test integration-test @@ -333,6 +340,13 @@ + + failsafe-verify-mysql + integration-test + + verify + + postgres-test integration-test @@ -349,6 +363,13 @@ + + failsafe-verify-postgres + integration-test + + verify + + mariadb-test integration-test @@ -365,6 +386,13 @@ + + failsafe-verify-mariadb + integration-test + + verify + + db2-test integration-test @@ -381,6 +409,13 @@ + + failsafe-verify-db2 + integration-test + + verify + + oracle-test integration-test @@ -397,6 +432,13 @@ + + failsafe-verify-oracle + integration-test + + verify + + mssql-test integration-test @@ -413,6 +455,13 @@ + + failsafe-verify-mssql + integration-test + + verify + +