Improve code coverage for aaf cadi modules
[aaf/cadi.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index cbbb8e9..bd51850 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -71,7 +71,7 @@
                <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
                <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
                <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
-               <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
+               <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
                <sonar.projectVersion>${project.version}</sonar.projectVersion>
                <nexusproxy>https://nexus.onap.org</nexusproxy>
                <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
        <!-- ============================================================== -->
        <dependencyManagement>
                <dependencies>
+               <dependency>
+                       <groupId>org.mockito</groupId>
+                       <artifactId>mockito-all</artifactId>
+                       <version>1.9.5</version>
+                       <scope>test</scope>
+                       </dependency>
                        <dependency>
                                <groupId>org.onap.aaf.authz</groupId>
                                <artifactId>authz-client</artifactId>
                                <version>0.7.7.201606060606</version>
                                <configuration>
                                        <dumpOnExit>true</dumpOnExit>
-
+                                       <includes>
+                                               <include>org.onap.aaf.*</include>
+                                       </includes>
                                </configuration>
                                <executions>
                                        <execution>
                     </execution>
                                </executions>
                        </plugin>
+
                        </plugins>                      
        </build>
        <distributionManagement>