From 234ffc9319ff64dd25ef399ab520643297361375 Mon Sep 17 00:00:00 2001 From: Sutra Zhou Date: Mon, 16 Aug 2021 19:09:42 +0800 Subject: [PATCH] Add coverage report. --- pom.xml | 24 ++++++++++++ weixin4j-coverage/pom.xml | 77 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 weixin4j-coverage/pom.xml diff --git a/pom.xml b/pom.xml index 9467089c..975930c6 100644 --- a/pom.xml +++ b/pom.xml @@ -53,6 +53,7 @@ weixin4j-serverX weixin4j-pay weixin4j-example + weixin4j-coverage 1.6 @@ -82,6 +83,24 @@ file:///${session.executionRootDirectory}/maven-version-rules.xml + + org.jacoco + jacoco-maven-plugin + + + + prepare-agent + + + + report + verify + + report + + + + @@ -160,6 +179,11 @@ findbugs-maven-plugin 3.0.5 + + org.jacoco + jacoco-maven-plugin + 0.8.7 + diff --git a/weixin4j-coverage/pom.xml b/weixin4j-coverage/pom.xml new file mode 100644 index 00000000..9a2af207 --- /dev/null +++ b/weixin4j-coverage/pom.xml @@ -0,0 +1,77 @@ + + + 4.0.0 + + + com.foxinmy + weixin4j + 1.9.2-SNAPSHOT + + + weixin4j-coverage + weixin4j-coverage + pom + Compute aggregated test code coverage. + + + true + + + + + ${project.groupId} + weixin4j-base + ${project.version} + + + ${project.groupId} + weixin4j-mp + ${project.version} + + + ${project.groupId} + weixin4j-qy + ${project.version} + + + ${project.groupId} + weixin4j-wxa + ${project.version} + + + ${project.groupId} + weixin4j-server + ${project.version} + + + ${project.groupId} + weixin4j-serverX + ${project.version} + + + ${project.groupId} + weixin4j-pay + ${project.version} + + + + + + + org.jacoco + jacoco-maven-plugin + + + + report-aggregate + + + + + + + +