From 13cc64d917b48ca76650b672b2b44f74af3585e0 Mon Sep 17 00:00:00 2001 From: Claudio David Gasparini Date: Wed, 2 Dec 2020 18:47:09 +0100 Subject: Solve issue with Sonar Job coverage jobs - Increase coverage need to 20% - use parent parameter surefireArgLine for maven-surefire-plugin - Fix warning platform encoding meanwhile Issue-Id: CPS-122 Signed-off-by: Claudio David Gasparini Change-Id: I569d0b368a6fa25543be7180b46c4905c4772a5d --- cps-parent/pom.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'cps-parent/pom.xml') diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 5aa65a25d..b7b64af3b 100644 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -19,12 +19,12 @@ org.onap.cps.Application openjdk:11-jre-slim 11 - 0.8.6 2.6.0 - 0.15 + 0.20 https://nexus.onap.org https://nexus.onap.org 3.1.0 + UTF-8 /content/repositories/releases/ nexus3.onap.org:10001/onap/cps-service 2.3.3.RELEASE @@ -305,20 +305,21 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M5 - @{argLine} + ${surefireArgLine} false **/*Spec.java **/*Test.java + + **/IT*.java + org.jacoco jacoco-maven-plugin - ${jacoco-maven-plugin.version} default-prepare-agent @@ -332,6 +333,7 @@ check + ${project.build.directory}/code-coverage/jacoco-ut.exec BUNDLE -- cgit 1.2.3-korg