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.6</version>
32 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
33 <artifactId>a1policymanagementservice</artifactId>
34 <version>2.7.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>20230227</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 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
56 <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
57 <exec-maven-plugin.version>3.1.0</exec-maven-plugin.version>
58 <software.amazon.awssdk.version>2.19.17</software.amazon.awssdk.version>
59 <springdoc.version>2.0.2</springdoc.version>
60 <springdoc.openapi-ui.version>1.6.14</springdoc.openapi-ui.version>
64 <groupId>commons-io</groupId>
65 <artifactId>commons-io</artifactId>
66 <version>2.11.0</version>
69 <groupId>com.google.guava</groupId>
70 <artifactId>guava</artifactId>
71 <version>31.1-jre</version>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-web</artifactId>
78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-starter-thymeleaf</artifactId>
82 <groupId>org.springframework.boot</groupId>
83 <artifactId>spring-boot-starter-webflux</artifactId>
86 <groupId>org.springframework.boot</groupId>
87 <artifactId>spring-boot-starter-aop</artifactId>
90 <groupId>org.springframework.boot</groupId>
91 <artifactId>spring-boot-devtools</artifactId>
92 <optional>true</optional>
95 <groupId>org.springframework.boot</groupId>
96 <artifactId>spring-boot-starter-validation</artifactId>
99 <groupId>org.springframework</groupId>
100 <artifactId>spring-webflux</artifactId>
103 <groupId>com.google.code.gson</groupId>
104 <artifactId>gson</artifactId>
105 <version>${gson.version}</version>
108 <groupId>org.json</groupId>
109 <artifactId>json</artifactId>
110 <version>${json.version}</version>
113 <groupId>org.springframework.boot</groupId>
114 <artifactId>spring-boot-configuration-processor</artifactId>
115 <optional>true</optional>
118 <groupId>org.projectlombok</groupId>
119 <artifactId>lombok</artifactId>
120 <scope>provided</scope>
123 <groupId>org.glassfish.jersey.inject</groupId>
124 <artifactId>jersey-hk2</artifactId>
126 <!-- Actuator dependencies -->
128 <groupId>org.springframework.boot</groupId>
129 <artifactId>spring-boot-starter-actuator</artifactId>
132 TO GENERATE DOCUMENTATION -->
134 <groupId>org.springdoc</groupId>
135 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
136 <version>${springdoc.version}</version>
139 <groupId>org.springdoc</groupId>
140 <artifactId>springdoc-openapi-ui</artifactId>
141 <version>${springdoc.openapi-ui.version}</version>
145 <groupId>org.springframework.boot</groupId>
146 <artifactId>spring-boot-starter-test</artifactId>
150 <groupId>org.awaitility</groupId>
151 <artifactId>awaitility</artifactId>
155 <groupId>io.projectreactor</groupId>
156 <artifactId>reactor-test</artifactId>
160 <groupId>org.junit.jupiter</groupId>
161 <artifactId>junit-jupiter-engine</artifactId>
165 <groupId>org.mockito</groupId>
166 <artifactId>mockito-junit-jupiter</artifactId>
170 <groupId>org.mockito</groupId>
171 <artifactId>mockito-core</artifactId>
175 <groupId>com.squareup.okhttp3</groupId>
176 <artifactId>mockwebserver</artifactId>
179 <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema -->
181 <groupId>com.github.erosb</groupId>
182 <artifactId>everit-json-schema</artifactId>
183 <version>1.14.1</version>
186 <groupId>software.amazon.awssdk</groupId>
187 <artifactId>s3</artifactId>
188 <version>${software.amazon.awssdk.version}</version>
191 <groupId>io.micrometer</groupId>
192 <artifactId>micrometer-registry-prometheus</artifactId>
198 <groupId>org.springframework.boot</groupId>
199 <artifactId>spring-boot-maven-plugin</artifactId>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-surefire-plugin</artifactId>
205 <skipTests>false</skipTests>
209 <artifactId>maven-failsafe-plugin</artifactId>
212 <groupId>org.codehaus.mojo</groupId>
213 <artifactId>build-helper-maven-plugin</artifactId>
217 <phase>generate-sources</phase>
219 <goal>add-source</goal>
223 <source>${project.build.directory}/generated-sources/annotations/</source>
230 <groupId>org.jacoco</groupId>
231 <artifactId>jacoco-maven-plugin</artifactId>
232 <version>${jacoco-maven-plugin.version}</version>
235 <id>default-prepare-agent</id>
237 <goal>prepare-agent</goal>
241 <id>default-report</id>
242 <phase>prepare-package</phase>
250 <groupId>io.fabric8</groupId>
251 <artifactId>docker-maven-plugin</artifactId>
252 <version>${docker-maven-plugin}</version>
253 <inherited>false</inherited>
256 <id>generate-a1policymanagementservice-image</id>
257 <phase>package</phase>
262 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
266 o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
268 <cleanup>try</cleanup>
269 <contextDir>${basedir}</contextDir>
270 <dockerFile>Dockerfile</dockerFile>
271 <filter>false</filter>
273 <JAR>${project.build.finalName}.jar</JAR>
276 <tag>${project.version}</tag>
284 <id>push-a1policymanagementservice-image</id>
290 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
291 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
295 o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
297 <contextDir>${basedir}</contextDir>
298 <dockerFile>Dockerfile</dockerFile>
299 <filter>false</filter>
301 <JAR>${project.build.finalName}.jar</JAR>
304 <tag>${project.version}</tag>
314 <!-- support sonar in multi-module project -->
316 <groupId>org.sonarsource.scanner.maven</groupId>
317 <artifactId>sonar-maven-plugin</artifactId>
318 <version>${sonar-maven-plugin.version}</version>
321 <groupId>org.codehaus.mojo</groupId>
322 <artifactId>exec-maven-plugin</artifactId>
323 <version>${exec-maven-plugin.version}</version>
326 <id>git submodule update</id>
327 <phase>initialize</phase>
329 <executable>git</executable>
331 <argument>submodule</argument>
332 <argument>update</argument>
333 <argument>--init</argument>
334 <argument>--recursive</argument>
342 <id>copy configuration</id>
343 <phase>initialize</phase>
345 <executable>cp</executable>
347 <argument>-r</argument>
348 <argument>onap/oran/a1-policy-management/config</argument>
349 <argument>.</argument>
361 <system>JIRA</system>
362 <url>https://jira.o-ran-sc.org/</url>