<groupId>org.onap.cps</groupId>
<artifactId>cps-parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>2.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<app>org.onap.cps.Application</app>
<java.version>11</java.version>
- <minimum-coverage>0.9</minimum-coverage>
+ <minimum-coverage>0.97</minimum-coverage>
<jacoco.reportDirectory.aggregate>${project.reporting.outputDirectory}/jacoco-aggregate</jacoco.reportDirectory.aggregate>
<sonar.coverage.jacoco.xmlReportPaths>
- ../cps-ri/target/site/jacoco-ut/jacoco.xml,
- ../cps-ri/target/site/jacoco-aggregate/jacoco.xml,
- ../cps-service/target/site/jacoco-ut/jacoco.xml,
- ../cps-service/target/site/jacoco-aggregate/jacoco.xml,
- ../cps-rest/target/site/jacoco-ut/jacoco.xml,
- ../cps-rest/target/site/jacoco-aggregate/jacoco.xml,
- ../cps-ncmp-service/target/site/jacoco-ut/jacoco.xml,
- ../cps-ncmp-service/target/site/jacoco-aggregate/jacoco.xml,
- ../cps-ncmp-rest/target/site/jacoco-ut/jacoco.xml,
- ../cps-ncmp-rest/target/site/jacoco-aggregate/jacoco.xml,
- ../cps-path-parser/target/site/jacoco-ut/jacoco.xml,
- ../cps-path-parser/target/site/jacoco-aggregate/jacoco.xml,
- ../cps-application/target/site/jacoco-ut/jacoco.xml,
- ../cps-application/target/site/jacoco-aggregate/jacoco.xml
+ ../jacoco-report/target/site/jacoco-aggregate/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
</properties>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>3.0.27</version>
+ <executions>
+ <execution>
+ <id>openapi-yaml-gen</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <phase>compile</phase>
+ <configuration>
+ <inputSpec>${project.basedir}/docs/openapi/openapi.yml</inputSpec>
+ <language>openapi-yaml</language>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<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/ncmp/api/models/*</exclude>
</excludes>
</configuration>
<executions>
</rules>
</configuration>
</execution>
- <execution>
- <id>report</id>
- <goals>
- <goal>report-aggregate</goal>
- </goals>
- <phase>verify</phase>
- <configuration>
- <dataFileIncludes>
- <fileInclude>**/code-coverage/jacoco-ut.exec</fileInclude>
- </dataFileIncludes>
- </configuration>
- </execution>
</executions>
</plugin>
<plugin>