X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fpom.xml;h=f718d0bab6e49652e22b2d7143c481bc0c0f559b;hb=961b63fe16703900581cb2f2c77ef79f6cc37ab9;hp=d9a28e33b3a4ba8eeef878d86c78dbee569c7dd0;hpb=dfbd081159b02601a48162a647848223a9303ebf;p=nonrtric.git diff --git a/policy-agent/pom.xml b/policy-agent/pom.xml index d9a28e33..f718d0ba 100644 --- a/policy-agent/pom.xml +++ b/policy-agent/pom.xml @@ -1,32 +1,32 @@ +* ========================LICENSE_START================================= +* O-RAN-SC +* %% +* Copyright (C) 2019 Nordix Foundation +* %% +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* ========================LICENSE_END=================================== +--> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.springframework.boot spring-boot-starter-parent - 2.1.6.RELEASE + 2.2.4.RELEASE org.o-ran-sc.nonrtric @@ -47,15 +47,20 @@ 11 - 2.8.0 - 2.7.1 + 2.9.2 + 2.7.4 1.1.6 2.0.0 20180130 + 3.3 + 4.0.1 3.8.0 2.8.1 1.18.0 - 1.4.13 + 0.30.0 + 1.1.9 + 2.1.1 + 3.7.0.1746 @@ -70,6 +75,10 @@ org.springframework.boot spring-boot-starter-webflux + + org.springframework.boot + spring-boot-starter-aop + org.springframework.boot spring-boot-devtools @@ -89,6 +98,10 @@ swagger-jaxrs2-servlet-initializer ${swagger.version} + + javax.xml.bind + jaxb-api + org.immutables value @@ -105,12 +118,47 @@ json ${json.version} + + commons-net + commons-net + ${commons-net.version} + + + + org.springframework.boot + spring-boot-starter-actuator + org.springframework.boot spring-boot-starter-test test + + org.springframework.boot + spring-boot-configuration-processor + true + + + org.onap.dcaegen2.services.sdk.rest.services + cbs-client + ${sdk.version} + + + org.onap.dcaegen2.services.sdk.rest.services + dmaap-client + ${sdk.version} + + + org.projectlombok + lombok + provided + + + com.squareup.okhttp3 + mockwebserver + test + io.springfox @@ -122,10 +170,12 @@ springfox-swagger-ui ${springfox.version} + - org.onap.dcaegen2.services.sdk.rest.services - cbs-client - ${sdk.version} + org.awaitility + awaitility + ${awaitility.version} + test io.projectreactor @@ -138,9 +188,28 @@ test - org.springframework.boot - spring-boot-configuration-processor - true + org.mockito + mockito-junit-jupiter + test + + + org.mockito + mockito-core + test + + + org.onap.dmaap.messagerouter.dmaapclient + dmaapClient + ${version.dmaap} + + + javax.ws.rs + javax.ws.rs-api + ${javax.ws.rs-api.version} + + + org.glassfish.jersey.inject + jersey-hk2 @@ -156,8 +225,8 @@ ${project.basedir}/eclipse-formatter.xml - + com.diffplug.spotless @@ -171,9 +240,9 @@ - + org.apache.maven.plugins @@ -182,6 +251,9 @@ false + + maven-failsafe-plugin + org.codehaus.mojo build-helper-maven-plugin @@ -201,16 +273,91 @@ - com.spotify - dockerfile-maven-plugin - ${dockerfile-maven-plugin.version} - - oransc/policy-agent - ${project.version} - - ${project.build.finalName}.jar - - + org.jacoco + jacoco-maven-plugin + 0.8.4 + + + default-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + + + io.fabric8 + docker-maven-plugin + ${docker-maven-plugin} + false + + + generate-policy-agent-image + package + + build + + + ${env.CONTAINER_PULL_REGISTRY} + + + o-ran-sc/nonrtric-policy-agent:${project.version} + + try + ${basedir} + Dockerfile + + ${project.build.finalName}.jar + + + ${project.version} + + + + + + + + push-policy-agent-image + + build + push + + + ${env.CONTAINER_PULL_REGISTRY} + ${env.CONTAINER_PUSH_REGISTRY} + + + o-ran-sc/nonrtric-policy-agent:${project.version} + + ${basedir} + Dockerfile + + ${project.build.finalName}.jar + + + ${project.version} + latest + + + + + + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar-maven-plugin.version}