X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fpom.xml;h=0dd6d03b392cf8bcb75d82a66cab32139ee2349f;hb=01c2b3728264274873296350d8b9f6b623e1c7ba;hp=c49924323975e218ac0d323e8546c5f878331ca9;hpb=3bdae60a11a5f154500b4e7c5de4090326af1f98;p=nonrtric.git diff --git a/policy-agent/pom.xml b/policy-agent/pom.xml index c4992432..0dd6d03b 100644 --- a/policy-agent/pom.xml +++ b/policy-agent/pom.xml @@ -1,44 +1,68 @@ - +* ========================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.7.RELEASE + + + org.o-ran-sc.nonrtric policy-agent - 0.0.0 + 2.0.0-SNAPSHOT The Apache Software License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0.txt - - org.springframework.boot - spring-boot-starter-parent - 2.1.6.RELEASE - - + + + onap-releases + onap-releases + https://nexus.onap.org/content/repositories/releases/ + + + + 11 + 2.9.2 + 2.8.2 + 1.1.6 + 2.0.0 + 20190722 + 3.6 + 3.8.0 + 2.8.1 + 1.18.0 + 0.30.0 + 1.1.11 + 2.1.1 + 3.7.0.1746 + 0.8.5 + true + org.springframework.boot @@ -52,6 +76,10 @@ org.springframework.boot spring-boot-starter-webflux + + org.springframework.boot + spring-boot-starter-aop + org.springframework.boot spring-boot-devtools @@ -64,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 @@ -82,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 @@ -99,12 +169,43 @@ springfox-swagger-ui ${springfox.version} + + + org.springframework.boot + spring-boot-starter-test + test + + + org.awaitility + awaitility + test + + + io.projectreactor + reactor-test + test + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.mockito + mockito-junit-jupiter + test + + + org.mockito + mockito-core + test + + + com.squareup.okhttp3 + mockwebserver + test + - - 11 - 2.8.0 - 2.7.1 - @@ -114,29 +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 + + 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/ +