From e5f7f4db8bd4b14af0ce2f220872c88973489d98 Mon Sep 17 00:00:00 2001 From: "Forsyth, James (jf2512)" Date: Fri, 14 Feb 2020 15:46:08 -0500 Subject: [PATCH] Update for sonarcloud.io Issue-ID: AAI-2793 Signed-off-by: Forsyth, James (jf2512) Change-Id: I42c7e869a12651ca09a9631ae928af4f9a3065ce --- pom.xml | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 159 insertions(+), 34 deletions(-) diff --git a/pom.xml b/pom.xml index d318d99..dd06c26 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ org.onap.oparent oparent - 2.0.0 + 2.1.0 @@ -49,8 +49,19 @@ 1.8 onap/aai_schema ${project.build.directory}/aai-schema - ${project.build.directory}/code-coverage + + + + + 0.90 + 0.8.5 + 3.2 + jacoco + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + 3.7.0.1746 0.28.0 @@ -68,7 +79,7 @@ 2.1 0.13.2 org.onap.aai.schema-service - 1.6.0 + 1.6.3 1.2.1 1.3.0 1.6 @@ -491,39 +502,153 @@ client + + + + - org.jacoco - jacoco-maven-plugin - - - org/onap/aai/babel/xml/generator/xsd/* - - - - - default-check - - check - - - ${jacoco.report.directory}/jacoco-ut.exec - - - - BUNDLE - - - LINE - COVEREDRATIO - ${jacoco.line.coverage.limit} - - - - - - - + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + **/gen/** + **/generated-sources/** + **/yang-gen/** + **/pax/** + org/onap/aai/babel/xml/generator/xsd/* + + + + + + pre-unit-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + surefireArgLine + + + + + post-unit-test + test + + report + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + ${project.reporting.outputDirectory}/jacoco-ut + + + + pre-integration-test + pre-integration-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + failsafeArgLine + + + + + post-integration-test + post-integration-test + + report + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + ${project.reporting.outputDirectory}/jacoco-it + + + + default-check + + check + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + + BUNDLE + + + LINE + COVEREDRATIO + ${jacoco.line.coverage.limit} + + + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M4 + + + ${surefireArgLine} + + + **/IT*.java + + + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.0.0-M4 + + + + integration-tests + + integration-test + verify + + + + ${failsafeArgLine} + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar.scanner.version} + -- 2.16.6