1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2023 Nordix Foundation. All rights reserved.
7 * Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
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.0.3</version>
33 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
34 <artifactId>pmlog</artifactId>
35 <version>1.1.1-SNAPSHOT</version>
36 <name>NONRTRIC RAN PM Logger</name>
37 <description>Logger for storing selected PM measurements into a time series database (InfluxDB) (O-RAN SC NONRTRIC)</description>
40 <name>The Apache Software License, Version 2.0</name>
41 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
46 <id>onap-releases</id>
47 <name>onap-releases</name>
48 <url>https://nexus.onap.org/content/repositories/releases/</url>
52 <java.version>17</java.version>
53 <gson.version>2.9.0</gson.version>
54 <json.version>20211205</json.version>
55 <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
56 <formatter-maven-plugin.version>2.12.2</formatter-maven-plugin.version>
57 <spotless-maven-plugin.version>1.24.3</spotless-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.10</jacoco-maven-plugin.version>
61 <swagger-codegen-maven-plugin.version>3.0.11</swagger-codegen-maven-plugin.version>
62 <springdoc.version>2.0.2</springdoc.version>
63 <springdoc.openapi-ui.version>1.6.14</springdoc.openapi-ui.version>
64 <exec.skip>true</exec.skip>
69 <groupId>org.springdoc</groupId>
70 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
71 <version>${springdoc.version}</version>
74 <groupId>org.springdoc</groupId>
75 <artifactId>springdoc-openapi-ui</artifactId>
76 <version>${springdoc.openapi-ui.version}</version>
79 <groupId>com.influxdb</groupId>
80 <artifactId>influxdb-client-java</artifactId>
81 <version>6.3.0</version>
84 <groupId>org.springframework.boot</groupId>
85 <artifactId>spring-boot-starter-web</artifactId>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot-starter-thymeleaf</artifactId>
92 <groupId>org.springframework.boot</groupId>
93 <artifactId>spring-boot-starter-webflux</artifactId>
96 <groupId>org.springframework</groupId>
97 <artifactId>spring-webflux</artifactId>
100 <groupId>com.google.code.gson</groupId>
101 <artifactId>gson</artifactId>
104 <groupId>org.projectlombok</groupId>
105 <artifactId>lombok</artifactId>
106 <scope>provided</scope>
108 <!-- Actuator dependencies -->
110 <groupId>org.springframework.boot</groupId>
111 <artifactId>spring-boot-starter-actuator</artifactId>
113 <!-- For development help -->
115 <groupId>org.springframework.boot</groupId>
116 <artifactId>spring-boot-devtools</artifactId>
117 <optional>true</optional>
120 <groupId>org.springframework.boot</groupId>
121 <artifactId>spring-boot-configuration-processor</artifactId>
122 <optional>true</optional>
125 <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema -->
127 <groupId>com.github.erosb</groupId>
128 <artifactId>everit-json-schema</artifactId>
129 <version>1.12.1</version>
133 <groupId>com.schibsted.spt.data</groupId>
134 <artifactId>jslt</artifactId>
135 <version>0.1.11</version>
138 <groupId>com.jayway.jsonpath</groupId>
139 <artifactId>json-path</artifactId>
140 <version>2.7.0</version>
143 <groupId>org.springframework.boot</groupId>
144 <artifactId>spring-boot-starter-test</artifactId>
148 <groupId>org.awaitility</groupId>
149 <artifactId>awaitility</artifactId>
153 <groupId>io.projectreactor</groupId>
154 <artifactId>reactor-test</artifactId>
158 <groupId>org.junit.jupiter</groupId>
159 <artifactId>junit-jupiter-engine</artifactId>
163 <groupId>org.mockito</groupId>
164 <artifactId>mockito-junit-jupiter</artifactId>
168 <groupId>org.mockito</groupId>
169 <artifactId>mockito-core</artifactId>
173 <groupId>io.projectreactor.kafka</groupId>
174 <artifactId>reactor-kafka</artifactId>
175 <version>1.3.13</version>
178 <groupId>com.google.guava</groupId>
179 <artifactId>guava</artifactId>
180 <version>31.0.1-jre</version>
183 <groupId>software.amazon.awssdk</groupId>
184 <artifactId>s3</artifactId>
185 <version>2.17.292</version>
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.fabric8</groupId>
270 <artifactId>docker-maven-plugin</artifactId>
271 <version>${docker-maven-plugin}</version>
272 <inherited>false</inherited>
275 <id>generate-nonrtric-plt-pmlog-image</id>
276 <phase>package</phase>
281 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
284 <name>o-ran-sc/nonrtric-plt-pmlog:${project.version}</name>
286 <cleanup>try</cleanup>
287 <contextDir>${basedir}</contextDir>
288 <dockerFile>Dockerfile</dockerFile>
290 <JAR>${project.build.finalName}.jar</JAR>
293 <tag>${project.version}</tag>
301 <id>push-nonrtric-plt-pmlog-image</id>
307 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
308 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
311 <name>o-ran-sc/nonrtric-plt-pmlog:${project.version}</name>
313 <contextDir>${basedir}</contextDir>
314 <dockerFile>Dockerfile</dockerFile>
316 <JAR>${project.build.finalName}.jar</JAR>
319 <tag>${project.version}</tag>
329 <!-- support sonar in multi-module project -->
331 <groupId>org.sonarsource.scanner.maven</groupId>
332 <artifactId>sonar-maven-plugin</artifactId>
333 <version>${sonar-maven-plugin.version}</version>
336 <groupId>io.swagger.codegen.v3</groupId>
337 <artifactId>swagger-codegen-maven-plugin</artifactId>
338 <version>${swagger-codegen-maven-plugin.version}</version>
343 <goal>generate</goal>
346 <inputSpec>${project.basedir}/api/pmlog-api.json</inputSpec>
347 <language>openapi-yaml</language>
348 <output>${project.basedir}/api</output>
350 <outputFile>pmlog-api.yaml</outputFile>
359 <system>JIRA</system>
360 <url>https://jira.o-ran-sc.org/</url>