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>
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>javax.ws.rs</groupId>
124 <artifactId>javax.ws.rs-api</artifactId>
125 <version>${javax.ws.rs-api.version}</version>
128 <groupId>org.glassfish.jersey.inject</groupId>
129 <artifactId>jersey-hk2</artifactId>
131 <!-- Actuator dependencies -->
133 <groupId>org.springframework.boot</groupId>
134 <artifactId>spring-boot-starter-actuator</artifactId>
137 TO GENERATE DOCUMENTATION -->
139 <groupId>org.springdoc</groupId>
140 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
141 <version>${springdoc.version}</version>
144 <groupId>org.springdoc</groupId>
145 <artifactId>springdoc-openapi-ui</artifactId>
146 <version>${springdoc.version}</version>
150 <groupId>org.springdoc</groupId>
151 <artifactId>springdoc-openapi-ui</artifactId>
152 <version>1.6.14</version>
156 <groupId>org.springframework.boot</groupId>
157 <artifactId>spring-boot-starter-test</artifactId>
161 <groupId>org.awaitility</groupId>
162 <artifactId>awaitility</artifactId>
166 <groupId>io.projectreactor</groupId>
167 <artifactId>reactor-test</artifactId>
171 <groupId>org.junit.jupiter</groupId>
172 <artifactId>junit-jupiter-engine</artifactId>
176 <groupId>org.mockito</groupId>
177 <artifactId>mockito-junit-jupiter</artifactId>
181 <groupId>org.mockito</groupId>
182 <artifactId>mockito-core</artifactId>
186 <groupId>com.squareup.okhttp3</groupId>
187 <artifactId>mockwebserver</artifactId>
190 <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema -->
192 <groupId>com.github.erosb</groupId>
193 <artifactId>everit-json-schema</artifactId>
194 <version>1.14.1</version>
197 <groupId>software.amazon.awssdk</groupId>
198 <artifactId>s3</artifactId>
199 <version>${software.amazon.awssdk.version}</version>
202 <groupId>io.micrometer</groupId>
203 <artifactId>micrometer-registry-prometheus</artifactId>
209 <groupId>org.springframework.boot</groupId>
210 <artifactId>spring-boot-maven-plugin</artifactId>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-surefire-plugin</artifactId>
216 <skipTests>false</skipTests>
220 <artifactId>maven-failsafe-plugin</artifactId>
223 <groupId>org.codehaus.mojo</groupId>
224 <artifactId>build-helper-maven-plugin</artifactId>
228 <phase>generate-sources</phase>
230 <goal>add-source</goal>
234 <source>${project.build.directory}/generated-sources/annotations/</source>
241 <groupId>org.jacoco</groupId>
242 <artifactId>jacoco-maven-plugin</artifactId>
243 <version>${jacoco-maven-plugin.version}</version>
246 <id>default-prepare-agent</id>
248 <goal>prepare-agent</goal>
252 <id>default-report</id>
253 <phase>prepare-package</phase>
261 <groupId>io.fabric8</groupId>
262 <artifactId>docker-maven-plugin</artifactId>
263 <version>${docker-maven-plugin}</version>
264 <inherited>false</inherited>
267 <id>generate-a1policymanagementservice-image</id>
268 <phase>package</phase>
273 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
277 o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
279 <cleanup>try</cleanup>
280 <contextDir>${basedir}</contextDir>
281 <dockerFile>Dockerfile</dockerFile>
283 <JAR>${project.build.finalName}.jar</JAR>
286 <tag>${project.version}</tag>
294 <id>push-a1policymanagementservice-image</id>
300 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
301 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
305 o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
307 <contextDir>${basedir}</contextDir>
308 <dockerFile>Dockerfile</dockerFile>
310 <JAR>${project.build.finalName}.jar</JAR>
313 <tag>${project.version}</tag>
323 <!-- support sonar in multi-module project -->
325 <groupId>org.sonarsource.scanner.maven</groupId>
326 <artifactId>sonar-maven-plugin</artifactId>
327 <version>${sonar-maven-plugin.version}</version>
330 <groupId>org.codehaus.mojo</groupId>
331 <artifactId>exec-maven-plugin</artifactId>
332 <version>${exec-maven-plugin.version}</version>
335 <id>git submodule update</id>
336 <phase>initialize</phase>
338 <executable>git</executable>
340 <argument>submodule</argument>
341 <argument>update</argument>
342 <argument>--init</argument>
343 <argument>--recursive</argument>
351 <id>copy configuration</id>
352 <phase>initialize</phase>
354 <executable>cp</executable>
356 <argument>-r</argument>
357 <argument>onap/oran/a1-policy-management/config</argument>
358 <argument>.</argument>
370 <system>JIRA</system>
371 <url>https://jira.o-ran-sc.org/</url>