1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2019 Nordix Foundation
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ========================LICENSE_END===================================
22 xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.springframework.boot</groupId>
28 <artifactId>spring-boot-starter-parent</artifactId>
29 <version>2.6.11</version>
32 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
33 <artifactId>a1policymanagementservice</artifactId>
34 <version>2.6.0-SNAPSHOT</version>
37 <name>The Apache Software License, Version 2.0</name>
38 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
43 <id>onap-releases</id>
44 <name>onap-releases</name>
45 <url>https://nexus.onap.org/content/repositories/releases/</url>
49 <java.version>11</java.version>
50 <springfox.version>3.0.0</springfox.version>
51 <gson.version>2.9.0</gson.version>
52 <swagger.version>2.1.13</swagger.version>
53 <json.version>20220320</json.version>
54 <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
55 <formatter-maven-plugin.version>2.12.2</formatter-maven-plugin.version>
56 <spotless-maven-plugin.version>1.18.0</spotless-maven-plugin.version>
57 <docker-maven-plugin>0.30.0</docker-maven-plugin>
58 <javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
59 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
60 <jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version>
61 <exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
62 <software.amazon.awssdk.version>2.17.292</software.amazon.awssdk.version>
66 <groupId>commons-io</groupId>
67 <artifactId>commons-io</artifactId>
68 <version>2.11.0</version>
71 <groupId>com.google.guava</groupId>
72 <artifactId>guava</artifactId>
73 <version>31.0.1-jre</version>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-web</artifactId>
80 <groupId>org.springframework.boot</groupId>
81 <artifactId>spring-boot-starter-thymeleaf</artifactId>
84 <groupId>org.springframework.boot</groupId>
85 <artifactId>spring-boot-starter-webflux</artifactId>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-aop</artifactId>
92 <groupId>org.springframework.boot</groupId>
93 <artifactId>spring-boot-devtools</artifactId>
94 <optional>true</optional>
97 <groupId>org.springframework</groupId>
98 <artifactId>spring-webflux</artifactId>
101 <groupId>io.swagger.core.v3</groupId>
102 <artifactId>swagger-jaxrs2</artifactId>
103 <version>${swagger.version}</version>
106 <groupId>io.swagger.core.v3</groupId>
107 <artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
108 <version>${swagger.version}</version>
111 <groupId>javax.xml.bind</groupId>
112 <artifactId>jaxb-api</artifactId>
115 <groupId>com.google.code.gson</groupId>
116 <artifactId>gson</artifactId>
117 <version>${gson.version}</version>
120 <groupId>org.json</groupId>
121 <artifactId>json</artifactId>
122 <version>${json.version}</version>
125 <groupId>org.springframework.boot</groupId>
126 <artifactId>spring-boot-configuration-processor</artifactId>
127 <optional>true</optional>
130 <groupId>org.projectlombok</groupId>
131 <artifactId>lombok</artifactId>
132 <scope>provided</scope>
135 <groupId>javax.ws.rs</groupId>
136 <artifactId>javax.ws.rs-api</artifactId>
137 <version>${javax.ws.rs-api.version}</version>
140 <groupId>org.glassfish.jersey.inject</groupId>
141 <artifactId>jersey-hk2</artifactId>
143 <!-- Actuator dependencies -->
145 <groupId>org.springframework.boot</groupId>
146 <artifactId>spring-boot-starter-actuator</artifactId>
148 <!--REQUIRED TO GENERATE DOCUMENTATION -->
150 <groupId>io.springfox</groupId>
151 <artifactId>springfox-swagger2</artifactId>
152 <version>${springfox.version}</version>
155 <groupId>io.springfox</groupId>
156 <artifactId>springfox-swagger-ui</artifactId>
157 <version>${springfox.version}</version>
161 <groupId>org.springdoc</groupId>
162 <artifactId>springdoc-openapi-ui</artifactId>
163 <version>1.6.6</version>
167 <groupId>org.springframework.boot</groupId>
168 <artifactId>spring-boot-starter-test</artifactId>
172 <groupId>org.awaitility</groupId>
173 <artifactId>awaitility</artifactId>
177 <groupId>io.projectreactor</groupId>
178 <artifactId>reactor-test</artifactId>
182 <groupId>org.junit.jupiter</groupId>
183 <artifactId>junit-jupiter-engine</artifactId>
187 <groupId>org.mockito</groupId>
188 <artifactId>mockito-junit-jupiter</artifactId>
192 <groupId>org.mockito</groupId>
193 <artifactId>mockito-core</artifactId>
197 <groupId>com.squareup.okhttp3</groupId>
198 <artifactId>mockwebserver</artifactId>
201 <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema -->
203 <groupId>com.github.erosb</groupId>
204 <artifactId>everit-json-schema</artifactId>
205 <version>1.13.0</version>
208 <groupId>software.amazon.awssdk</groupId>
209 <artifactId>s3</artifactId>
210 <version>${software.amazon.awssdk.version}</version>
213 <groupId>io.micrometer</groupId>
214 <artifactId>micrometer-registry-prometheus</artifactId>
220 <groupId>org.springframework.boot</groupId>
221 <artifactId>spring-boot-maven-plugin</artifactId>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-surefire-plugin</artifactId>
227 <skipTests>false</skipTests>
231 <artifactId>maven-failsafe-plugin</artifactId>
234 <groupId>org.codehaus.mojo</groupId>
235 <artifactId>build-helper-maven-plugin</artifactId>
239 <phase>generate-sources</phase>
241 <goal>add-source</goal>
245 <source>${project.build.directory}/generated-sources/annotations/</source>
252 <groupId>org.jacoco</groupId>
253 <artifactId>jacoco-maven-plugin</artifactId>
254 <version>${jacoco-maven-plugin.version}</version>
257 <id>default-prepare-agent</id>
259 <goal>prepare-agent</goal>
263 <id>default-report</id>
264 <phase>prepare-package</phase>
272 <groupId>io.fabric8</groupId>
273 <artifactId>docker-maven-plugin</artifactId>
274 <version>${docker-maven-plugin}</version>
275 <inherited>false</inherited>
278 <id>generate-a1policymanagementservice-image</id>
279 <phase>package</phase>
284 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
287 <name>o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
289 <cleanup>try</cleanup>
290 <contextDir>${basedir}</contextDir>
291 <dockerFile>Dockerfile</dockerFile>
293 <JAR>${project.build.finalName}.jar</JAR>
296 <tag>${project.version}</tag>
304 <id>push-a1policymanagementservice-image</id>
310 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
311 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
314 <name>o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
316 <contextDir>${basedir}</contextDir>
317 <dockerFile>Dockerfile</dockerFile>
319 <JAR>${project.build.finalName}.jar</JAR>
322 <tag>${project.version}</tag>
332 <!-- support sonar in multi-module project -->
334 <groupId>org.sonarsource.scanner.maven</groupId>
335 <artifactId>sonar-maven-plugin</artifactId>
336 <version>${sonar-maven-plugin.version}</version>
339 <groupId>org.codehaus.mojo</groupId>
340 <artifactId>exec-maven-plugin</artifactId>
341 <version>${exec-maven-plugin.version}</version>
344 <id>git submodule update</id>
345 <phase>initialize</phase>
347 <executable>git</executable>
349 <argument>submodule</argument>
350 <argument>update</argument>
351 <argument>--init</argument>
352 <argument>--recursive</argument>
360 <id>copy configuration</id>
361 <phase>initialize</phase>
363 <executable>cp</executable>
365 <argument>-r</argument>
366 <argument>onap/oran/a1-policy-management/config</argument>
367 <argument>.</argument>
379 <system>JIRA</system>
380 <url>https://jira.o-ran-sc.org/</url>