Improve aaf sonar code coverage
Issue-id: AAF-79
Change-Id: I36081744a2b97942f41517502d12256e2ed44312
Signed-off-by: sg481n <sg481n@att.com>
diff --git a/authz-test/pom.xml b/authz-test/pom.xml
index e73cb34..17cb314 100644
--- a/authz-test/pom.xml
+++ b/authz-test/pom.xml
@@ -53,6 +53,7 @@
<properties>
+ <maven.test.failure.ignore>false</maven.test.failure.ignore>
<project.swmVersion>0</project.swmVersion>
<project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
<project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
@@ -61,7 +62,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>
@@ -133,7 +134,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <excludes>
+ <excludes>
<exclude>**/AAFJUnitTest.java</exclude>
</excludes>
</configuration>
@@ -187,6 +188,9 @@
<version>0.7.7.201606060606</version>
<configuration>
<dumpOnExit>true</dumpOnExit>
+ <includes>
+ <include>org.onap.aaf.*</include>
+ </includes>
</configuration>
<executions>
<execution>