summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2019-12-26 09:25:51 -0500
committerTaka Cho <takamune.cho@att.com>2019-12-26 09:28:29 -0500
commit6607298d2e384e59d491f99786346eb111a07320 (patch)
tree77771ef65e37c805432071e36818802993018f32
parentcc18d76493778d852ea4850dab6d848d20cf6233 (diff)
fix jacoco.exec file name
part 2: parent's pom file Issue-ID: APPC-1808 Change-Id: Iae66441beddf343cf1be44dac8a0c9a721c6c5b0 Signed-off-by: Taka Cho <takamune.cho@att.com>
-rw-r--r--binding-parent/pom.xml3
-rw-r--r--feature-repo-parent/pom.xml11
-rw-r--r--single-feature-parent/pom.xml10
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>