<groupId>org.onap.cps</groupId>
<artifactId>cps-parent</artifactId>
- <version>3.3.3-SNAPSHOT</version>
+ <version>3.4.1-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<app>org.onap.cps.Application</app>
- <java.version>11</java.version>
- <minimum-coverage>0.97</minimum-coverage>
+ <java.version>17</java.version>
+ <minimum-coverage>1.00</minimum-coverage>
<postgres.version>42.5.1</postgres.version>
<jacoco.reportDirectory.aggregate>${project.reporting.outputDirectory}/jacoco-aggregate</jacoco.reportDirectory.aggregate>
<sonar.coverage.jacoco.xmlReportPaths>
../jacoco-report/target/site/jacoco-aggregate/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
+ <parent.directory>${project.basedir}/..</parent.directory>
+ <maven.compiler.release>17</maven.compiler.release>
</properties>
<profiles>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
- <version>2.6.4</version>
+ <version>3.1.2</version>
<executions>
<execution>
<goals>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
- <version>4.1.3</version>
+ <version>4.4.2</version>
<dependencies>
<dependency>
<groupId>com.github.spotbugs</groupId>
<!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
- <version>1.8.0-beta4</version>
+ <version>2.0.6</version>
</dependency>
</dependencies>
<configuration>
<plugin>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
- <version>1.1.1</version>
+ <version>1.2.1</version>
<configuration>
<targetVersion>${java.version}</targetVersion>
</configuration>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- </configuration>
+ <version>3.11.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<plugin>
<groupId>org.jacoco</groupId>
<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>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
+ <version>3.9.1.2184</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
</executions>
<configuration>
<executable>${script.executor}</executable>
- <workingDirectory>../cps-ri/src/main/resources/</workingDirectory>
+ <workingDirectory>${parent.directory}/cps-ri/src/main/resources/</workingDirectory>
<arguments>
<argument>yangResourceCsvGenerator.py</argument>
<argument>dmi-registry@2021-12-13</argument>