============LICENSE_START=======================================================
Copyright (C) 2018 Ericsson. All rights reserved.
Modifications Copyright (C) 2018-2023 AT&T. All rights reserved.
- Modifications Copyright (C) 2019-2023 Nordix Foundation.
+ Modifications Copyright (C) 2019-2024 Nordix Foundation.
Modifications Copyright (C) 2020-2022 Bell Canada.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
<parent>
<groupId>org.onap.policy.parent</groupId>
<artifactId>policy-parent</artifactId>
- <version>4.0.1-SNAPSHOT</version>
+ <version>5.0.1-SNAPSHOT</version>
</parent>
<artifactId>integration</artifactId>
<packaging>pom</packaging>
<properties>
<java.version>17</java.version>
<!-- Note Well: For RELEASE/SNAPSHOT always set to the project version -->
- <version.parent.resources>4.0.1-SNAPSHOT</version.parent.resources>
- <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
+ <version.parent.resources>5.0.1-SNAPSHOT</version.parent.resources>
+ <version.parent.checkstyle>[4.1.2,)</version.parent.checkstyle>
+ <jacoco.destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</jacoco.destFile>
+ <!-- Default Sonar configuration -->
+ <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
+ <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
+ <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
+ <sonar.exclusions>org/drools/**/*,**/gen/**,**/generated-sources/**</sonar.exclusions>
<repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
<docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
<docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
<!-- Dependency Versions -->
- <version.aaf>2.7.4</version.aaf>
- <version.ccsdk>1.5.1</version.ccsdk>
- <version.cucumber>7.13.0</version.cucumber>
- <version.dmaap>1.1.12</version.dmaap>
+ <version.beanutils>1.9.4</version.beanutils>
+ <version.bytebuddy>1.14.13</version.bytebuddy>
+ <version.ccsdk>1.5.3</version.ccsdk>
+ <version.cucumber>7.15.0</version.cucumber>
<version.docker-java>3.3.2</version.docker-java>
- <version.drools>8.43.0.Final</version.drools>
+ <version.drools>8.40.1.Final</version.drools>
<version.frontend.maven>1.13.4</version.frontend.maven>
+ <version.guava>33.0.0-jre</version.guava>
+ <version.httpclient>5.3.1</version.httpclient>
<version.io.prometheus>0.16.0</version.io.prometheus>
- <version.jackson>2.15.2</version.jackson>
- <version.jacoco>0.8.10</version.jacoco>
- <version.jersey>3.1.3</version.jersey>
- <version.jetty>11.0.16</version.jetty>
- <version.jupiter>5.10.0</version.jupiter>
- <version.log4j>2.20.0</version.log4j>
- <version.logback>1.4.8</version.logback>
+ <version.jackson>2.17.2</version.jackson>
+ <version.jacoco>0.8.11</version.jacoco>
+ <version.jaxb>4.0.5</version.jaxb>
+ <version.jersey>3.1.8</version.jersey>
+ <version.jetty>11.0.23</version.jetty>
+ <version.jexl3>3.2.1</version.jexl3>
+ <version.json-path>2.9.0</version.json-path>
+ <version.json-schema-friend>0.12.4</version.json-schema-friend>
+ <version.json-schema-validator>1.5.0</version.json-schema-validator>
+ <version.jupiter>5.10.2</version.jupiter>
+ <version.kafka>3.8.0</version.kafka>
+ <version.kotlin>2.0.20</version.kotlin>
+ <version.log4j>2.23.1</version.log4j>
+ <version.logback>1.5.7</version.logback>
+ <version.maven-checkstyle-plugin>3.3.1</version.maven-checkstyle-plugin>
<version.maven-remote-resources-plugin>3.1.0</version.maven-remote-resources-plugin>
- <version.medeia.validator>1.1.1</version.medeia.validator>
+ <version.micrometer>1.13.3</version.micrometer>
<version.mockito>5.5.0</version.mockito>
<version.mockserver>5.15.0</version.mockserver>
- <version.netty>4.1.95.Final</version.netty>
+ <version.netty>4.1.100.Final</version.netty>
<version.nsa-cambria>1.2.1-oss</version.nsa-cambria>
<version.nsa-sa-client>1.3.0-oss</version.nsa-sa-client>
+ <version.opentel>1.41.0</version.opentel>
<version.plexus>3.5.0</version.plexus>
- <version.sdc>2.0.1</version.sdc>
- <version.slf4j>2.0.7</version.slf4j>
- <version.spring>6.0.12</version.spring>
- <version.springboot>3.1.4</version.springboot>
- <version.spring-security>6.1.4</version.spring-security>
- <version.swagger.codegen.v3>3.0.46</version.swagger.codegen.v3>
- <version.swagger.core.v3>2.2.15</version.swagger.core.v3>
+ <version.sdc-dist>2.1.1</version.sdc-dist>
+ <version.sdc-tosca>1.9.0</version.sdc-tosca>
+ <version.slf4j>2.0.13</version.slf4j>
+ <version.spring>6.1.12</version.spring>
+ <version.springboot>3.3.3</version.springboot>
+ <version.spring-security>6.3.3</version.spring-security>
+ <version.sonar>3.11.0.3922</version.sonar>
+ <version.swagger.codegen.v3>3.0.52</version.swagger.codegen.v3>
+ <version.swagger.core.v3>2.2.20</version.swagger.core.v3>
+ <version.tomcat>10.1.28</version.tomcat>
<surefireArgLine>
--add-opens java.base/java.time=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
<artifactId>policy-parent-resources</artifactId>
<version>${version.parent.resources}</version>
</dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson</groupId>
+ <artifactId>jackson-bom</artifactId>
+ <version>${version.jackson}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<artifactId>jersey-container-servlet</artifactId>
<version>${version.jersey}</version>
</dependency>
+ <dependency>
+ <groupId>org.glassfish.jersey.inject</groupId>
+ <artifactId>jersey-hk2</artifactId>
+ <version>${version.jersey}</version>
+ </dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<artifactId>jetty-http</artifactId>
<version>${version.jetty}</version>
</dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-servlet</artifactId>
+ <version>${version.jetty}</version>
+ </dependency>
<!-- Prometheus Client Libraries -->
<dependency>
<artifactId>simpleclient_logback</artifactId>
<version>${version.io.prometheus}</version>
</dependency>
+ <dependency>
+ <groupId>io.prometheus</groupId>
+ <artifactId>simpleclient_httpserver</artifactId>
+ <version>${version.io.prometheus}</version>
+ </dependency>
<dependency>
<groupId>com.google.re2j</groupId>
<artifactId>re2j</artifactId>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
- <version>32.1.1-jre</version>
+ <version>${version.guava}</version>
</dependency>
<!-- Jakarta dependencies -->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
- <version>4.0.0</version>
+ <version>4.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>${version.jaxb}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-core</artifactId>
+ <version>${version.jaxb}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jaxb</groupId>
+ <artifactId>jaxb-core</artifactId>
+ <version>${version.jaxb}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jaxb</groupId>
+ <artifactId>jaxb-runtime</artifactId>
+ <version>${version.jaxb}</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ <version>${version.jaxb}</version>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
- <version>6.0.0</version>
+ <version>6.1.0</version>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
- <version>3.1.0</version>
+ <version>4.0.0</version>
</dependency>
<dependency>
<groupId>jakarta.activation</groupId>
<dependency>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
- <version>2.0.1.MR</version>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.persistence</groupId>
+ <artifactId>jakarta.persistence-api</artifactId>
+ <version>3.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.transaction</groupId>
+ <artifactId>jakarta.transaction-api</artifactId>
+ <version>2.0.1</version>
</dependency>
<!-- Swagger -->
<dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
- <version>3.1.4</version>
+ <version>3.3.3</version>
</dependency>
<!-- Postgres -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
- <version>42.6.0</version>
+ <version>42.7.2</version>
</dependency>
<!-- Kafka -->
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
- <version>3.5.1</version>
+ <version>${version.kafka}</version>
</dependency>
<!-- HttpComponents Core (blocking I/O) -->
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5</artifactId>
- <version>5.2.2</version>
+ <version>5.2.4</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
- <version>5.2.1</version>
+ <version>${version.httpclient}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore</artifactId>
+ <version>4.4.16</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ <version>4.5.14</version>
</dependency>
<!-- JSON marshalling and unmarshalling -->
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
- <version>20230618</version>
+ <version>20240303</version>
+ </dependency>
+ <dependency>
+ <groupId>com.networknt</groupId>
+ <artifactId>json-schema-validator</artifactId>
+ <version>${version.json-schema-validator}</version>
</dependency>
<dependency>
- <groupId>com.worldturner.medeia</groupId>
- <artifactId>medeia-validator-gson</artifactId>
- <version>${version.medeia.validator}</version>
+ <groupId>net.jimblackler.jsonschemafriend</groupId>
+ <artifactId>core</artifactId>
+ <version>${version.json-schema-friend}</version>
</dependency>
<dependency>
- <groupId>com.worldturner.medeia</groupId>
- <artifactId>medeia-validator-core</artifactId>
- <version>${version.medeia.validator}</version>
+ <groupId>com.jayway.jsonpath</groupId>
+ <artifactId>json-path</artifactId>
+ <version>${version.json-path}</version>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
- <version>1.18.28</version>
+ <version>1.18.30</version>
</dependency>
<!-- Logging -->
<dependency>
<artifactId>slf4j-ext</artifactId>
<version>${version.slf4j}</version>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <version>${version.slf4j}</version>
+ </dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<artifactId>log4j-to-slf4j</artifactId>
<version>${version.log4j}</version>
</dependency>
- <!-- Dmaap Client -->
- <dependency>
- <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
- <artifactId>dmaapClient</artifactId>
- <version>${version.dmaap}</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- <exclusion>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- <exclusion>
- <artifactId>apache-log4j-extras</artifactId>
- <groupId>log4j</groupId>
- </exclusion>
- </exclusions>
- </dependency>
<!-- CDS dependencies -->
<dependency>
<groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
</exclusion>
</exclusions>
</dependency>
- <!-- AAF Client -->
- <dependency>
- <groupId>org.onap.aaf.authz</groupId>
- <artifactId>aaf-cadi-aaf</artifactId>
- <version>${version.aaf}</version>
- <exclusions>
- <exclusion>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
<!-- Client library for Cambria event routing API -->
<dependency>
<groupId>com.att.nsa</groupId>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
- <version>2.0</version>
+ <version>2.2</version>
</dependency>
<!-- Drools -->
<!--
<dependency>
<groupId>org.onap.sdc.sdc-distribution-client</groupId>
<artifactId>sdc-distribution-client</artifactId>
- <version>${version.sdc}</version>
+ <version>${version.sdc-dist}</version>
</dependency>
<dependency>
<groupId>org.onap.sdc.sdc-tosca</groupId>
<artifactId>sdc-tosca</artifactId>
- <version>${version.sdc}</version>
+ <version>${version.sdc-tosca}</version>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
- <version>2.2.220</version>
+ <version>2.2.224</version>
<scope>test</scope>
</dependency>
<!-- JUNIT -->
<version>4.13.2</version>
<scope>test</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
+ <version>${version.jupiter}</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${version.jupiter}</version>
<scope>test</scope>
</dependency>
- <!-- Junit vintage -->
<dependency>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>${version.jupiter}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-params</artifactId>
<version>${version.jupiter}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
- <version>3.24.2</version>
+ <version>3.25.3</version>
<scope>test</scope>
</dependency>
<!-- Mock libraries -->
<artifactId>netty-handler-proxy</artifactId>
<version>${version.netty}</version>
</dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-buffer</artifactId>
+ <version>${version.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec</artifactId>
+ <version>${version.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-handler</artifactId>
+ <version>${version.netty}</version>
+ </dependency>
+
<!-- Apache Commons -->
<dependency>
<groupId>commons-cli</groupId>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
- <version>4.4</version>
+ <version>4.5.0-M2</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
- <version>3.12.0</version>
+ <version>3.14.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-net</artifactId>
<version>3.9.0</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-jexl3</artifactId>
+ <version>${version.jexl3}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ <version>${version.beanutils}</version>
+ </dependency>
<!-- Github -->
<dependency>
<groupId>com.github.docker-java</groupId>
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
- <version>6.3.0.CR1</version>
+ <version>6.5.2.Final</version>
</dependency>
<dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core-jakarta</artifactId>
- <version>5.6.15.Final</version>
+ <groupId>org.hibernate.validator</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>8.0.1.Final</version>
</dependency>
<!-- Spring -->
<artifactId>spring-core</artifactId>
<version>${version.spring}</version>
</dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>${version.spring}</version>
+ </dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<artifactId>spring-webflux</artifactId>
<version>${version.spring}</version>
</dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aspects</artifactId>
+ <version>${version.spring}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-orm</artifactId>
+ <version>${version.spring}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-tx</artifactId>
+ <version>${version.spring}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aop</artifactId>
+ <version>${version.spring}</version>
+ </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<artifactId>spring-boot-starter-security</artifactId>
<version>${version.springboot}</version>
</dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-web</artifactId>
+ <version>${version.spring-security}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-config</artifactId>
+ <version>${version.spring-security}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-test</artifactId>
+ <version>${version.spring-security}</version>
+ </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${version.springboot}</version>
<scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>com.vaadin.external.google</groupId>
+ <artifactId>android-json</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
- <version>10.1.13</version>
+ <version>10.1.28</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
- <version>1.11.2</version>
+ <version>${version.micrometer}</version>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-observation</artifactId>
+ <version>${version.micrometer}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-core</artifactId>
+ <version>${version.micrometer}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcpkix-fips</artifactId>
+ <version>2.0.7</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-tracing-bridge-otel</artifactId>
+ <version>1.3.3</version>
+ </dependency>
+ <dependency>
+ <groupId>io.opentelemetry.instrumentation</groupId>
+ <artifactId>opentelemetry-kafka-clients-2.6</artifactId>
+ <version>2.7.0-alpha</version>
+ </dependency>
+ <dependency>
+ <groupId>io.opentelemetry</groupId>
+ <artifactId>opentelemetry-exporter-otlp</artifactId>
+ <version>${version.opentel}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.opentelemetry</groupId>
+ <artifactId>opentelemetry-sdk-extension-autoconfigure</artifactId>
+ <version>${version.opentel}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.opentelemetry</groupId>
+ <artifactId>opentelemetry-sdk-extension-jaeger-remote-sampler</artifactId>
+ <version>${version.opentel}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.opentelemetry</groupId>
+ <artifactId>opentelemetry-context</artifactId>
+ <version>${version.opentel}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.opentelemetry</groupId>
+ <artifactId>opentelemetry-api</artifactId>
+ <version>${version.opentel}</version>
+ </dependency>
+
+ <!-- Kotlin dependencies -->
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-stdlib</artifactId>
+ <version>${version.kotlin}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-stdlib-jdk8</artifactId>
+ <version>${version.kotlin}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-stdlib-jdk7</artifactId>
+ <version>${version.kotlin}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-reflect</artifactId>
+ <version>${version.kotlin}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-stdlib-common</artifactId>
+ <version>${version.kotlin}</version>
+ </dependency>
</dependencies>
</dependencyManagement>
<scm>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>3.3.0</version>
+ <version>${version.maven-checkstyle-plugin}</version>
<goals>
<goal>check</goal>
</goals>
</pluginManagement>
</build>
</profile>
+ <profile>
+ <id>cve</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.owasp</groupId>
+ <artifactId>dependency-check-maven</artifactId>
+ <version>10.0.3</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>aggregate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<build>
<extensions>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>3.6.0</version>
+ <version>3.6.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
</plugin>
+ <plugin>
+ <groupId>org.sonarsource.scanner.maven</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>${version.sonar}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>4.0.0-M13</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>3.1.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>3.2.5</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${version.jacoco}</version>
+ <configuration>
+ <excludes>
+ <exclude>org/drools/**/*</exclude>
+ <exclude>**/gen/**</exclude>
+ <exclude>**/generated-sources/**</exclude>
+ </excludes>
+ <output>file</output>
+ </configuration>
<executions>
<execution>
<id>pre-unit-test</id>
<goal>prepare-agent</goal>
</goals>
<configuration>
- <destFile>${jacoco.dataFile}</destFile>
+ <destFile>${jacoco.destFile}</destFile>
<append>true</append>
+ <propertyName>surefireArgLine</propertyName>
</configuration>
</execution>
<execution>
<goal>report</goal>
</goals>
<configuration>
- <dataFile>${jacoco.dataFile}</dataFile>
- </configuration>
- </execution>
- <execution>
- <id>pre-integration-test</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <skip>true</skip>
- </configuration>
- </execution>
- <execution>
- <id>post-integration-test</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <skip>true</skip>
+ <dataFile>${jacoco.destFile}</dataFile>
+ <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
</configuration>
</execution>
<execution>
<id>report-aggregate</id>
- <phase>prepare-package</phase>
+ <phase>verify</phase>
<goals>
<goal>report-aggregate</goal>
</goals>
+ <configuration>
+ <includeCurrentProject>true</includeCurrentProject>
+ </configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
+ <version>${version.maven-checkstyle-plugin}</version>
<executions>
<execution>
<id>onap-license</id>
</executions>
<dependencies>
<dependency>
- <groupId>org.onap.oparent</groupId>
+ <groupId>org.onap.policy.parent</groupId>
<artifactId>checkstyle</artifactId>
- <version>${oparent.version}</version>
+ <version>${version.parent.checkstyle}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>integration-tests</id>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ <configuration>
+ <!-- Sets the VM argument line used when integration tests are run. -->
+ <argLine>${failsafeArgLine}</argLine>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>