X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pom.xml;fp=pom.xml;h=ba524d1eafbbbd68e863a2d3d97dd8c9f3af3a1a;hb=3d30514550b276ffc434975377df8dfaa52e2f91;hp=c086f58f41bdeadeb5495b7cc4619e8b6dcb249d;hpb=8f3c66ffb336346c13919f67d57aa57cd4221b9c;p=nonrtric%2Fplt%2Fa1policymanagementservice.git diff --git a/pom.xml b/pom.xml index c086f58..ba524d1 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ org.springframework.boot spring-boot-starter-parent - 3.2.0 + 3.2.5 org.o-ran-sc.nonrtric.plt @@ -48,105 +48,114 @@ 17 + 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.43.0 3.7.0.1746 0.8.8 3.1.0 - 2.19.17 - 2.0.2 - 1.6.14 - 3.0.0-M8 - 3.0.0-M8 - + - commons-io - commons-io - 2.14.0 + javax.validation + validation-api + 2.0.1.Final - com.google.guava - guava - 32.0.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 gson + ${gson.version} org.json 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.springdoc - springdoc-openapi-starter-webmvc-ui - ${springdoc.version} + org.springframework.boot + spring-boot-starter-aop - org.springdoc - springdoc-openapi-ui - ${springdoc.openapi-ui.version} + software.amazon.awssdk + s3 + ${software.amazon.awssdk.version} - + org.springframework.boot - spring-boot-test - test + spring-boot-devtools + true + runtime + + + org.springframework.boot + spring-boot-configuration-processor + true + runtime org.springframework.boot @@ -184,18 +193,15 @@ 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 @@ -268,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 + + index.html + + + + + + + io.fabric8 docker-maven-plugin @@ -346,7 +518,7 @@ git submodule update - initialize + validate git @@ -360,21 +532,6 @@ exec - - copy configuration - initialize - - cp - - -r - onap/oran/a1-policy-management/config - . - - - - exec - -