From f35513bbff23617bd896f261bdc4b92806cfd353 Mon Sep 17 00:00:00 2001 From: Peter Clarke Date: Thu, 30 May 2024 23:31:41 +0100 Subject: [PATCH] Updated Pom file to use failsafe to run Integration Tests (They are still disabled by default) --- nifi-iotics-hostservice/pom.xml | 1 + nifi-iotics-nar/pom.xml | 1 + nifi-iotics-processors/pom.xml | 29 ++++++++++++++++++++++++ pom.xml | 40 ++++++++++++++++++++++++++++++++- 4 files changed, 70 insertions(+), 1 deletion(-) diff --git a/nifi-iotics-hostservice/pom.xml b/nifi-iotics-hostservice/pom.xml index 2386705..3f05433 100644 --- a/nifi-iotics-hostservice/pom.xml +++ b/nifi-iotics-hostservice/pom.xml @@ -21,6 +21,7 @@ smartrics.iotics.nifi nifi-iotics 1.1-SNAPSHOT + .. nifi-iotics-hostservice diff --git a/nifi-iotics-nar/pom.xml b/nifi-iotics-nar/pom.xml index f6a1178..6881459 100644 --- a/nifi-iotics-nar/pom.xml +++ b/nifi-iotics-nar/pom.xml @@ -20,6 +20,7 @@ smartrics.iotics.nifi nifi-iotics 1.1-SNAPSHOT + .. nifi-iotics-nar diff --git a/nifi-iotics-processors/pom.xml b/nifi-iotics-processors/pom.xml index 3d0669f..26f33cd 100644 --- a/nifi-iotics-processors/pom.xml +++ b/nifi-iotics-processors/pom.xml @@ -21,6 +21,7 @@ smartrics.iotics.nifi nifi-iotics 1.1-SNAPSHOT + .. nifi-iotics-processors @@ -33,6 +34,34 @@ 3.2.5 + + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.2.5 + + + org.codehaus.mojo + build-helper-maven-plugin + 3.6.0 + + + add-integration-test-source-as-test-sources + generate-test-sources + + add-test-source + + + + src/integration/java + + + + + + + org.apache.nifi diff --git a/pom.xml b/pom.xml index b4ab5e8..e07675c 100644 --- a/pom.xml +++ b/pom.xml @@ -32,6 +32,7 @@ UTF-8 2.10.1 33.1.0-android + true @@ -75,7 +76,27 @@ false - + + org.codehaus.mojo + build-helper-maven-plugin + 3.6.0 + + + add-integration-test-source-as-test-sources + generate-test-sources + + add-test-source + + + + src/integrationTest/java + + + + + + + @@ -99,6 +120,23 @@ true + + org.apache.maven.plugins + maven-failsafe-plugin + 3.2.5 + + + + integration-test + verify + + + + + src/integration/java + ${skipITs} + +