X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fpom.xml;h=aedb516d3b068128bddf8752f3ff0993e7160c51;hb=0591aa3e4206dcc34a24f22c24957cc242b99111;hp=cca5bf6ca9aa3a77e7a08a31a7a6c5bc05c5d952;hpb=e2701bb8fd6061b80df855131c182a75b6d2a1f6;p=nonrtric.git diff --git a/policy-agent/pom.xml b/policy-agent/pom.xml index cca5bf6c..aedb516d 100644 --- a/policy-agent/pom.xml +++ b/policy-agent/pom.xml @@ -1,31 +1,37 @@ +* ========================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=================================== +--> 4.0.0 - org.springframework + + org.springframework.boot + spring-boot-starter-parent + 2.3.4.RELEASE + + + org.o-ran-sc.nonrtric policy-agent - 0.0.0 + 2.1.0-SNAPSHOT The Apache Software License, Version 2.0 @@ -39,12 +45,24 @@ https://nexus.onap.org/content/repositories/releases/ - - org.springframework.boot - spring-boot-starter-parent - 2.1.6.RELEASE - - + + 11 + 2.9.2 + 2.8.2 + 1.1.6 + 2.0.0 + 20190722 + 3.6 + 3.8.0 + 2.12.2 + 1.18.0 + 0.30.0 + 1.1.11 + 2.1.1 + 3.7.0.1746 + 0.8.5 + true + org.springframework.boot @@ -58,6 +76,10 @@ org.springframework.boot spring-boot-starter-webflux + + org.springframework.boot + spring-boot-starter-aop + org.springframework.boot spring-boot-devtools @@ -70,12 +92,16 @@ io.swagger.core.v3 swagger-jaxrs2 - 2.0.0 + ${swagger.version} io.swagger.core.v3 swagger-jaxrs2-servlet-initializer - 2.0.0 + ${swagger.version} + + + javax.xml.bind + jaxb-api org.immutables @@ -88,11 +114,49 @@ gson ${immutable.version} - + + org.json + json + ${json.version} + + + commons-net + commons-net + ${commons-net.version} + org.springframework.boot - spring-boot-starter-test - test + spring-boot-configuration-processor + true + + + org.onap.dcaegen2.services.sdk.rest.services + cbs-client + ${sdk.version} + + + org.projectlombok + lombok + provided + + + 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 + + + + org.springframework.boot + spring-boot-starter-actuator @@ -105,10 +169,16 @@ springfox-swagger-ui ${springfox.version} + - org.onap.dcaegen2.services.sdk.rest.services - cbs-client - ${sdk.version} + org.springframework.boot + spring-boot-starter-test + test + + + org.awaitility + awaitility + test io.projectreactor @@ -118,17 +188,24 @@ org.junit.jupiter junit-jupiter-engine - ${junit-jupiter.version} + test + + + org.mockito + mockito-junit-jupiter + test + + + org.mockito + mockito-core + test + + + com.squareup.okhttp3 + mockwebserver test - - 11 - 2.8.0 - 2.7.1 - 1.1.6 - 5.4.0 - @@ -138,37 +215,168 @@ net.revelc.code.formatter formatter-maven-plugin - 2.8.1 + ${formatter-maven-plugin.version} ${project.basedir}/eclipse-formatter.xml - + com.diffplug.spotless spotless-maven-plugin - 1.18.0 + ${spotless-maven-plugin.version} - + com,java,javax,org - + org.apache.maven.plugins maven-surefire-plugin - 2.17 false + + maven-failsafe-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${project.build.directory}/generated-sources/annotations/ + + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + 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} + + + org.codehaus.mojo + exec-maven-plugin + + + run-test-script + verify + + exec + + + + + bash + + run_test.sh + + ../test/jenkins/ + + + + JIRA + https://jira.o-ran-sc.org/ +