1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2019-2023 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>3.0.4</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>17</java.version>
50 <json.version>20220924</json.version>
51 <maven-compiler-plugin.version>3.10.0</maven-compiler-plugin.version>
52 <formatter-maven-plugin.version>2.13.0</formatter-maven-plugin.version>
53 <spotless-maven-plugin.version>2.30.0</spotless-maven-plugin.version>
54 <docker-maven-plugin>0.30.0</docker-maven-plugin>
55 <javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
56 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
57 <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
58 <exec-maven-plugin.version>3.1.0</exec-maven-plugin.version>
59 <software.amazon.awssdk.version>2.19.17</software.amazon.awssdk.version>
60 <springdoc.version>2.0.2</springdoc.version>
61 <springdoc.openapi-ui.version>1.6.14</springdoc.openapi-ui.version>
65 <groupId>commons-io</groupId>
66 <artifactId>commons-io</artifactId>
67 <version>2.11.0</version>
70 <groupId>com.google.guava</groupId>
71 <artifactId>guava</artifactId>
72 <version>31.1-jre</version>
75 <groupId>org.springframework.boot</groupId>
76 <artifactId>spring-boot-starter-web</artifactId>
79 <groupId>org.springframework.boot</groupId>
80 <artifactId>spring-boot-starter-thymeleaf</artifactId>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-starter-webflux</artifactId>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-starter-aop</artifactId>
91 <groupId>org.springframework.boot</groupId>
92 <artifactId>spring-boot-devtools</artifactId>
93 <optional>true</optional>
96 <groupId>org.springframework.boot</groupId>
97 <artifactId>spring-boot-starter-validation</artifactId>
100 <groupId>org.springframework</groupId>
101 <artifactId>spring-webflux</artifactId>
104 <groupId>com.google.code.gson</groupId>
105 <artifactId>gson</artifactId>
106 <version>${gson.version}</version>
109 <groupId>org.json</groupId>
110 <artifactId>json</artifactId>
111 <version>${json.version}</version>
114 <groupId>org.springframework.boot</groupId>
115 <artifactId>spring-boot-configuration-processor</artifactId>
116 <optional>true</optional>
119 <groupId>org.projectlombok</groupId>
120 <artifactId>lombok</artifactId>
121 <scope>provided</scope>
124 <groupId>javax.ws.rs</groupId>
125 <artifactId>javax.ws.rs-api</artifactId>
126 <version>${javax.ws.rs-api.version}</version>
129 <groupId>org.glassfish.jersey.inject</groupId>
130 <artifactId>jersey-hk2</artifactId>
132 <!-- Actuator dependencies -->
134 <groupId>org.springframework.boot</groupId>
135 <artifactId>spring-boot-starter-actuator</artifactId>
138 TO GENERATE DOCUMENTATION -->
140 <groupId>org.springdoc</groupId>
141 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
142 <version>${springdoc.version}</version>
145 <groupId>org.springdoc</groupId>
146 <artifactId>springdoc-openapi-ui</artifactId>
147 <version>${springdoc.openapi-ui.version}</version>
151 <groupId>org.springframework.boot</groupId>
152 <artifactId>spring-boot-starter-test</artifactId>
156 <groupId>org.awaitility</groupId>
157 <artifactId>awaitility</artifactId>
161 <groupId>io.projectreactor</groupId>
162 <artifactId>reactor-test</artifactId>
166 <groupId>org.junit.jupiter</groupId>
167 <artifactId>junit-jupiter-engine</artifactId>
171 <groupId>org.mockito</groupId>
172 <artifactId>mockito-junit-jupiter</artifactId>
176 <groupId>org.mockito</groupId>
177 <artifactId>mockito-core</artifactId>
181 <groupId>com.squareup.okhttp3</groupId>
182 <artifactId>mockwebserver</artifactId>
185 <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema -->
187 <groupId>com.github.erosb</groupId>
188 <artifactId>everit-json-schema</artifactId>
189 <version>1.14.1</version>
192 <groupId>software.amazon.awssdk</groupId>
193 <artifactId>s3</artifactId>
194 <version>${software.amazon.awssdk.version}</version>
197 <groupId>io.micrometer</groupId>
198 <artifactId>micrometer-registry-prometheus</artifactId>
204 <groupId>org.springframework.boot</groupId>
205 <artifactId>spring-boot-maven-plugin</artifactId>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-surefire-plugin</artifactId>
211 <skipTests>false</skipTests>
215 <artifactId>maven-failsafe-plugin</artifactId>
218 <groupId>org.codehaus.mojo</groupId>
219 <artifactId>build-helper-maven-plugin</artifactId>
223 <phase>generate-sources</phase>
225 <goal>add-source</goal>
229 <source>${project.build.directory}/generated-sources/annotations/</source>
236 <groupId>org.jacoco</groupId>
237 <artifactId>jacoco-maven-plugin</artifactId>
238 <version>${jacoco-maven-plugin.version}</version>
241 <id>default-prepare-agent</id>
243 <goal>prepare-agent</goal>
247 <id>default-report</id>
248 <phase>prepare-package</phase>
256 <groupId>io.fabric8</groupId>
257 <artifactId>docker-maven-plugin</artifactId>
258 <version>${docker-maven-plugin}</version>
259 <inherited>false</inherited>
262 <id>generate-a1policymanagementservice-image</id>
263 <phase>package</phase>
268 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
272 o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
274 <cleanup>try</cleanup>
275 <contextDir>${basedir}</contextDir>
276 <dockerFile>Dockerfile</dockerFile>
278 <JAR>${project.build.finalName}.jar</JAR>
281 <tag>${project.version}</tag>
289 <id>push-a1policymanagementservice-image</id>
295 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
296 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
300 o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
302 <contextDir>${basedir}</contextDir>
303 <dockerFile>Dockerfile</dockerFile>
305 <JAR>${project.build.finalName}.jar</JAR>
308 <tag>${project.version}</tag>
318 <!-- support sonar in multi-module project -->
320 <groupId>org.sonarsource.scanner.maven</groupId>
321 <artifactId>sonar-maven-plugin</artifactId>
322 <version>${sonar-maven-plugin.version}</version>
325 <groupId>org.codehaus.mojo</groupId>
326 <artifactId>exec-maven-plugin</artifactId>
327 <version>${exec-maven-plugin.version}</version>
330 <id>git submodule update</id>
331 <phase>initialize</phase>
333 <executable>git</executable>
335 <argument>submodule</argument>
336 <argument>update</argument>
337 <argument>--init</argument>
338 <argument>--recursive</argument>
346 <id>copy configuration</id>
347 <phase>initialize</phase>
349 <executable>cp</executable>
351 <argument>-r</argument>
352 <argument>onap/oran/a1-policy-management/config</argument>
353 <argument>.</argument>
365 <system>JIRA</system>
366 <url>https://jira.o-ran-sc.org/</url>