summaryrefslogtreecommitdiffstats
path: root/cps-parent
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2020-12-14 15:46:30 +0000
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2020-12-16 11:49:42 +0000
commit008c0adc3712ba0aee6410e8cd7efc61f4cbeeac (patch)
tree255b28e757eecda25bb900d4b041902787a18d24 /cps-parent
parentc040bcb4ae61177b1aa691f059d19c96c6cfff7b (diff)
Few Sonar Fixes
Add spock-spring testing Issue-ID: CPS-89 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I1e12fb56916e2123fc1d29bdf1524accbb9eeffd
Diffstat (limited to 'cps-parent')
-rw-r--r--cps-parent/pom.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml
index 89f9629a6f..9c1760cf23 100644
--- a/cps-parent/pom.xml
+++ b/cps-parent/pom.xml
@@ -20,7 +20,7 @@
<base.image>openjdk:11-jre-slim</base.image>
<java.version>11</java.version>
<jib-maven-plugin.version>2.6.0</jib-maven-plugin.version>
- <minimum-coverage>0.20</minimum-coverage>
+ <minimum-coverage>0.35</minimum-coverage>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<oparent.version>3.1.0</oparent.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -324,6 +324,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
+ <!--suppress UnresolvedMavenProperty -->
<argLine>${surefireArgLine}</argLine>
<useFile>false</useFile>
<includes>
@@ -351,6 +352,9 @@
<goal>check</goal>
</goals>
<configuration>
+ <excludes>
+ <exclude>org/onap/cps/rest/model/*</exclude>
+ </excludes>
<dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
<rules>
<rule>