From 3901cf8002977b5008ecf727d9911dd9334e12da Mon Sep 17 00:00:00 2001 From: IanHowell Date: Tue, 3 Apr 2018 11:24:27 -0500 Subject: Update POMS for SONAR code coverage Issue-ID: AAF-128 Change-Id: I3340c9596682d00291414c5ae3e0a4b71d19c228 Signed-off-by: IanHowell --- misc/xgen/pom.xml | 168 +++++++++++++++++++++++++++--------------------------- 1 file changed, 83 insertions(+), 85 deletions(-) (limited to 'misc/xgen/pom.xml') diff --git a/misc/xgen/pom.xml b/misc/xgen/pom.xml index a3bceb10..08b4e1a4 100644 --- a/misc/xgen/pom.xml +++ b/misc/xgen/pom.xml @@ -94,94 +94,92 @@ - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ${nexusproxy} - 176c31dfe190a - ecomp-staging - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.2 - - + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${nexusproxy} + 176c31dfe190a + ecomp-staging + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.2 + + - - org.jacoco - jacoco-maven-plugin - - ${jacocoVersion} - - - - pre-unit-test - none - - - post-unit-test - none - - - pre-integration-test - none - - - post-integration-test - none - - - - portal-prepare-agent - - prepare-agent - - - ${sonar.jacoco.reportPath} - - - - - portal-offline-instrument - - instrument - - - - portal-restore-instrumented-classes - test - - restore-instrumented-classes - - - - portal-post-unit-test - test - - report - - - ${sonar.jacoco.reportPath} - ${project.basedir}/target/site/jacoco - - - - + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + **/gen/** + **/generated-sources/** + **/yang-gen/** + **/pax/** + + + + + 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 + + + + - - org.apache.maven.plugins - maven-surefire-plugin - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - - + + org.apache.maven.plugins + maven-surefire-plugin + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + + -- cgit 1.2.3-korg