X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=309c95ad18f821360fe788a829814ddb8afef2a1;hb=e4d572624abc367cbdf5b282a68e394f8cfc9798;hp=0cae6654b63c656124b5df814ec513907cc6577f;hpb=03913aa30c8d82576ac5adda68f68c4246f34fe7;p=nonrtric%2Fplt%2Fa1policymanagementservice.git diff --git a/pom.xml b/pom.xml index 0cae665..309c95a 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,8 @@ * ========================LICENSE_START================================= * O-RAN-SC * %% -* Copyright (C) 2019-2023 Nordix Foundation +* Copyright (C) 2019-2023: Nordix Foundation +* Copyright (C) 2023-2024: OpenInfra Foundation Europe * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,12 +27,12 @@ org.springframework.boot spring-boot-starter-parent - 3.0.6 + 3.2.5 org.o-ran-sc.nonrtric.plt a1policymanagementservice - 2.6.0-SNAPSHOT + 2.8.0-SNAPSHOT The Apache Software License, Version 2.0 @@ -47,57 +48,67 @@ 17 - 20230227 + 2.19.17 + 20231013 + 2.14.0 + 32.0.1-jre + 3.0.0-M8 + 3.0.0-M8 3.10.0 - 2.13.0 - 2.30.0 - 0.30.0 + 0.43.0 3.7.0.1746 0.8.8 3.1.0 - 2.19.17 - 2.0.2 - 1.6.14 - + - commons-io - commons-io - 2.11.0 + javax.validation + validation-api + 2.0.1.Final - com.google.guava - guava - 31.1-jre + javax.annotation + javax.annotation-api + 1.3.2 - org.springframework.boot - spring-boot-starter-web + io.swagger.core.v3 + swagger-annotations + 2.2.15 - org.springframework.boot - spring-boot-starter-thymeleaf + org.openapitools + jackson-databind-nullable + 0.2.4 org.springframework.boot - spring-boot-starter-webflux + spring-boot - org.springframework.boot - spring-boot-starter-aop + org.springframework + spring-context org.springframework.boot - spring-boot-devtools - true + spring-boot-autoconfigure org.springframework.boot - spring-boot-starter-validation + spring-boot-starter-webflux - org.springframework - spring-webflux + org.aspectj + aspectjweaver + + + org.apache.tomcat.embed + tomcat-embed-core + + + com.google.guava + guava + ${guava.version} com.google.code.gson @@ -109,38 +120,43 @@ json ${json.version} - - org.springframework.boot - spring-boot-configuration-processor - true - org.projectlombok lombok provided - - org.glassfish.jersey.inject - jersey-hk2 - org.springframework.boot spring-boot-starter-actuator + runtime + + + io.micrometer + micrometer-registry-prometheus + + + org.springframework.boot + spring-boot-starter-aop - - org.springdoc - springdoc-openapi-starter-webmvc-ui - ${springdoc.version} + software.amazon.awssdk + s3 + ${software.amazon.awssdk.version} + - org.springdoc - springdoc-openapi-ui - ${springdoc.openapi-ui.version} + org.springframework.boot + spring-boot-devtools + true + runtime + + + org.springframework.boot + spring-boot-configuration-processor + true + runtime - org.springframework.boot spring-boot-starter-test @@ -176,20 +192,16 @@ mockwebserver test - - - com.github.erosb - everit-json-schema - 1.14.1 - - software.amazon.awssdk - s3 - ${software.amazon.awssdk.version} + commons-io + commons-io + ${commons-io.version} + test - io.micrometer - micrometer-registry-prometheus + com.github.erosb + everit-json-schema + 1.14.0 @@ -201,6 +213,7 @@ org.apache.maven.plugins maven-surefire-plugin + ${surefire-maven-plugin.version} false @@ -213,7 +226,7 @@ build-helper-maven-plugin - add-source + add-additional-source-dirs generate-sources add-source @@ -221,6 +234,21 @@ ${project.build.directory}/generated-sources/annotations/ + ${project.basedir}/add-src/main/java + ${project.basedir}/add-src/main/resources + + + + + add-additional-testsource-dirs + generate-sources + + add-test-source + + + + ${project.basedir}/add-src/test/java + ${project.basedir}/add-src/test/resources @@ -246,6 +274,172 @@ + + io.swagger.codegen.v3 + swagger-codegen-maven-plugin + 3.0.46 + + + generate-openapi-json + prepare-package + + generate + + + ${project.basedir}/api/pms-api.yaml + openapi + ${project.basedir}/api + + pms-api.json + + + + + + + org.openapitools + openapi-generator-maven-plugin + 6.6.0 + + + generate-openapi-policy-api + generate-sources + + generate + + + spring + ${project.basedir}/api/pms-api.yaml + spring-boot + org.onap.ccsdk.oran.a1policymanagementservice.controllers.v2 + org.onap.ccsdk.oran.a1policymanagementservice.controllers.api.v2 + org.onap.ccsdk.oran.a1policymanagementservice.models.v2 + false + false + false + false + + true + true + true + java8 + true + true + false + true + + + + + generate-openapi-html + prepare-package + + generate + + + ${project.basedir}/api/pms-api.json + html2 + ${project.basedir}/api/pms-api + false + false + + The O-RAN Non-RT RIC A1 Policy Management Service + provides a REST API for managing O-RAN A1 Policies. + ONAP CCSDK A1 Policy Management Service + https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP + Copyright (C) 2020-2023 Nordix Foundation. Licensed + under the Apache License, and Copyright (C) 2024 OpenInfra + Foundation Europe. All rights reserved. + http://www.apache.org/licenses/LICENSE-2.0 + + + + + + + maven-resources-plugin + + + copy-resource-configuration-files + initialize + + copy-resources + + + true + true + ${project.basedir}/config + + + ${project.basedir}/onap/oran/a1-policy-management/config + + + + + + copy-resource-openapi-files-fromsubmodule + initialize + + copy-resources + + + true + true + ${project.basedir}/api + + + ${project.basedir}/onap/oran/a1-policy-management/api + + pms-api.json + pms-api.yaml + + + + + + + copy-resource-doc-openapi + package + + copy-resources + + + ${project.basedir}/docs/offeredapis/swagger + true + true + + + ${project.basedir}/api + + pms-api.json + pms-api.yaml + + + + + + + copy-resource-openapi-html + package + + copy-resources + + + true + + ${project.basedir}/docs/offeredapis/openapitoolgen/offeredapis/pms-api + + + ${project.basedir}/api/pms-api + + pms-api.html + + + + + + + io.fabric8 docker-maven-plugin @@ -324,7 +518,7 @@ git submodule update - initialize + validate git @@ -338,21 +532,6 @@ exec - - copy configuration - initialize - - cp - - -r - onap/oran/a1-policy-management/config - . - - - - exec - - @@ -361,4 +540,13 @@ JIRA https://jira.o-ran-sc.org/ + + + + org.apache.maven.plugins + maven-surefire-report-plugin + ${surefire-report-plugin.version} + + +