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/env/pom.xml | 181 +++++++++++++++++++++++++------------------------- misc/log4j/pom.xml | 174 ++++++++++++++++++++++++------------------------ misc/pom.xml | 182 +++++++++++++++++++++++++-------------------------- misc/rosetta/pom.xml | 78 +++++++++++----------- misc/xgen/pom.xml | 168 +++++++++++++++++++++++------------------------ 5 files changed, 386 insertions(+), 397 deletions(-) (limited to 'misc') diff --git a/misc/env/pom.xml b/misc/env/pom.xml index 0a8309da..37020365 100644 --- a/misc/env/pom.xml +++ b/misc/env/pom.xml @@ -68,7 +68,7 @@ - + 0.7.6.201602180812 UTF-8 @@ -76,106 +76,103 @@ **/scripts/**/*,**.js **/test/**/*,**/tests/**/* true - + https://nexus.onap.org /content/repositories/snapshots/ /content/repositories/releases/ /content/repositories/staging/ /content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version} - + - - 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.apache.maven.plugins - maven-surefire-plugin - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - - + + 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 + + + - - + + log4j @@ -183,8 +180,8 @@ compile - - + + ecomp-releases diff --git a/misc/log4j/pom.xml b/misc/log4j/pom.xml index 98df9d0d..b7f19602 100644 --- a/misc/log4j/pom.xml +++ b/misc/log4j/pom.xml @@ -68,7 +68,7 @@ - + 0.7.6.201602180812 UTF-8 @@ -76,14 +76,14 @@ **/scripts/**/*,**.js **/test/**/*,**/tests/**/* true - + https://nexus.onap.org /content/repositories/snapshots/ /content/repositories/releases/ /content/repositories/staging/ /content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version} - + org.onap.aaf.authz.misc @@ -104,92 +104,90 @@ - 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.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 + ${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 + + + diff --git a/misc/pom.xml b/misc/pom.xml index d5773146..fc27550f 100644 --- a/misc/pom.xml +++ b/misc/pom.xml @@ -27,8 +27,8 @@ AAF Misc Parent 1.3.0-SNAPSHOT pom - - + + org.onap.oparent oparent 1.1.0 @@ -41,7 +41,7 @@ **/scripts/**/*,**.js **/test/**/*,**/tests/**/* true - + UTF-8 1.5.1 https://nexus.onap.org @@ -51,7 +51,7 @@ /content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version} - + @@ -114,7 +114,7 @@ junit 4.10 test - + @@ -129,7 +129,7 @@ target - + true org.apache.maven.plugins @@ -141,92 +141,90 @@ - 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.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 + ${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 + + + @@ -252,7 +250,7 @@ - + ecomp-releases diff --git a/misc/rosetta/pom.xml b/misc/rosetta/pom.xml index 8178a75b..5bebf561 100644 --- a/misc/rosetta/pom.xml +++ b/misc/rosetta/pom.xml @@ -76,14 +76,14 @@ **/scripts/**/*,**.js **/test/**/*,**/tests/**/* true - + https://nexus.onap.org /content/repositories/snapshots/ /content/repositories/releases/ /content/repositories/staging/ /content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version} - + org.onap.aaf.authz.misc @@ -119,69 +119,67 @@ 176c31dfe190a ecomp-staging - + - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.2 - - + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.2 + + org.jacoco jacoco-maven-plugin - - ${jacocoVersion} + ${jacoco.version} + + + **/gen/** + **/generated-sources/** + **/yang-gen/** + **/pax/** + + - pre-unit-test - none - - - post-unit-test - none - - - pre-integration-test - none - - - post-integration-test - none - - - - portal-prepare-agent prepare-agent - ${sonar.jacoco.reportPath} + ${project.build.directory}/code-coverage/jacoco-ut.exec + surefireArgLine - - portal-offline-instrument + post-unit-test + test - instrument + report + + ${project.build.directory}/code-coverage/jacoco-ut.exec + ${project.reporting.outputDirectory}/jacoco-ut + - portal-restore-instrumented-classes - test + pre-integration-test + pre-integration-test - restore-instrumented-classes + prepare-agent + + ${project.build.directory}/code-coverage/jacoco-it.exec + failsafeArgLine + - portal-post-unit-test - test + post-integration-test + post-integration-test report - ${sonar.jacoco.reportPath} - ${project.basedir}/target/site/jacoco + ${project.build.directory}/code-coverage/jacoco-it.exec + ${project.reporting.outputDirectory}/jacoco-it @@ -216,5 +214,5 @@ dav:${nexusproxy}${sitePath} - + 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