fix sonarcloud issues
Change-Id: Ie2af89b8789369654d08cf76133b27583b4228c1
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2065
diff --git a/components/bbs-event-processor/pom.xml b/components/bbs-event-processor/pom.xml
index 5e89971..85c8cf4 100644
--- a/components/bbs-event-processor/pom.xml
+++ b/components/bbs-event-processor/pom.xml
@@ -42,6 +42,9 @@
<dependency.dir.location>${project.build.directory}/${dependency.dir.name}</dependency.dir.location>
<docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
+ <sonar.coverage.jacoco.xmlReportPaths>
+ ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
</properties>
<dependencyManagement>
diff --git a/components/datalake-handler/pom.xml b/components/datalake-handler/pom.xml
index 103a1eb..d244806 100644
--- a/components/datalake-handler/pom.xml
+++ b/components/datalake-handler/pom.xml
@@ -36,6 +36,9 @@
<elasticsearchjava.version>7.1.1</elasticsearchjava.version>
<hadoop.version>3.2.0</hadoop.version>
+ <sonar.coverage.jacoco.xmlReportPaths>
+ ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
</properties>
<dependencyManagement>