From eb32b2eb2b50883c5cb1a7d6286e1058cbeb24a2 Mon Sep 17 00:00:00 2001 From: Marat Gumarov Date: Fri, 6 May 2022 10:03:09 +0300 Subject: [PATCH] Configure jacoco reports to sonar (#1925) * issues/1537. Added jacoco reports to sonar * issues/1537. fixed sonar property * issues/1537. fixed jacoco.xml path --- kafka-ui-api/pom.xml | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/kafka-ui-api/pom.xml b/kafka-ui-api/pom.xml index 4011d23457..e2b6ceddb9 100644 --- a/kafka-ui-api/pom.xml +++ b/kafka-ui-api/pom.xml @@ -1,6 +1,7 @@ + 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"> kafka-ui com.provectus @@ -10,6 +11,15 @@ kafka-ui-api + + 0.8.8 + jacoco + reuseReports + ${project.basedir}/target/jacoco.exec + ${project.basedir}/target/site/jacoco/jacoco.xml + java + + @@ -37,7 +47,7 @@ org.springframework.boot - spring-boot-starter-oauth2-client + spring-boot-starter-oauth2-client com.provectus @@ -255,8 +265,7 @@ maven-surefire-plugin ${maven-surefire-plugin.version} - --illegal-access=permit - + @{argLine} --illegal-access=permit @@ -304,6 +313,30 @@ + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + prepare-agent + + prepare-agent + + + + report + + report + + + + XML + + + + +