From 354730883ca3a9f48bfc75e7a19978dc8d263217 Mon Sep 17 00:00:00 2001 From: "martin.siverback@combitech.com" Date: Fri, 18 Aug 2023 13:21:41 +0200 Subject: [PATCH] added Jacoco to pom.xml in Java --- Java/pom.xml | 98 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 60 insertions(+), 38 deletions(-) diff --git a/Java/pom.xml b/Java/pom.xml index 3bd6aff8..7557bea4 100644 --- a/Java/pom.xml +++ b/Java/pom.xml @@ -1,46 +1,68 @@ + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - 4.0.0 + 4.0.0 - com.gildedrose - gilded-rose-kata - 0.0.1-SNAPSHOT + com.gildedrose + gilded-rose-kata + 0.0.1-SNAPSHOT - - 1.8 - 5.8.2 - 3.1 - 3.0.0-M4 - UTF-8 - + + 1.8 + 5.8.2 + 3.1 + 3.0.0-M4 + UTF-8 + - - - org.junit.jupiter - junit-jupiter - ${junit.jupiter.version} - test - - - - - - - maven-compiler-plugin - ${maven.maven-compiler-plugin.version} - - ${java.version} - ${java.version} - - - - maven-surefire-plugin - ${maven.maven-surefire-plugin.version} - - - + + + org.junit.jupiter + junit-jupiter + ${junit.jupiter.version} + test + + + org.jacoco + jacoco-maven-plugin + 0.8.10 + + + + + + org.jacoco + jacoco-maven-plugin + 0.8.10 + + + + prepare-agent + + + + report + test + + report + + + + + + maven-compiler-plugin + ${maven.maven-compiler-plugin.version} + + ${java.version} + ${java.version} + + + + maven-surefire-plugin + ${maven.maven-surefire-plugin.version} + + +