1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2019-2023: Nordix Foundation
7 * Copyright (C) 2023: OpenInfra Foundation Europe
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ========================LICENSE_END===================================
23 xmlns="http://maven.apache.org/POM/4.0.0"
24 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
26 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.springframework.boot</groupId>
29 <artifactId>spring-boot-starter-parent</artifactId>
30 <version>3.2.0</version>
33 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
34 <artifactId>a1policymanagementservice</artifactId>
35 <version>2.7.0-SNAPSHOT</version>
38 <name>The Apache Software License, Version 2.0</name>
39 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
44 <id>onap-releases</id>
45 <name>onap-releases</name>
46 <url>https://nexus.onap.org/content/repositories/releases/</url>
50 <java.version>17</java.version>
51 <json.version>20231013</json.version>
52 <maven-compiler-plugin.version>3.10.0</maven-compiler-plugin.version>
53 <formatter-maven-plugin.version>2.13.0</formatter-maven-plugin.version>
54 <spotless-maven-plugin.version>2.30.0</spotless-maven-plugin.version>
55 <docker-maven-plugin>0.43.0</docker-maven-plugin>
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>
62 <surefire-maven-plugin.version>3.0.0-M8</surefire-maven-plugin.version>
63 <surefire-report-plugin.version>3.0.0-M8</surefire-report-plugin.version>
67 <groupId>commons-io</groupId>
68 <artifactId>commons-io</artifactId>
69 <version>2.14.0</version>
72 <groupId>com.google.guava</groupId>
73 <artifactId>guava</artifactId>
74 <version>32.0.1-jre</version>
77 <groupId>org.springframework.boot</groupId>
78 <artifactId>spring-boot-starter-web</artifactId>
81 <groupId>org.springframework.boot</groupId>
82 <artifactId>spring-boot-starter-thymeleaf</artifactId>
85 <groupId>org.springframework.boot</groupId>
86 <artifactId>spring-boot-starter-webflux</artifactId>
89 <groupId>org.springframework.boot</groupId>
90 <artifactId>spring-boot-starter-aop</artifactId>
93 <groupId>org.springframework.boot</groupId>
94 <artifactId>spring-boot-devtools</artifactId>
95 <optional>true</optional>
98 <groupId>org.springframework.boot</groupId>
99 <artifactId>spring-boot-starter-validation</artifactId>
102 <groupId>org.springframework</groupId>
103 <artifactId>spring-webflux</artifactId>
106 <groupId>com.google.code.gson</groupId>
107 <artifactId>gson</artifactId>
108 <version>${gson.version}</version>
111 <groupId>org.json</groupId>
112 <artifactId>json</artifactId>
113 <version>${json.version}</version>
116 <groupId>org.springframework.boot</groupId>
117 <artifactId>spring-boot-configuration-processor</artifactId>
118 <optional>true</optional>
121 <groupId>org.projectlombok</groupId>
122 <artifactId>lombok</artifactId>
123 <scope>provided</scope>
126 <groupId>org.glassfish.jersey.inject</groupId>
127 <artifactId>jersey-hk2</artifactId>
129 <!-- Actuator dependencies -->
131 <groupId>org.springframework.boot</groupId>
132 <artifactId>spring-boot-starter-actuator</artifactId>
135 TO GENERATE DOCUMENTATION -->
137 <groupId>org.springdoc</groupId>
138 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
139 <version>${springdoc.version}</version>
142 <groupId>org.springdoc</groupId>
143 <artifactId>springdoc-openapi-ui</artifactId>
144 <version>${springdoc.openapi-ui.version}</version>
148 <groupId>org.springframework.boot</groupId>
149 <artifactId>spring-boot-starter-test</artifactId>
153 <groupId>org.awaitility</groupId>
154 <artifactId>awaitility</artifactId>
158 <groupId>io.projectreactor</groupId>
159 <artifactId>reactor-test</artifactId>
163 <groupId>org.junit.jupiter</groupId>
164 <artifactId>junit-jupiter-engine</artifactId>
168 <groupId>org.mockito</groupId>
169 <artifactId>mockito-junit-jupiter</artifactId>
173 <groupId>org.mockito</groupId>
174 <artifactId>mockito-core</artifactId>
178 <groupId>com.squareup.okhttp3</groupId>
179 <artifactId>mockwebserver</artifactId>
183 <groupId>com.github.erosb</groupId>
184 <artifactId>everit-json-schema</artifactId>
185 <version>1.14.1</version>
188 <groupId>software.amazon.awssdk</groupId>
189 <artifactId>s3</artifactId>
190 <version>${software.amazon.awssdk.version}</version>
193 <groupId>io.micrometer</groupId>
194 <artifactId>micrometer-registry-prometheus</artifactId>
200 <groupId>org.springframework.boot</groupId>
201 <artifactId>spring-boot-maven-plugin</artifactId>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-surefire-plugin</artifactId>
206 <version>${surefire-maven-plugin.version}</version>
208 <skipTests>false</skipTests>
212 <artifactId>maven-failsafe-plugin</artifactId>
215 <groupId>org.codehaus.mojo</groupId>
216 <artifactId>build-helper-maven-plugin</artifactId>
220 <phase>generate-sources</phase>
222 <goal>add-source</goal>
226 <source>${project.build.directory}/generated-sources/annotations/</source>
233 <groupId>org.jacoco</groupId>
234 <artifactId>jacoco-maven-plugin</artifactId>
235 <version>${jacoco-maven-plugin.version}</version>
238 <id>default-prepare-agent</id>
240 <goal>prepare-agent</goal>
244 <id>default-report</id>
245 <phase>prepare-package</phase>
253 <groupId>io.fabric8</groupId>
254 <artifactId>docker-maven-plugin</artifactId>
255 <version>${docker-maven-plugin}</version>
256 <inherited>false</inherited>
259 <id>generate-a1policymanagementservice-image</id>
260 <phase>package</phase>
265 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
269 o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
271 <cleanup>try</cleanup>
272 <contextDir>${basedir}</contextDir>
273 <dockerFile>Dockerfile</dockerFile>
274 <filter>false</filter>
276 <JAR>${project.build.finalName}.jar</JAR>
279 <tag>${project.version}</tag>
287 <id>push-a1policymanagementservice-image</id>
293 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
294 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
298 o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
300 <contextDir>${basedir}</contextDir>
301 <dockerFile>Dockerfile</dockerFile>
302 <filter>false</filter>
304 <JAR>${project.build.finalName}.jar</JAR>
307 <tag>${project.version}</tag>
317 <!-- support sonar in multi-module project -->
319 <groupId>org.sonarsource.scanner.maven</groupId>
320 <artifactId>sonar-maven-plugin</artifactId>
321 <version>${sonar-maven-plugin.version}</version>
324 <groupId>org.codehaus.mojo</groupId>
325 <artifactId>exec-maven-plugin</artifactId>
326 <version>${exec-maven-plugin.version}</version>
329 <id>git submodule update</id>
330 <phase>initialize</phase>
332 <executable>git</executable>
334 <argument>submodule</argument>
335 <argument>update</argument>
336 <argument>--init</argument>
337 <argument>--recursive</argument>
345 <id>copy configuration</id>
346 <phase>initialize</phase>
348 <executable>cp</executable>
350 <argument>-r</argument>
351 <argument>onap/oran/a1-policy-management/config</argument>
352 <argument>.</argument>
364 <system>JIRA</system>
365 <url>https://jira.o-ran-sc.org/</url>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-surefire-report-plugin</artifactId>
372 <version>${surefire-report-plugin.version}</version>