Report code coverage of A1 controller to Sonar
Change-Id: I20281a64df0e242e973fa3e0ac17d5e955a4de8b
Issue-ID: NONRTRIC-116
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
diff --git a/sdnc-a1-controller/northbound/pom.xml b/sdnc-a1-controller/northbound/pom.xml
index 2124f1f..b243d71 100644
--- a/sdnc-a1-controller/northbound/pom.xml
+++ b/sdnc-a1-controller/northbound/pom.xml
@@ -41,6 +41,10 @@
<version>1.7.3-SNAPSHOT</version>
<packaging>pom</packaging>
+ <properties>
+ <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
+ </properties>
+
<name>sdnc-northbound</name>
<description>The SDN-C Northbound APIs repo contains code for northbound API adaptors, typically MD-SAL applications</description>
<url>https://wiki.onap.org</url>
@@ -84,6 +88,12 @@
<skipTests>false</skipTests>
</configuration>
</plugin>
+ <!-- support sonar in multi-module project -->
+ <plugin>
+ <groupId>org.sonarsource.scanner.maven</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>${sonar-maven-plugin.version}</version>
+ </plugin>
</plugins>
</build>