diff options
-rw-r--r-- | binding-parent/pom.xml | 3 | ||||
-rw-r--r-- | feature-repo-parent/pom.xml | 11 | ||||
-rw-r--r-- | single-feature-parent/pom.xml | 10 |
3 files changed, 23 insertions, 1 deletions
diff --git a/binding-parent/pom.xml b/binding-parent/pom.xml index 49d35b7..c86da30 100644 --- a/binding-parent/pom.xml +++ b/binding-parent/pom.xml @@ -71,9 +71,10 @@ limitations under the License. <sonar.language>java</sonar.language> <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> - <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> + <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath> <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> <sonar.projectVersion>${project.version}</sonar.projectVersion> + <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath> <maven.javadoc.failOnError>false</maven.javadoc.failOnError> diff --git a/feature-repo-parent/pom.xml b/feature-repo-parent/pom.xml index 6c9c95a..a2b0ab4 100644 --- a/feature-repo-parent/pom.xml +++ b/feature-repo-parent/pom.xml @@ -35,6 +35,17 @@ limitations under the License. <relativePath /> </parent> + <properties> + <!-- SONAR --> + <sonar.language>java</sonar.language> + <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> + <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> + <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath> + <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> + <sonar.projectVersion>${project.version}</sonar.projectVersion> + <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> + </properties> + <dependencyManagement> <dependencies> diff --git a/single-feature-parent/pom.xml b/single-feature-parent/pom.xml index 1810354..3ab3613 100644 --- a/single-feature-parent/pom.xml +++ b/single-feature-parent/pom.xml @@ -41,7 +41,17 @@ limitations under the License. <snakeyaml.version>1.15</snakeyaml.version> <tosca.datatype.version>1.5.0</tosca.datatype.version> <velocity.version>1.7</velocity.version> + <!-- SONAR --> + <sonar.language>java</sonar.language> + <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> + <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> + <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath> + <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> + <sonar.projectVersion>${project.version}</sonar.projectVersion> + <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> </properties> + + <dependencyManagement> <dependencies> <dependency> |