Report code coverage of A1 controller to Sonar
[nonrtric.git] / sdnc-a1-controller / northbound / nonrt-ric-api / pom.xml
index 0635dec..44b02e2 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
   ============LICENSE_START=======================================================
-   Copyright (C) 2019-2020 Nordix Foundation.
+   Copyright (C) 2019 Nordix Foundation.
   ================================================================================
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
        <packaging>pom</packaging>
 
        <name>sdnc-northbound :: nonrt-ric-api</name>
+
+       <properties>
+               <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
+       </properties>
+
        <modules>
                <module>model</module>
                <module>provider</module>
                <module>features</module>
                <module>installer</module>
        </modules>
+
+       <build>
+               <plugins>
+                       <!-- 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>
 </project>