X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fpom.xml;h=aedb516d3b068128bddf8752f3ff0993e7160c51;hb=0591aa3e4206dcc34a24f22c24957cc242b99111;hp=6ac7978075dd5dbaface45dacf4d2df22e2a7b01;hpb=e44226f250e39445f0230a668f8e3a411a57f8bd;p=nonrtric.git diff --git a/policy-agent/pom.xml b/policy-agent/pom.xml index 6ac79780..aedb516d 100644 --- a/policy-agent/pom.xml +++ b/policy-agent/pom.xml @@ -1,37 +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=================================== +--> + 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.3.4.RELEASE org.o-ran-sc.nonrtric policy-agent - 1.0.0-SNAPSHOT + 2.1.0-SNAPSHOT The Apache Software License, Version 2.0 @@ -47,16 +47,21 @@ 11 - 2.8.0 - 2.7.1 + 2.9.2 + 2.8.2 1.1.6 2.0.0 - 20180130 + 20190722 + 3.6 3.8.0 - 1.3.2 - 2.8.1 + 2.12.2 1.18.0 0.30.0 + 1.1.11 + 2.1.1 + 3.7.0.1746 + 0.8.5 + true @@ -71,6 +76,10 @@ org.springframework.boot spring-boot-starter-webflux + + org.springframework.boot + spring-boot-starter-aop + org.springframework.boot spring-boot-devtools @@ -90,6 +99,10 @@ swagger-jaxrs2-servlet-initializer ${swagger.version} + + javax.xml.bind + jaxb-api + org.immutables value @@ -106,11 +119,10 @@ json ${json.version} - - org.springframework.boot - spring-boot-starter-test - test + commons-net + commons-net + ${commons-net.version} org.springframework.boot @@ -122,6 +134,30 @@ 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 + io.springfox @@ -134,6 +170,16 @@ ${springfox.version} + + org.springframework.boot + spring-boot-starter-test + test + + + org.awaitility + awaitility + test + io.projectreactor reactor-test @@ -154,6 +200,11 @@ mockito-core test + + com.squareup.okhttp3 + mockwebserver + test + @@ -168,8 +219,8 @@ ${project.basedir}/eclipse-formatter.xml - + com.diffplug.spotless @@ -183,9 +234,9 @@ - + org.apache.maven.plugins @@ -193,13 +244,9 @@ false - - - org.junit.platform - junit-platform-surefire-provider - ${junit-platform-surefire-provider.version} - - + + + maven-failsafe-plugin org.codehaus.mojo @@ -219,12 +266,58 @@ + + 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 @@ -236,12 +329,16 @@ ${env.CONTAINER_PUSH_REGISTRY} - o-ran-sc/policy-agent:${project.version} + o-ran-sc/nonrtric-policy-agent:${project.version} ${basedir} Dockerfile + + ${project.build.finalName}.jar + ${project.version} + latest @@ -250,6 +347,32 @@ + + + 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/ + +