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.2</version>
32 <groupId>org.o-ran-sc.nonrtric</groupId>
33 <artifactId>information-coordinator-service</artifactId>
34 <version>1.3.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 <immutable.version>2.8.2</immutable.version>
52 <swagger.version>2.1.6</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.24.3</spotless-maven-plugin.version>
57 <swagger-codegen-maven-plugin.version>3.0.11</swagger-codegen-maven-plugin.version>
58 <docker-maven-plugin>0.30.0</docker-maven-plugin>
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.skip>true</exec.skip>
65 <groupId>org.springdoc</groupId>
66 <artifactId>springdoc-openapi-ui</artifactId>
67 <version>1.6.3</version>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-web</artifactId>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-thymeleaf</artifactId>
78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-starter-webflux</artifactId>
82 <groupId>org.springframework</groupId>
83 <artifactId>spring-webflux</artifactId>
86 <groupId>io.swagger.core.v3</groupId>
87 <artifactId>swagger-jaxrs2</artifactId>
88 <version>${swagger.version}</version>
91 <groupId>io.swagger.core.v3</groupId>
92 <artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
93 <version>${swagger.version}</version>
96 <groupId>org.immutables</groupId>
97 <artifactId>value</artifactId>
98 <version>${immutable.version}</version>
99 <scope>provided</scope>
102 <groupId>org.immutables</groupId>
103 <artifactId>gson</artifactId>
104 <version>${immutable.version}</version>
107 <groupId>org.json</groupId>
108 <artifactId>json</artifactId>
109 <version>${json.version}</version>
112 <groupId>org.projectlombok</groupId>
113 <artifactId>lombok</artifactId>
114 <scope>provided</scope>
116 <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema -->
118 <groupId>com.github.erosb</groupId>
119 <artifactId>everit-json-schema</artifactId>
120 <version>1.12.1</version>
122 <!-- Actuator dependencies -->
124 <groupId>org.springframework.boot</groupId>
125 <artifactId>spring-boot-starter-actuator</artifactId>
127 <!--REQUIRED TO GENERATE DOCUMENTATION -->
129 <groupId>io.springfox</groupId>
130 <artifactId>springfox-swagger2</artifactId>
131 <version>${springfox.version}</version>
134 <groupId>io.springfox</groupId>
135 <artifactId>springfox-swagger-ui</artifactId>
136 <version>${springfox.version}</version>
138 <!-- For development help -->
140 <groupId>org.springframework.boot</groupId>
141 <artifactId>spring-boot-devtools</artifactId>
142 <optional>true</optional>
145 <groupId>org.springframework.boot</groupId>
146 <artifactId>spring-boot-configuration-processor</artifactId>
147 <optional>true</optional>
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>
189 <groupId>org.springframework.boot</groupId>
190 <artifactId>spring-boot-maven-plugin</artifactId>
193 <groupId>net.revelc.code.formatter</groupId>
194 <artifactId>formatter-maven-plugin</artifactId>
195 <version>${formatter-maven-plugin.version}</version>
197 <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
199 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
200 spotless:apply process-sources -->
203 <groupId>com.diffplug.spotless</groupId>
204 <artifactId>spotless-maven-plugin</artifactId>
205 <version>${spotless-maven-plugin.version}</version>
208 <removeUnusedImports />
210 <order>com,java,org</order>
214 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
215 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-surefire-plugin</artifactId>
222 <skipTests>false</skipTests>
226 <artifactId>maven-failsafe-plugin</artifactId>
229 <groupId>org.codehaus.mojo</groupId>
230 <artifactId>build-helper-maven-plugin</artifactId>
234 <phase>generate-sources</phase>
236 <goal>add-source</goal>
240 <source>${project.build.directory}/generated-sources/annotations/</source>
247 <groupId>org.jacoco</groupId>
248 <artifactId>jacoco-maven-plugin</artifactId>
249 <version>${jacoco-maven-plugin.version}</version>
252 <id>default-prepare-agent</id>
254 <goal>prepare-agent</goal>
258 <id>default-report</id>
259 <phase>prepare-package</phase>
267 <groupId>io.swagger.codegen.v3</groupId>
268 <artifactId>swagger-codegen-maven-plugin</artifactId>
269 <version>${swagger-codegen-maven-plugin.version}</version>
274 <goal>generate</goal>
277 <inputSpec>${project.basedir}/api/ics-api.json</inputSpec>
278 <language>openapi-yaml</language>
279 <output>${project.basedir}/api</output>
281 <outputFile>ics-api.yaml</outputFile>
288 <groupId>io.fabric8</groupId>
289 <artifactId>docker-maven-plugin</artifactId>
290 <version>${docker-maven-plugin}</version>
291 <inherited>false</inherited>
294 <id>generate-information-coordinator-service-image</id>
295 <phase>package</phase>
300 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
303 <name>o-ran-sc/nonrtric-information-coordinator-service:${project.version}</name>
305 <cleanup>try</cleanup>
306 <contextDir>${basedir}</contextDir>
307 <dockerFile>Dockerfile</dockerFile>
309 <JAR>${project.build.finalName}.jar</JAR>
312 <tag>${project.version}</tag>
320 <id>push-information-coordinator-service-image</id>
326 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
327 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
330 <name>o-ran-sc/nonrtric-information-coordinator-service:${project.version}</name>
332 <contextDir>${basedir}</contextDir>
333 <dockerFile>Dockerfile</dockerFile>
335 <JAR>${project.build.finalName}.jar</JAR>
338 <tag>${project.version}</tag>
348 <!-- support sonar in multi-module project -->
350 <groupId>org.sonarsource.scanner.maven</groupId>
351 <artifactId>sonar-maven-plugin</artifactId>
352 <version>${sonar-maven-plugin.version}</version>
357 <system>JIRA</system>
358 <url>https://jira.o-ran-sc.org/</url>