From: Dan Timoney Date: Fri, 17 Jan 2020 14:54:02 +0000 (-0500) Subject: Update sonar config for sonarcloud X-Git-Tag: 1.5.1~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=621888e708275d68f45946afbbdc1c7e4db64dde;p=ccsdk%2Fparent.git Update sonar config for sonarcloud Update sonar and jacoco config for latest sonar scan version, compatible with sonarcloud Change-Id: I4660a685742675f0b7fd6c762b631a66ca4a244c Issue-ID: CCSDK-2029 Signed-off-by: Dan Timoney --- diff --git a/odlparent/binding-parent/pom.xml b/odlparent/binding-parent/pom.xml index 8c1e434c..d269340f 100644 --- a/odlparent/binding-parent/pom.xml +++ b/odlparent/binding-parent/pom.xml @@ -41,6 +41,18 @@ + + 3.7.0.1746 + 3.2 + jacoco + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 + 1.8 1.8 @@ -49,13 +61,9 @@ https://nexus.onap.org /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + ${basedir}/src/main/resources/swagger.properties @@ -87,10 +95,7 @@ src/main/yang-gen-sal true - java - jacoco - ${project.build.directory}/surefire-reports - ${project.version} + 0.7.0-SNAPSHOT @@ -468,88 +473,13 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.6.0.1398 + ${sonar.scanner.version} - - 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 @@ -720,6 +650,99 @@ org.jacoco jacoco-maven-plugin + ${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + org.apache.maven.plugins @@ -759,6 +782,19 @@ -Xdoclint:none + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + + report + + + + diff --git a/odlparent/bundle-parent/pom.xml b/odlparent/bundle-parent/pom.xml index d1dc5738..b5a7d79c 100644 --- a/odlparent/bundle-parent/pom.xml +++ b/odlparent/bundle-parent/pom.xml @@ -41,6 +41,18 @@ + + 3.7.0.1746 + 3.2 + jacoco + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 + 1.8 1.8 @@ -49,13 +61,9 @@ https://nexus.onap.org /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + ${basedir}/src/main/resources/swagger.properties @@ -87,10 +95,7 @@ src/main/yang-gen-sal true - java - jacoco - ${project.build.directory}/surefire-reports - ${project.version} + 0.7.0-SNAPSHOT @@ -468,88 +473,13 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.6.0.1398 + ${sonar.scanner.version} - - 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 @@ -720,6 +650,99 @@ org.jacoco jacoco-maven-plugin + ${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + org.apache.maven.plugins @@ -759,6 +782,19 @@ -Xdoclint:none + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + + report + + + + diff --git a/odlparent/feature-repo-parent/pom.xml b/odlparent/feature-repo-parent/pom.xml index 1ce404e6..95876261 100644 --- a/odlparent/feature-repo-parent/pom.xml +++ b/odlparent/feature-repo-parent/pom.xml @@ -41,6 +41,18 @@ + + 3.7.0.1746 + 3.2 + jacoco + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 + 1.8 1.8 @@ -49,13 +61,9 @@ https://nexus.onap.org /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + ${basedir}/src/main/resources/swagger.properties @@ -87,10 +95,7 @@ src/main/yang-gen-sal true - java - jacoco - ${project.build.directory}/surefire-reports - ${project.version} + 0.7.0-SNAPSHOT @@ -468,88 +473,13 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.6.0.1398 + ${sonar.scanner.version} - - 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 @@ -720,6 +650,99 @@ org.jacoco jacoco-maven-plugin + ${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + org.apache.maven.plugins @@ -759,6 +782,19 @@ -Xdoclint:none + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + + report + + + + diff --git a/odlparent/karaf4-parent/pom.xml b/odlparent/karaf4-parent/pom.xml index 164e3b12..7c621dad 100644 --- a/odlparent/karaf4-parent/pom.xml +++ b/odlparent/karaf4-parent/pom.xml @@ -41,6 +41,18 @@ + + 3.7.0.1746 + 3.2 + jacoco + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 + 1.8 1.8 @@ -49,13 +61,9 @@ https://nexus.onap.org /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + ${basedir}/src/main/resources/swagger.properties @@ -87,10 +95,7 @@ src/main/yang-gen-sal true - java - jacoco - ${project.build.directory}/surefire-reports - ${project.version} + 0.7.0-SNAPSHOT @@ -468,88 +473,13 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.6.0.1398 + ${sonar.scanner.version} - - 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 @@ -720,6 +650,99 @@ org.jacoco jacoco-maven-plugin + ${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + org.apache.maven.plugins @@ -759,6 +782,19 @@ -Xdoclint:none + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + + report + + + + diff --git a/odlparent/mdsal-it-parent/pom.xml b/odlparent/mdsal-it-parent/pom.xml index 40420744..e13b1052 100644 --- a/odlparent/mdsal-it-parent/pom.xml +++ b/odlparent/mdsal-it-parent/pom.xml @@ -41,6 +41,18 @@ + + 3.7.0.1746 + 3.2 + jacoco + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 + 1.8 1.8 @@ -49,13 +61,9 @@ https://nexus.onap.org /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + ${basedir}/src/main/resources/swagger.properties @@ -87,10 +95,7 @@ src/main/yang-gen-sal true - java - jacoco - ${project.build.directory}/surefire-reports - ${project.version} + 0.7.0-SNAPSHOT @@ -468,88 +473,13 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.6.0.1398 + ${sonar.scanner.version} - - 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 @@ -720,6 +650,99 @@ org.jacoco jacoco-maven-plugin + ${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + org.apache.maven.plugins @@ -759,6 +782,19 @@ -Xdoclint:none + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + + report + + + + diff --git a/odlparent/odlparent-lite/pom.xml b/odlparent/odlparent-lite/pom.xml index b3f9a87c..8b3e6be3 100644 --- a/odlparent/odlparent-lite/pom.xml +++ b/odlparent/odlparent-lite/pom.xml @@ -41,6 +41,18 @@ + + 3.7.0.1746 + 3.2 + jacoco + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 + 1.8 1.8 @@ -49,13 +61,9 @@ https://nexus.onap.org /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + ${basedir}/src/main/resources/swagger.properties @@ -87,10 +95,7 @@ src/main/yang-gen-sal true - java - jacoco - ${project.build.directory}/surefire-reports - ${project.version} + 0.7.0-SNAPSHOT @@ -468,88 +473,13 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.6.0.1398 + ${sonar.scanner.version} - - 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 @@ -720,6 +650,99 @@ org.jacoco jacoco-maven-plugin + ${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + org.apache.maven.plugins @@ -759,6 +782,19 @@ -Xdoclint:none + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + + report + + + + diff --git a/odlparent/odlparent/pom.xml b/odlparent/odlparent/pom.xml index 651874d8..3bb179bb 100644 --- a/odlparent/odlparent/pom.xml +++ b/odlparent/odlparent/pom.xml @@ -41,6 +41,18 @@ + + 3.7.0.1746 + 3.2 + jacoco + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 + 1.8 1.8 @@ -49,13 +61,9 @@ https://nexus.onap.org /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + ${basedir}/src/main/resources/swagger.properties @@ -87,10 +95,7 @@ src/main/yang-gen-sal true - java - jacoco - ${project.build.directory}/surefire-reports - ${project.version} + 0.7.0-SNAPSHOT @@ -468,88 +473,13 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.6.0.1398 + ${sonar.scanner.version} - - 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 @@ -720,6 +650,99 @@ org.jacoco jacoco-maven-plugin + ${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + org.apache.maven.plugins @@ -759,6 +782,19 @@ -Xdoclint:none + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + + report + + + + diff --git a/odlparent/setup/src/main/resources/pom-template.xml b/odlparent/setup/src/main/resources/pom-template.xml index d663031b..25b1e816 100755 --- a/odlparent/setup/src/main/resources/pom-template.xml +++ b/odlparent/setup/src/main/resources/pom-template.xml @@ -41,6 +41,18 @@ + + 3.7.0.1746 + 3.2 + jacoco + + \${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,\${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 + 1.8 1.8 @@ -49,13 +61,9 @@ https://nexus.onap.org /content/sites/site/\${project.groupId}/\${project.artifactId}/\${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + \${basedir}/src/main/resources/swagger.properties @@ -87,10 +95,7 @@ src/main/yang-gen-sal true - java - jacoco - \${project.build.directory}/surefire-reports - \${project.version} + 0.7.0-SNAPSHOT @@ -468,88 +473,13 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.6.0.1398 + ${sonar.scanner.version} - - 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 @@ -720,6 +650,99 @@ org.jacoco jacoco-maven-plugin + \${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + org.apache.maven.plugins @@ -759,6 +782,19 @@ -Xdoclint:none + + org.jacoco + jacoco-maven-plugin + \${jacoco.version} + + + + + report + + + + diff --git a/odlparent/single-feature-parent/pom.xml b/odlparent/single-feature-parent/pom.xml index 809676c7..5ee8a9da 100644 --- a/odlparent/single-feature-parent/pom.xml +++ b/odlparent/single-feature-parent/pom.xml @@ -41,6 +41,18 @@ + + 3.7.0.1746 + 3.2 + jacoco + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 + 1.8 1.8 @@ -49,13 +61,9 @@ https://nexus.onap.org /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + ${basedir}/src/main/resources/swagger.properties @@ -87,10 +95,7 @@ src/main/yang-gen-sal true - java - jacoco - ${project.build.directory}/surefire-reports - ${project.version} + 0.7.0-SNAPSHOT @@ -468,88 +473,13 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 3.6.0.1398 + ${sonar.scanner.version} - - 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 @@ -720,6 +650,99 @@ org.jacoco jacoco-maven-plugin + ${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + org.apache.maven.plugins @@ -759,6 +782,19 @@ -Xdoclint:none + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + + report + + + + diff --git a/springboot/springboot1/pom.xml b/springboot/springboot1/pom.xml index 63c1c50f..a090a663 100755 --- a/springboot/springboot1/pom.xml +++ b/springboot/springboot1/pom.xml @@ -37,6 +37,17 @@ + + 3.7.0.1746 + 3.2 + jacoco + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 1.8 @@ -46,13 +57,7 @@ https://nexus.onap.org /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** ${basedir}/src/main/resources/swagger.properties @@ -79,10 +84,6 @@ src/main/yang-gen-sal true - java - jacoco - ${project.build.directory}/surefire-reports - ${project.version} 0.7.0-SNAPSHOT @@ -391,82 +392,7 @@ - - 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 @@ -596,6 +522,104 @@ + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + + maven-checkstyle-plugin diff --git a/springboot/springboot2/pom.xml b/springboot/springboot2/pom.xml index c1034b94..e18de4ec 100755 --- a/springboot/springboot2/pom.xml +++ b/springboot/springboot2/pom.xml @@ -37,6 +37,17 @@ + + 3.7.0.1746 + 3.2 + jacoco + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + 0.8.5 1.8 1.8 @@ -45,13 +56,7 @@ https://nexus.onap.org /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - 0.7.7.201606060606 - 3.2 - jacoco - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** ${basedir}/src/main/resources/swagger.properties @@ -78,11 +83,6 @@ src/main/yang-gen-sal true - java - jacoco - ${project.build.directory}/surefire-reports - ${project.version} - 0.7.0-SNAPSHOT 0.7.0-SNAPSHOT @@ -422,82 +422,7 @@ - - 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 @@ -627,6 +552,104 @@ + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + 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-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + PACKAGE + + + COMPLEXITY + COVEREDRATIO + 0.0 + + + + + + + + maven-checkstyle-plugin