diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2023-07-24 12:23:05 +0100 |
---|---|---|
committer | ToineSiebelink <toine.siebelink@est.tech> | 2023-07-24 12:23:05 +0100 |
commit | 7fcffe5ae6753bfb6746d18d41ec536092603a76 (patch) | |
tree | 1b88dd469a9a12e411b55019b2501176c0a75665 /cps-parent | |
parent | bdac4402397f4359aeb81bc8acc59900bba99c62 (diff) |
Fix code coverage reporting
- Fixed (partly duplicated) exclusion list: all exlusings now in PARENT pom only
(this means module reports and aggregate report use same exclusion
- Set common minimum to 100% (3 modules now achieve this :-) )
- Added./clean cm-parsre test to get too 10% in that module too
- Increased module specif minima to actual coverge today
Issue-ID: CPS-475
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ic155f963bfd472e11481fcab6ee8ca227903d9ae
Diffstat (limited to 'cps-parent')
-rwxr-xr-x | cps-parent/pom.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 3860a305ba..470c3a03a3 100755 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -38,7 +38,7 @@ <properties> <app>org.onap.cps.Application</app> <java.version>17</java.version> - <minimum-coverage>0.97</minimum-coverage> + <minimum-coverage>1.00</minimum-coverage> <postgres.version>42.5.1</postgres.version> <jacoco.reportDirectory.aggregate>${project.reporting.outputDirectory}/jacoco-aggregate</jacoco.reportDirectory.aggregate> @@ -359,11 +359,14 @@ <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.10</version> <configuration> + <!--All exclusions below are referring to generated code--> <excludes> <exclude>org/onap/cps/event/model/*</exclude> <exclude>org/onap/cps/rest/model/*</exclude> <exclude>org/onap/cps/cpspath/parser/antlr4/*</exclude> <exclude>org/onap/cps/ncmp/rest/model/*</exclude> + <exclude>org/onap/cps/**/*MapperImpl.class</exclude> + <exclude>org/onap/cps/ncmp/rest/stub/*</exclude> </excludes> </configuration> <executions> |