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.5.3</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>20190722</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 <version.dmaap>1.1.11</version.dmaap>
60 <javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
61 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
62 <jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version>
63 <exec.skip>true</exec.skip>
67 <groupId>org.springdoc</groupId>
68 <artifactId>springdoc-openapi-ui</artifactId>
69 <version>1.5.4</version>
72 <groupId>org.springframework.boot</groupId>
73 <artifactId>spring-boot-starter-web</artifactId>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-thymeleaf</artifactId>
80 <groupId>org.springframework.boot</groupId>
81 <artifactId>spring-boot-starter-webflux</artifactId>
84 <groupId>org.springframework</groupId>
85 <artifactId>spring-webflux</artifactId>
88 <groupId>io.swagger.core.v3</groupId>
89 <artifactId>swagger-jaxrs2</artifactId>
90 <version>${swagger.version}</version>
93 <groupId>io.swagger.core.v3</groupId>
94 <artifactId>swagger-jaxrs2-servlet-initializer</artifactId>
95 <version>${swagger.version}</version>
98 <groupId>org.immutables</groupId>
99 <artifactId>value</artifactId>
100 <version>${immutable.version}</version>
101 <scope>provided</scope>
104 <groupId>org.immutables</groupId>
105 <artifactId>gson</artifactId>
106 <version>${immutable.version}</version>
109 <groupId>org.json</groupId>
110 <artifactId>json</artifactId>
111 <version>${json.version}</version>
114 <groupId>org.projectlombok</groupId>
115 <artifactId>lombok</artifactId>
116 <scope>provided</scope>
118 <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema -->
120 <groupId>com.github.erosb</groupId>
121 <artifactId>everit-json-schema</artifactId>
122 <version>1.12.1</version>
124 <!-- Actuator dependencies -->
126 <groupId>org.springframework.boot</groupId>
127 <artifactId>spring-boot-starter-actuator</artifactId>
129 <!--REQUIRED TO GENERATE DOCUMENTATION -->
131 <groupId>io.springfox</groupId>
132 <artifactId>springfox-swagger2</artifactId>
133 <version>${springfox.version}</version>
136 <groupId>io.springfox</groupId>
137 <artifactId>springfox-swagger-ui</artifactId>
138 <version>${springfox.version}</version>
140 <!-- For development help -->
142 <groupId>org.springframework.boot</groupId>
143 <artifactId>spring-boot-devtools</artifactId>
144 <optional>true</optional>
147 <groupId>org.springframework.boot</groupId>
148 <artifactId>spring-boot-configuration-processor</artifactId>
149 <optional>true</optional>
153 <groupId>org.springframework.boot</groupId>
154 <artifactId>spring-boot-starter-test</artifactId>
158 <groupId>org.awaitility</groupId>
159 <artifactId>awaitility</artifactId>
163 <groupId>io.projectreactor</groupId>
164 <artifactId>reactor-test</artifactId>
168 <groupId>org.junit.jupiter</groupId>
169 <artifactId>junit-jupiter-engine</artifactId>
173 <groupId>org.mockito</groupId>
174 <artifactId>mockito-junit-jupiter</artifactId>
178 <groupId>org.mockito</groupId>
179 <artifactId>mockito-core</artifactId>
183 <groupId>com.squareup.okhttp3</groupId>
184 <artifactId>mockwebserver</artifactId>
191 <groupId>org.springframework.boot</groupId>
192 <artifactId>spring-boot-maven-plugin</artifactId>
195 <groupId>net.revelc.code.formatter</groupId>
196 <artifactId>formatter-maven-plugin</artifactId>
197 <version>${formatter-maven-plugin.version}</version>
199 <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
201 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
202 spotless:apply process-sources -->
205 <groupId>com.diffplug.spotless</groupId>
206 <artifactId>spotless-maven-plugin</artifactId>
207 <version>${spotless-maven-plugin.version}</version>
210 <removeUnusedImports />
212 <order>com,java,javax,org</order>
216 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
217 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-surefire-plugin</artifactId>
224 <skipTests>false</skipTests>
228 <artifactId>maven-failsafe-plugin</artifactId>
231 <groupId>org.codehaus.mojo</groupId>
232 <artifactId>build-helper-maven-plugin</artifactId>
236 <phase>generate-sources</phase>
238 <goal>add-source</goal>
242 <source>${project.build.directory}/generated-sources/annotations/</source>
249 <groupId>org.jacoco</groupId>
250 <artifactId>jacoco-maven-plugin</artifactId>
251 <version>${jacoco-maven-plugin.version}</version>
254 <id>default-prepare-agent</id>
256 <goal>prepare-agent</goal>
260 <id>default-report</id>
261 <phase>prepare-package</phase>
269 <groupId>io.swagger.codegen.v3</groupId>
270 <artifactId>swagger-codegen-maven-plugin</artifactId>
271 <version>${swagger-codegen-maven-plugin.version}</version>
276 <goal>generate</goal>
279 <inputSpec>${project.basedir}/api/ics-api.json</inputSpec>
280 <language>openapi-yaml</language>
281 <output>${project.basedir}/api</output>
283 <outputFile>ics-api.yaml</outputFile>
290 <groupId>io.fabric8</groupId>
291 <artifactId>docker-maven-plugin</artifactId>
292 <version>${docker-maven-plugin}</version>
293 <inherited>false</inherited>
296 <id>generate-information-coordinator-service-image</id>
297 <phase>package</phase>
302 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
305 <name>o-ran-sc/nonrtric-information-coordinator-service:${project.version}</name>
307 <cleanup>try</cleanup>
308 <contextDir>${basedir}</contextDir>
309 <dockerFile>Dockerfile</dockerFile>
311 <JAR>${project.build.finalName}.jar</JAR>
314 <tag>${project.version}</tag>
322 <id>push-information-coordinator-service-image</id>
328 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
329 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
332 <name>o-ran-sc/nonrtric-information-coordinator-service:${project.version}</name>
334 <contextDir>${basedir}</contextDir>
335 <dockerFile>Dockerfile</dockerFile>
337 <JAR>${project.build.finalName}.jar</JAR>
340 <tag>${project.version}</tag>
350 <!-- support sonar in multi-module project -->
352 <groupId>org.sonarsource.scanner.maven</groupId>
353 <artifactId>sonar-maven-plugin</artifactId>
354 <version>${sonar-maven-plugin.version}</version>
359 <system>JIRA</system>
360 <url>https://jira.o-ran-sc.org/</url>