From a93c5ac4b0804903d5437afc951fcb8cc5fe16ff Mon Sep 17 00:00:00 2001 From: Amalka Subasinghe Date: Tue, 4 Jul 2023 09:43:34 +0530 Subject: [PATCH] fixed unit tests --- .../pom.xml | 7 +++++++ .../pom.xml | 11 +++++++++++ pom.xml | 13 ++++++++++++- 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/components/extensions/siddhi-extensions/io.entgra.device.mgt.plugins.extension.siddhi.execution.json/pom.xml b/components/extensions/siddhi-extensions/io.entgra.device.mgt.plugins.extension.siddhi.execution.json/pom.xml index 278373665..08b5f5af1 100644 --- a/components/extensions/siddhi-extensions/io.entgra.device.mgt.plugins.extension.siddhi.execution.json/pom.xml +++ b/components/extensions/siddhi-extensions/io.entgra.device.mgt.plugins.extension.siddhi.execution.json/pom.xml @@ -99,12 +99,19 @@ org.apache.maven.plugins maven-surefire-plugin + + --add-opens=java.xml/jdk.xml.internal=ALL-UNNAMED + --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED + file:src/test/resources/log4j.properties src/test/resources/testng.xml + + org.ops4j.pax.logging + diff --git a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/pom.xml b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/pom.xml index 66335e9a7..bc64543e5 100644 --- a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/pom.xml +++ b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/pom.xml @@ -75,12 +75,19 @@ org.apache.maven.plugins maven-surefire-plugin + + --add-opens=java.xml/jdk.xml.internal=ALL-UNNAMED + --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED + file:src/test/resources/log4j.properties src/test/resources/testng.xml + + org.ops4j.pax.logging + @@ -342,4 +349,8 @@ jackson-core-asl + + + true + diff --git a/pom.xml b/pom.xml index 91586ba12..c89775a74 100644 --- a/pom.xml +++ b/pom.xml @@ -1086,7 +1086,7 @@ 6.0.53 2.6.0.wso2v1 1.2.4 - + 2.22.0 @@ -1171,6 +1171,17 @@ --> + + org.apache.maven.plugins + maven-surefire-plugin + ${maven.surefire.plugin.version} + + + ${basedir}/target/coverage-reports/jacoco-ut.exec + + + + org.apache.maven.plugins maven-assembly-plugin