X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fpom.xml;h=78ff193766924a02c5dd1a47979b0996eebe43dd;hb=7d0bb60a0c1ad1f65c0e0a2b057e8663ef759ffd;hp=5ab2663b64bc03b7f8e2e30e753aea787851dcf7;hpb=a5d9009b589b2d9a369a4da9feb83c9efa259e07;p=nonrtric.git diff --git a/policy-agent/pom.xml b/policy-agent/pom.xml index 5ab2663b..78ff1937 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.2.4.RELEASE + + + org.o-ran-sc.nonrtric policy-agent - 0.0.0 + 1.0.0-SNAPSHOT The Apache Software License, Version 2.0 @@ -39,12 +45,23 @@ https://nexus.onap.org/content/repositories/releases/ - - org.springframework.boot - spring-boot-starter-parent - 2.1.6.RELEASE - - + + 11 + 2.9.2 + 2.7.1 + 1.1.6 + 2.0.0 + 20180130 + 3.3 + 4.0.1 + 3.8.0 + 2.8.1 + 1.18.0 + 0.30.0 + 1.1.9 + 2.1.1 + 3.7.0.1746 + org.springframework.boot @@ -70,12 +87,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 @@ -91,7 +112,17 @@ org.json json - 20180130 + ${json.version} + + + commons-net + commons-net + ${commons-net.version} + + + + org.springframework.boot + spring-boot-starter-actuator @@ -99,6 +130,31 @@ 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 @@ -110,10 +166,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 @@ -123,17 +181,33 @@ org.junit.jupiter junit-jupiter-engine - ${junit-jupiter.version} test + + 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 + - - 11 - 2.8.0 - 2.7.1 - 1.1.6 - 5.4.0 - @@ -143,37 +217,39 @@ 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 + mvn spotless:apply to rewrite source files use mvn spotless:check to validate + source files --> org.apache.maven.plugins maven-surefire-plugin - 2.17 false + + maven-failsafe-plugin + org.codehaus.mojo build-helper-maven-plugin @@ -192,6 +268,97 @@ + + 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} + + + JIRA + https://jira.o-ran-sc.org/ +