From 7a38ec7ca89693bb83c939ecc5eb5bb455e69b76 Mon Sep 17 00:00:00 2001
From: asekawa <40081059+asekawa@users.noreply.github.com>
Date: Sun, 18 Aug 2024 16:45:52 +0530
Subject: [PATCH 1/4] [Automated]Add Codecov configuration
---
codecov.yml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 codecov.yml
diff --git a/codecov.yml b/codecov.yml
new file mode 100644
index 000000000..9571a5f2a
--- /dev/null
+++ b/codecov.yml
@@ -0,0 +1,16 @@
+
+codecov:
+ require_ci_to_pass: yes
+ notify:
+ wait_for_ci: yes
+coverage:
+ status:
+ project:
+ default:
+ enabled: yes
+ threshold: null
+ target: auto
+ patch:
+ default:
+ target: 80%
+ threshold: 40%
From 9fa80c0fb77e2f5c4a1357d72612f5e6151ef6d6 Mon Sep 17 00:00:00 2001
From: asekawa <40081059+asekawa@users.noreply.github.com>
Date: Sun, 18 Aug 2024 16:45:54 +0530
Subject: [PATCH 2/4] Update PR builder with Codecov steps
---
.github/workflows/pr-builder.yml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/.github/workflows/pr-builder.yml b/.github/workflows/pr-builder.yml
index e8ad1b76e..eb9dea204 100644
--- a/.github/workflows/pr-builder.yml
+++ b/.github/workflows/pr-builder.yml
@@ -43,3 +43,11 @@ jobs:
- name: Build with Maven
run: mvn clean install -U -B
+ - name: Generate coverage report
+ run: mvn test jacoco:report
+
+ - name: Upload coverage reports to Codecov
+ uses: codecov/codecov-action@v4
+ with:
+ token: ${{ secrets.CODECOV_TOKEN }}
+ files : target/site/jacoco/jacoco.xml
From df0e0b494c79a4197086b423bef80e380089de77 Mon Sep 17 00:00:00 2001
From: asekawa <40081059+asekawa@users.noreply.github.com>
Date: Sun, 18 Aug 2024 16:45:57 +0530
Subject: [PATCH 3/4] Update root pom.xml with JaCoCo configuration
---
pom.xml | 47 ++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 46 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index ff1a60e35..42b215ea9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -339,6 +339,11 @@
org.wso2.carbon.identity.user.onboard.core.service
${identity.governance.version}
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
@@ -404,7 +409,26 @@
findsecbugs-plugin
${findsecbugs-plugin.version}
-
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
+
@@ -423,6 +447,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -491,6 +534,8 @@
2.6.0.wso2v1
findbugs-exclude-filter.xml
1.0.13
+
+ 0.8.12
From 8e52f93b1be6c26bf8505a9512d0935e64a26fb6 Mon Sep 17 00:00:00 2001
From: asekawa
Date: Sun, 18 Aug 2024 16:53:40 +0530
Subject: [PATCH 4/4] Update all component pom.xml files with JaCoCo
configuration
---
.../pom.xml | 5 ++
.../pom.xml | 33 +++++++++-
.../pom.xml | 24 +++++++
.../pom.xml | 24 +++++++
.../pom.xml | 33 +++++++++-
.../pom.xml | 5 ++
.../pom.xml | 24 +++++++
.../pom.xml | 24 +++++++
.../pom.xml | 24 +++++++
.../pom.xml | 24 +++++++
.../pom.xml | 5 ++
.../pom.xml | 31 ++++++++-
.../pom.xml | 24 +++++++
.../pom.xml | 35 +++++++++-
.../pom.xml | 5 ++
.../pom.xml | 24 +++++++
.../pom.xml | 24 +++++++
.../pom.xml | 33 +++++++++-
.../pom.xml | 5 ++
.../pom.xml | 31 ++++++++-
.../pom.xml | 24 +++++++
.../pom.xml | 31 ++++++++-
.../pom.xml | 31 ++++++++-
.../pom.xml | 5 ++
.../pom.xml | 24 +++++++
.../pom.xml | 24 +++++++
.../pom.xml | 24 +++++++
pom.xml | 64 ++++++++++++++++++-
28 files changed, 650 insertions(+), 14 deletions(-)
diff --git a/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.api.user.application.common/pom.xml b/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.api.user.application.common/pom.xml
index 19d474f38..12dfa1e4b 100644
--- a/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.api.user.application.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.api.user.application.common/pom.xml
@@ -38,5 +38,10 @@
org.wso2.carbon.identity.application.mgt
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.rest.api.user.application.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.rest.api.user.application.v1/pom.xml
index 3c17e0664..aedffbe98 100644
--- a/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.rest.api.user.application.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.application/org.wso2.carbon.identity.rest.api.user.application.v1/pom.xml
@@ -75,7 +75,12 @@
-
+
org.codehaus.mojo
@@ -96,6 +101,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -180,5 +204,10 @@
org.wso2.carbon.identity.core
provided
-
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
diff --git a/components/org.wso2.carbon.identity.api.user.association/org.wso2.carbon.identity.api.user.association.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.association/org.wso2.carbon.identity.api.user.association.v1/pom.xml
index 2f4719941..741dd5100 100644
--- a/components/org.wso2.carbon.identity.api.user.association/org.wso2.carbon.identity.api.user.association.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.association/org.wso2.carbon.identity.api.user.association.v1/pom.xml
@@ -52,6 +52,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -130,6 +149,11 @@
org.wso2.carbon
org.wso2.carbon.user.core
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.authorized.apps/org.wso2.carbon.identity.rest.api.user.authorized.apps.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.authorized.apps/org.wso2.carbon.identity.rest.api.user.authorized.apps.v1/pom.xml
index a0517be5d..2ca651957 100644
--- a/components/org.wso2.carbon.identity.api.user.authorized.apps/org.wso2.carbon.identity.rest.api.user.authorized.apps.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.authorized.apps/org.wso2.carbon.identity.rest.api.user.authorized.apps.v1/pom.xml
@@ -65,6 +65,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -146,5 +165,10 @@
testng
test
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.authorized.apps/org.wso2.carbon.identity.rest.api.user.authorized.apps.v2/pom.xml b/components/org.wso2.carbon.identity.api.user.authorized.apps/org.wso2.carbon.identity.rest.api.user.authorized.apps.v2/pom.xml
index f347485f1..b2d5bf7ee 100644
--- a/components/org.wso2.carbon.identity.api.user.authorized.apps/org.wso2.carbon.identity.rest.api.user.authorized.apps.v2/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.authorized.apps/org.wso2.carbon.identity.rest.api.user.authorized.apps.v2/pom.xml
@@ -68,7 +68,12 @@
-
+
org.codehaus.mojo
@@ -89,6 +94,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -186,5 +210,10 @@
testng
test
-
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
diff --git a/components/org.wso2.carbon.identity.api.user.backupcode/org.wso2.carbon.identity.api.user.backupcode.common/pom.xml b/components/org.wso2.carbon.identity.api.user.backupcode/org.wso2.carbon.identity.api.user.backupcode.common/pom.xml
index 0c9ad9559..392ca6205 100644
--- a/components/org.wso2.carbon.identity.api.user.backupcode/org.wso2.carbon.identity.api.user.backupcode.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.backupcode/org.wso2.carbon.identity.api.user.backupcode.common/pom.xml
@@ -38,5 +38,10 @@
spring-web
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.backupcode/org.wso2.carbon.identity.api.user.backupcode.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.backupcode/org.wso2.carbon.identity.api.user.backupcode.v1/pom.xml
index 8235a3c30..1ada69147 100644
--- a/components/org.wso2.carbon.identity.api.user.backupcode/org.wso2.carbon.identity.api.user.backupcode.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.backupcode/org.wso2.carbon.identity.api.user.backupcode.v1/pom.xml
@@ -70,6 +70,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -155,5 +174,10 @@
org.wso2.carbon.extension.identity.authenticator.outbound.backupcode
org.wso2.carbon.extension.identity.authenticator.backupcode.connector
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.common/pom.xml b/components/org.wso2.carbon.identity.api.user.common/pom.xml
index 626a30d01..f89a2e91c 100644
--- a/components/org.wso2.carbon.identity.api.user.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.common/pom.xml
@@ -38,6 +38,25 @@
1.8
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -116,5 +135,10 @@
commons-lang.wso2
commons-lang
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.fido2/org.wso2.carbon.identity.api.user.fido2.common/pom.xml b/components/org.wso2.carbon.identity.api.user.fido2/org.wso2.carbon.identity.api.user.fido2.common/pom.xml
index 7cbc3221d..af5908843 100644
--- a/components/org.wso2.carbon.identity.api.user.fido2/org.wso2.carbon.identity.api.user.fido2.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.fido2/org.wso2.carbon.identity.api.user.fido2.common/pom.xml
@@ -22,6 +22,25 @@
1.8
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -87,5 +106,10 @@
provided
${project.version}
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.fido2/org.wso2.carbon.identity.api.user.fido2.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.fido2/org.wso2.carbon.identity.api.user.fido2.v1/pom.xml
index 934ba3639..000cb1674 100644
--- a/components/org.wso2.carbon.identity.api.user.fido2/org.wso2.carbon.identity.api.user.fido2.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.fido2/org.wso2.carbon.identity.api.user.fido2.v1/pom.xml
@@ -68,6 +68,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -145,6 +164,11 @@
provided
${project.version}
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.functionality/org.wso2.carbon.identity.api.user.functionality.common/pom.xml b/components/org.wso2.carbon.identity.api.user.functionality/org.wso2.carbon.identity.api.user.functionality.common/pom.xml
index 560b914c3..3b16336ad 100644
--- a/components/org.wso2.carbon.identity.api.user.functionality/org.wso2.carbon.identity.api.user.functionality.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.functionality/org.wso2.carbon.identity.api.user.functionality.common/pom.xml
@@ -38,5 +38,10 @@
org.wso2.carbon.identity.user.functionality.mgt
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.functionality/org.wso2.carbon.identity.rest.api.user.functionality.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.functionality/org.wso2.carbon.identity.rest.api.user.functionality.v1/pom.xml
index 1b0cdb7c8..01733585e 100644
--- a/components/org.wso2.carbon.identity.api.user.functionality/org.wso2.carbon.identity.rest.api.user.functionality.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.functionality/org.wso2.carbon.identity.rest.api.user.functionality.v1/pom.xml
@@ -100,6 +100,11 @@
org.wso2.carbon.identity.api.user.functionality.common
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
@@ -144,7 +149,12 @@
-
+
org.codehaus.mojo
@@ -165,6 +175,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
diff --git a/components/org.wso2.carbon.identity.api.user.idv/org.wso2.carbon.identity.api.user.idv.common/pom.xml b/components/org.wso2.carbon.identity.api.user.idv/org.wso2.carbon.identity.api.user.idv.common/pom.xml
index f1c22ad44..a8e586f91 100644
--- a/components/org.wso2.carbon.identity.api.user.idv/org.wso2.carbon.identity.api.user.idv.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.idv/org.wso2.carbon.identity.api.user.idv.common/pom.xml
@@ -57,6 +57,11 @@
org.wso2.carbon.extension.identity.verification
org.wso2.carbon.extension.identity.verification.mgt
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
@@ -70,6 +75,25 @@
1.8
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
diff --git a/components/org.wso2.carbon.identity.api.user.idv/org.wso2.carbon.identity.api.user.idv.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.idv/org.wso2.carbon.identity.api.user.idv.v1/pom.xml
index f0388e26d..9221e317d 100644
--- a/components/org.wso2.carbon.identity.api.user.idv/org.wso2.carbon.identity.api.user.idv.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.idv/org.wso2.carbon.identity.api.user.idv.v1/pom.xml
@@ -112,7 +112,12 @@
org.wso2.carbon.identity.api.user.idv.common
provided
-
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
@@ -147,7 +152,12 @@
-
+
org.codehaus.mojo
@@ -177,6 +187,25 @@
1.8
-
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
+
diff --git a/components/org.wso2.carbon.identity.api.user.mfa/org.wso2.carbon.identity.api.user.mfa.common/pom.xml b/components/org.wso2.carbon.identity.api.user.mfa/org.wso2.carbon.identity.api.user.mfa.common/pom.xml
index a3bc16197..d083ec65a 100644
--- a/components/org.wso2.carbon.identity.api.user.mfa/org.wso2.carbon.identity.api.user.mfa.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.mfa/org.wso2.carbon.identity.api.user.mfa.common/pom.xml
@@ -38,5 +38,10 @@
spring-web
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.mfa/org.wso2.carbon.identity.api.user.mfa.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.mfa/org.wso2.carbon.identity.api.user.mfa.v1/pom.xml
index 2acdcf9f7..8c4eb3fac 100644
--- a/components/org.wso2.carbon.identity.api.user.mfa/org.wso2.carbon.identity.api.user.mfa.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.mfa/org.wso2.carbon.identity.api.user.mfa.v1/pom.xml
@@ -70,6 +70,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -152,5 +171,10 @@
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.onboard/org.wso2.carbon.identity.api.user.onboard.common/pom.xml b/components/org.wso2.carbon.identity.api.user.onboard/org.wso2.carbon.identity.api.user.onboard.common/pom.xml
index 4477fa00c..67aa31913 100644
--- a/components/org.wso2.carbon.identity.api.user.onboard/org.wso2.carbon.identity.api.user.onboard.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.onboard/org.wso2.carbon.identity.api.user.onboard.common/pom.xml
@@ -107,6 +107,11 @@
org.wso2.carbon.utils
compile
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
@@ -139,6 +144,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
diff --git a/components/org.wso2.carbon.identity.api.user.onboard/org.wso2.carbon.identity.api.user.onboard.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.onboard/org.wso2.carbon.identity.api.user.onboard.v1/pom.xml
index 98a695fc6..a278ac0aa 100644
--- a/components/org.wso2.carbon.identity.api.user.onboard/org.wso2.carbon.identity.api.user.onboard.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.onboard/org.wso2.carbon.identity.api.user.onboard.v1/pom.xml
@@ -73,7 +73,12 @@
-
+
org.codehaus.mojo
@@ -94,6 +99,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -193,5 +217,10 @@
org.wso2.carbon.identity.api.user.onboard.common
provided
-
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
diff --git a/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/pom.xml b/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/pom.xml
index c4fb6cafb..8d232a81d 100644
--- a/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.api.user.organization.common/pom.xml
@@ -49,5 +49,10 @@
org.wso2.carbon.identity.application.mgt
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.rest.api.user.organization.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.rest.api.user.organization.v1/pom.xml
index 944099267..ffde163ab 100644
--- a/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.rest.api.user.organization.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.organization/org.wso2.carbon.identity.rest.api.user.organization.v1/pom.xml
@@ -127,6 +127,11 @@
org.wso2.carbon.identity.api.user.common
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
@@ -171,7 +176,12 @@
cxf-wso2-openapi-generator
1.0.0
-
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
-->
org.codehaus.mojo
@@ -192,6 +202,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
diff --git a/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.api.user.recovery.commons/pom.xml b/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.api.user.recovery.commons/pom.xml
index e8966e2ca..e9d20101e 100644
--- a/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.api.user.recovery.commons/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.api.user.recovery.commons/pom.xml
@@ -36,6 +36,25 @@
1.8
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -56,5 +75,10 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v1/pom.xml
index 4474125a0..fe4db3c25 100644
--- a/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v1/pom.xml
@@ -69,6 +69,11 @@
org.openapitools
cxf-wso2-openapi-generator
1.0.0
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
-->
@@ -91,6 +96,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -182,5 +206,10 @@
org.wso2.carbon.identity.api.user.recovery.commons
provided
-
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
diff --git a/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v2/pom.xml b/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v2/pom.xml
index 5b3e53223..c9aebb6a5 100644
--- a/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v2/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.recovery/org.wso2.carbon.identity.rest.api.user.recovery.v2/pom.xml
@@ -72,6 +72,11 @@
org.openapitools
cxf-wso2-openapi-generator
1.0.0
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
-->
@@ -94,6 +99,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -185,5 +209,10 @@
org.wso2.carbon.identity.api.user.recovery.commons
provided
-
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
diff --git a/components/org.wso2.carbon.identity.api.user.session/org.wso2.carbon.identity.api.user.session.common/pom.xml b/components/org.wso2.carbon.identity.api.user.session/org.wso2.carbon.identity.api.user.session.common/pom.xml
index 09928f33f..8de84a515 100644
--- a/components/org.wso2.carbon.identity.api.user.session/org.wso2.carbon.identity.api.user.session.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.session/org.wso2.carbon.identity.api.user.session.common/pom.xml
@@ -37,5 +37,10 @@
spring-web
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.session/org.wso2.carbon.identity.api.user.session.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.session/org.wso2.carbon.identity.api.user.session.v1/pom.xml
index 3321c00d8..a22785a9a 100644
--- a/components/org.wso2.carbon.identity.api.user.session/org.wso2.carbon.identity.api.user.session.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.session/org.wso2.carbon.identity.api.user.session.v1/pom.xml
@@ -70,6 +70,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -156,5 +175,10 @@
testng
test
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.totp/org.wso2.carbon.identity.api.user.totp.common/pom.xml b/components/org.wso2.carbon.identity.api.user.totp/org.wso2.carbon.identity.api.user.totp.common/pom.xml
index b602f04b8..845cbbfb7 100644
--- a/components/org.wso2.carbon.identity.api.user.totp/org.wso2.carbon.identity.api.user.totp.common/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.totp/org.wso2.carbon.identity.api.user.totp.common/pom.xml
@@ -60,6 +60,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -124,6 +143,11 @@
org.wso2.carbon.extension.identity.authenticator.totp.connector
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/components/org.wso2.carbon.identity.api.user.totp/org.wso2.carbon.identity.api.user.totp.v1/pom.xml b/components/org.wso2.carbon.identity.api.user.totp/org.wso2.carbon.identity.api.user.totp.v1/pom.xml
index 30b6f3ceb..a0a2970d3 100644
--- a/components/org.wso2.carbon.identity.api.user.totp/org.wso2.carbon.identity.api.user.totp.v1/pom.xml
+++ b/components/org.wso2.carbon.identity.api.user.totp/org.wso2.carbon.identity.api.user.totp.v1/pom.xml
@@ -68,6 +68,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -148,6 +167,11 @@
${project.version}
provided
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
diff --git a/pom.xml b/pom.xml
index 42b215ea9..ad75a9aae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -344,6 +344,11 @@
jacoco-maven-plugin
${jacoco.version}
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
@@ -428,6 +433,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -466,6 +490,25 @@
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
@@ -497,7 +540,26 @@
org.codehaus.mojo
buildnumber-maven-plugin
-
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
+