1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2023 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.7.8</version>
32 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
33 <artifactId>pmlog</artifactId>
34 <version>1.0.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.2.1</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 <docker-maven-plugin>0.30.0</docker-maven-plugin>
58 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
59 <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
60 <swagger-codegen-maven-plugin.version>3.0.11</swagger-codegen-maven-plugin.version>
61 <exec.skip>true</exec.skip>
65 <groupId>com.influxdb</groupId>
66 <artifactId>influxdb-client-java</artifactId>
67 <version>6.3.0</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>com.google.code.gson</groupId>
97 <artifactId>gson</artifactId>
100 <groupId>org.projectlombok</groupId>
101 <artifactId>lombok</artifactId>
102 <scope>provided</scope>
104 <!-- Actuator dependencies -->
106 <groupId>org.springframework.boot</groupId>
107 <artifactId>spring-boot-starter-actuator</artifactId>
109 <!--REQUIRED TO GENERATE DOCUMENTATION -->
111 <groupId>io.springfox</groupId>
112 <artifactId>springfox-swagger2</artifactId>
113 <version>${springfox.version}</version>
116 <groupId>io.springfox</groupId>
117 <artifactId>springfox-swagger-ui</artifactId>
118 <version>${springfox.version}</version>
120 <!-- For development help -->
122 <groupId>org.springframework.boot</groupId>
123 <artifactId>spring-boot-devtools</artifactId>
124 <optional>true</optional>
127 <groupId>org.springframework.boot</groupId>
128 <artifactId>spring-boot-configuration-processor</artifactId>
129 <optional>true</optional>
132 <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema -->
134 <groupId>org.springdoc</groupId>
135 <artifactId>springdoc-openapi-ui</artifactId>
136 <version>1.6.3</version>
140 <groupId>com.github.erosb</groupId>
141 <artifactId>everit-json-schema</artifactId>
142 <version>1.12.1</version>
146 <groupId>com.schibsted.spt.data</groupId>
147 <artifactId>jslt</artifactId>
148 <version>0.1.11</version>
151 <groupId>com.jayway.jsonpath</groupId>
152 <artifactId>json-path</artifactId>
153 <version>2.7.0</version>
156 <groupId>org.springframework.boot</groupId>
157 <artifactId>spring-boot-starter-test</artifactId>
161 <groupId>org.awaitility</groupId>
162 <artifactId>awaitility</artifactId>
166 <groupId>io.projectreactor</groupId>
167 <artifactId>reactor-test</artifactId>
171 <groupId>org.junit.jupiter</groupId>
172 <artifactId>junit-jupiter-engine</artifactId>
176 <groupId>org.mockito</groupId>
177 <artifactId>mockito-junit-jupiter</artifactId>
181 <groupId>org.mockito</groupId>
182 <artifactId>mockito-core</artifactId>
186 <groupId>io.projectreactor.kafka</groupId>
187 <artifactId>reactor-kafka</artifactId>
188 <version>1.3.13</version>
191 <groupId>com.google.guava</groupId>
192 <artifactId>guava</artifactId>
193 <version>31.0.1-jre</version>
196 <groupId>software.amazon.awssdk</groupId>
197 <artifactId>s3</artifactId>
198 <version>2.17.292</version>
204 <groupId>org.springframework.boot</groupId>
205 <artifactId>spring-boot-maven-plugin</artifactId>
208 <groupId>net.revelc.code.formatter</groupId>
209 <artifactId>formatter-maven-plugin</artifactId>
210 <version>${formatter-maven-plugin.version}</version>
212 <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
214 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
215 spotless:apply process-sources -->
218 <groupId>com.diffplug.spotless</groupId>
219 <artifactId>spotless-maven-plugin</artifactId>
220 <version>${spotless-maven-plugin.version}</version>
223 <removeUnusedImports />
225 <order>com,java,javax,org</order>
229 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
230 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-surefire-plugin</artifactId>
237 <skipTests>false</skipTests>
241 <artifactId>maven-failsafe-plugin</artifactId>
244 <groupId>org.codehaus.mojo</groupId>
245 <artifactId>build-helper-maven-plugin</artifactId>
249 <phase>generate-sources</phase>
251 <goal>add-source</goal>
255 <source>${project.build.directory}/generated-sources/annotations/</source>
262 <groupId>org.jacoco</groupId>
263 <artifactId>jacoco-maven-plugin</artifactId>
264 <version>${jacoco-maven-plugin.version}</version>
267 <id>default-prepare-agent</id>
269 <goal>prepare-agent</goal>
273 <id>default-report</id>
274 <phase>prepare-package</phase>
282 <groupId>io.fabric8</groupId>
283 <artifactId>docker-maven-plugin</artifactId>
284 <version>${docker-maven-plugin}</version>
285 <inherited>false</inherited>
288 <id>generate-nonrtric-plt-pmlog-image</id>
289 <phase>package</phase>
294 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
297 <name>o-ran-sc/nonrtric-plt-pmlog:${project.version}</name>
299 <cleanup>try</cleanup>
300 <contextDir>${basedir}</contextDir>
301 <dockerFile>Dockerfile</dockerFile>
303 <JAR>${project.build.finalName}.jar</JAR>
306 <tag>${project.version}</tag>
314 <id>push-nonrtric-plt-pmlog-image</id>
320 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
321 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
324 <name>o-ran-sc/nonrtric-plt-pmlog:${project.version}</name>
326 <contextDir>${basedir}</contextDir>
327 <dockerFile>Dockerfile</dockerFile>
329 <JAR>${project.build.finalName}.jar</JAR>
332 <tag>${project.version}</tag>
342 <!-- support sonar in multi-module project -->
344 <groupId>org.sonarsource.scanner.maven</groupId>
345 <artifactId>sonar-maven-plugin</artifactId>
346 <version>${sonar-maven-plugin.version}</version>
349 <groupId>io.swagger.codegen.v3</groupId>
350 <artifactId>swagger-codegen-maven-plugin</artifactId>
351 <version>${swagger-codegen-maven-plugin.version}</version>
356 <goal>generate</goal>
359 <inputSpec>${project.basedir}/api/pmlog-api.json</inputSpec>
360 <language>openapi-yaml</language>
361 <output>${project.basedir}/api</output>
363 <outputFile>pmlog-api.yaml</outputFile>
372 <system>JIRA</system>
373 <url>https://jira.o-ran-sc.org/</url>