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