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.8</version>
32 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
33 <artifactId>a1policymanagementservice</artifactId>
34 <version>2.5.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>20211205</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>
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.0.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</groupId>
97 <artifactId>spring-webflux</artifactId>
100 <groupId>io.swagger.core.v3</groupId>
101 <artifactId>swagger-jaxrs2</artifactId>
102 <version>${swagger.version}</version>
105 <groupId>io.swagger.core.v3</groupId>
106 <artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
107 <version>${swagger.version}</version>
110 <groupId>javax.xml.bind</groupId>
111 <artifactId>jaxb-api</artifactId>
114 <groupId>com.google.code.gson</groupId>
115 <artifactId>gson</artifactId>
116 <version>${gson.version}</version>
119 <groupId>org.json</groupId>
120 <artifactId>json</artifactId>
121 <version>${json.version}</version>
124 <groupId>org.springframework.boot</groupId>
125 <artifactId>spring-boot-configuration-processor</artifactId>
126 <optional>true</optional>
129 <groupId>org.projectlombok</groupId>
130 <artifactId>lombok</artifactId>
131 <scope>provided</scope>
134 <groupId>javax.ws.rs</groupId>
135 <artifactId>javax.ws.rs-api</artifactId>
136 <version>${javax.ws.rs-api.version}</version>
139 <groupId>org.glassfish.jersey.inject</groupId>
140 <artifactId>jersey-hk2</artifactId>
142 <!-- Actuator dependencies -->
144 <groupId>org.springframework.boot</groupId>
145 <artifactId>spring-boot-starter-actuator</artifactId>
147 <!--REQUIRED TO GENERATE DOCUMENTATION -->
149 <groupId>io.springfox</groupId>
150 <artifactId>springfox-swagger2</artifactId>
151 <version>${springfox.version}</version>
154 <groupId>io.springfox</groupId>
155 <artifactId>springfox-swagger-ui</artifactId>
156 <version>${springfox.version}</version>
160 <groupId>org.springdoc</groupId>
161 <artifactId>springdoc-openapi-ui</artifactId>
162 <version>1.6.6</version>
166 <groupId>org.springframework.boot</groupId>
167 <artifactId>spring-boot-starter-test</artifactId>
171 <groupId>org.awaitility</groupId>
172 <artifactId>awaitility</artifactId>
176 <groupId>io.projectreactor</groupId>
177 <artifactId>reactor-test</artifactId>
181 <groupId>org.junit.jupiter</groupId>
182 <artifactId>junit-jupiter-engine</artifactId>
186 <groupId>org.mockito</groupId>
187 <artifactId>mockito-junit-jupiter</artifactId>
191 <groupId>org.mockito</groupId>
192 <artifactId>mockito-core</artifactId>
196 <groupId>com.squareup.okhttp3</groupId>
197 <artifactId>mockwebserver</artifactId>
200 <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema -->
202 <groupId>com.github.erosb</groupId>
203 <artifactId>everit-json-schema</artifactId>
204 <version>1.13.0</version>
210 <groupId>org.springframework.boot</groupId>
211 <artifactId>spring-boot-maven-plugin</artifactId>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-surefire-plugin</artifactId>
217 <skipTests>false</skipTests>
221 <artifactId>maven-failsafe-plugin</artifactId>
224 <groupId>org.codehaus.mojo</groupId>
225 <artifactId>build-helper-maven-plugin</artifactId>
229 <phase>generate-sources</phase>
231 <goal>add-source</goal>
235 <source>${project.build.directory}/generated-sources/annotations/</source>
242 <groupId>org.jacoco</groupId>
243 <artifactId>jacoco-maven-plugin</artifactId>
244 <version>${jacoco-maven-plugin.version}</version>
247 <id>default-prepare-agent</id>
249 <goal>prepare-agent</goal>
253 <id>default-report</id>
254 <phase>prepare-package</phase>
262 <groupId>io.fabric8</groupId>
263 <artifactId>docker-maven-plugin</artifactId>
264 <version>${docker-maven-plugin}</version>
265 <inherited>false</inherited>
268 <id>generate-a1policymanagementservice-image</id>
269 <phase>package</phase>
274 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
277 <name>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>
304 <name>o-ran-sc/nonrtric-plt-a1policymanagementservice:${project.version}</name>
306 <contextDir>${basedir}</contextDir>
307 <dockerFile>Dockerfile</dockerFile>
309 <JAR>${project.build.finalName}.jar</JAR>
312 <tag>${project.version}</tag>
322 <!-- support sonar in multi-module project -->
324 <groupId>org.sonarsource.scanner.maven</groupId>
325 <artifactId>sonar-maven-plugin</artifactId>
326 <version>${sonar-maven-plugin.version}</version>
329 <groupId>org.codehaus.mojo</groupId>
330 <artifactId>exec-maven-plugin</artifactId>
331 <version>${exec-maven-plugin.version}</version>
334 <id>git submodule update</id>
335 <phase>initialize</phase>
337 <executable>git</executable>
339 <argument>submodule</argument>
340 <argument>update</argument>
341 <argument>--init</argument>
342 <argument>--recursive</argument>
350 <id>copy configuration</id>
351 <phase>initialize</phase>
353 <executable>cp</executable>
355 <argument>-r</argument>
356 <argument>onap/oran/a1-policy-management/config</argument>
357 <argument>.</argument>
369 <system>JIRA</system>
370 <url>https://jira.o-ran-sc.org/</url>