Enable Sonar & Improve Test coverage of DFC
Issue-ID: NONRTRIC-874
Signed-off-by: ambrishest <ambrish.singh@est.tech>
Change-Id: I83a3c66bc7a1a9c5beb0d27acf342d49056fe24f
diff --git a/datafilecollector/pom.xml b/datafilecollector/pom.xml
index 4b56276..c9fa6c6 100644
--- a/datafilecollector/pom.xml
+++ b/datafilecollector/pom.xml
@@ -38,6 +38,7 @@
<springdoc.version>2.0.2</springdoc.version>
<springdoc.openapi-ui.version>1.6.14</springdoc.openapi-ui.version>
<exec.skip>true</exec.skip>
+ <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
</properties>
<dependencies>
<dependency>
@@ -276,6 +277,11 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.sonarsource.scanner.maven</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>${sonar-maven-plugin.version}</version>
+ </plugin>
</plugins>
</build>
</project>