From 0187d1ebe5bf5f14db5713b23829b816ec4dce9f 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 49272af40..1b90ebbff 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 c1965ae9d..bd4f742a4 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 300266a85..07c849c78 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