From ead6d7b5d263d58d6d2346133eb26dace5ab7022 Mon Sep 17 00:00:00 2001 From: lidongdai Date: Fri, 23 Aug 2019 17:04:54 +0800 Subject: [PATCH] add embedded h2 db add jacoco report plugin for jenkins --- pom.xml | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a97650aafb..1439cce2a7 100644 --- a/pom.xml +++ b/pom.xml @@ -111,8 +111,14 @@ org.springframework spring-test ${spring.version} + test + + + com.h2database + h2 + 1.3.163 + test - cn.analysys @@ -440,8 +446,34 @@ **/*Test*.java - true + + + + + + + org.jacoco + jacoco-maven-plugin + 0.8.4 + + target/jacoco.exec + target/jacoco.exec + + + jacoco-initialize + + prepare-agent + + + + jacoco-site + test + + report + + +