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>3.0.4</version>
32 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
33 <artifactId>pmproducer</artifactId>
34 <version>1.1.0-SNAPSHOT</version>
35 <name>NONRTRIC RAN PM Producer</name>
36 <description>Filtering and distribution of PM data to rApps subscribers (O-RAN SC NONRTRIC)</description>
39 <name>The Apache Software License, Version 2.0</name>
40 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
45 <id>onap-releases</id>
46 <name>onap-releases</name>
47 <url>https://nexus.onap.org/content/repositories/releases/</url>
51 <java.version>17</java.version>
52 <gson.version>2.9.0</gson.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.8</jacoco-maven-plugin.version>
61 <springdoc.version>2.0.2</springdoc.version>
62 <springdoc.openapi-ui.version>1.6.14</springdoc.openapi-ui.version>
63 <exec.skip>true</exec.skip>
68 <groupId>org.springdoc</groupId>
69 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
70 <version>${springdoc.version}</version>
73 <groupId>org.springdoc</groupId>
74 <artifactId>springdoc-openapi-ui</artifactId>
75 <version>${springdoc.openapi-ui.version}</version>
78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-starter-web</artifactId>
82 <groupId>org.springframework.boot</groupId>
83 <artifactId>spring-boot-starter-thymeleaf</artifactId>
86 <groupId>org.springframework.boot</groupId>
87 <artifactId>spring-boot-starter-webflux</artifactId>
90 <groupId>org.springframework</groupId>
91 <artifactId>spring-webflux</artifactId>
94 <groupId>com.google.code.gson</groupId>
95 <artifactId>gson</artifactId>
98 <groupId>org.projectlombok</groupId>
99 <artifactId>lombok</artifactId>
100 <scope>provided</scope>
102 <!-- Actuator dependencies -->
104 <groupId>org.springframework.boot</groupId>
105 <artifactId>spring-boot-starter-actuator</artifactId>
107 <!-- For development help -->
109 <groupId>org.springframework.boot</groupId>
110 <artifactId>spring-boot-devtools</artifactId>
111 <optional>true</optional>
114 <groupId>org.springframework.boot</groupId>
115 <artifactId>spring-boot-configuration-processor</artifactId>
116 <optional>true</optional>
119 <!-- https://mvnrepository.com/artifact/com.github.erosb/everit-json-schema -->
121 <groupId>com.github.erosb</groupId>
122 <artifactId>everit-json-schema</artifactId>
123 <version>1.12.1</version>
127 <groupId>com.schibsted.spt.data</groupId>
128 <artifactId>jslt</artifactId>
129 <version>0.1.11</version>
132 <groupId>com.jayway.jsonpath</groupId>
133 <artifactId>json-path</artifactId>
134 <version>2.7.0</version>
137 <groupId>org.springframework.boot</groupId>
138 <artifactId>spring-boot-starter-test</artifactId>
142 <groupId>org.awaitility</groupId>
143 <artifactId>awaitility</artifactId>
147 <groupId>io.projectreactor</groupId>
148 <artifactId>reactor-test</artifactId>
152 <groupId>org.junit.jupiter</groupId>
153 <artifactId>junit-jupiter-engine</artifactId>
157 <groupId>org.mockito</groupId>
158 <artifactId>mockito-junit-jupiter</artifactId>
162 <groupId>org.mockito</groupId>
163 <artifactId>mockito-core</artifactId>
167 <groupId>org.mockito</groupId>
168 <artifactId>mockito-inline</artifactId>
172 <groupId>io.projectreactor.kafka</groupId>
173 <artifactId>reactor-kafka</artifactId>
174 <version>1.3.13</version>
177 <groupId>com.google.guava</groupId>
178 <artifactId>guava</artifactId>
179 <version>31.0.1-jre</version>
182 <groupId>software.amazon.awssdk</groupId>
183 <artifactId>s3</artifactId>
184 <version>2.17.292</version>
190 <groupId>org.springframework.boot</groupId>
191 <artifactId>spring-boot-maven-plugin</artifactId>
194 <groupId>net.revelc.code.formatter</groupId>
195 <artifactId>formatter-maven-plugin</artifactId>
196 <version>${formatter-maven-plugin.version}</version>
198 <configFile>${project.basedir}/eclipse-formatter.xml</configFile>
200 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
201 spotless:apply process-sources -->
204 <groupId>com.diffplug.spotless</groupId>
205 <artifactId>spotless-maven-plugin</artifactId>
206 <version>${spotless-maven-plugin.version}</version>
209 <removeUnusedImports />
211 <order>com,java,javax,org</order>
215 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
216 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-surefire-plugin</artifactId>
223 <skipTests>false</skipTests>
227 <artifactId>maven-failsafe-plugin</artifactId>
230 <groupId>org.codehaus.mojo</groupId>
231 <artifactId>build-helper-maven-plugin</artifactId>
235 <phase>generate-sources</phase>
237 <goal>add-source</goal>
241 <source>${project.build.directory}/generated-sources/annotations/</source>
248 <groupId>org.jacoco</groupId>
249 <artifactId>jacoco-maven-plugin</artifactId>
250 <version>${jacoco-maven-plugin.version}</version>
253 <id>default-prepare-agent</id>
255 <goal>prepare-agent</goal>
259 <id>default-report</id>
260 <phase>prepare-package</phase>
268 <groupId>io.swagger.codegen.v3</groupId>
269 <artifactId>swagger-codegen-maven-plugin</artifactId>
270 <version>${swagger-codegen-maven-plugin.version}</version>
275 <goal>generate</goal>
278 <inputSpec>${project.basedir}/api/api.json</inputSpec>
279 <language>openapi-yaml</language>
280 <output>${project.basedir}/api</output>
282 <outputFile>api.yaml</outputFile>
289 <groupId>io.fabric8</groupId>
290 <artifactId>docker-maven-plugin</artifactId>
291 <version>${docker-maven-plugin}</version>
292 <inherited>false</inherited>
295 <id>generate-nonrtric-plt-pmproducer-image</id>
296 <phase>package</phase>
301 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
304 <name>o-ran-sc/nonrtric-plt-pmproducer:${project.version}</name>
306 <cleanup>try</cleanup>
307 <contextDir>${basedir}</contextDir>
308 <dockerFile>Dockerfile</dockerFile>
310 <JAR>${project.build.finalName}.jar</JAR>
313 <tag>${project.version}</tag>
321 <id>push-nonrtric-plt-pmproducer-image</id>
327 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
328 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
331 <name>o-ran-sc/nonrtric-plt-pmproducer:${project.version}</name>
333 <contextDir>${basedir}</contextDir>
334 <dockerFile>Dockerfile</dockerFile>
336 <JAR>${project.build.finalName}.jar</JAR>
339 <tag>${project.version}</tag>
349 <!-- support sonar in multi-module project -->
351 <groupId>org.sonarsource.scanner.maven</groupId>
352 <artifactId>sonar-maven-plugin</artifactId>
353 <version>${sonar-maven-plugin.version}</version>
358 <system>JIRA</system>
359 <url>https://jira.o-ran-sc.org/</url>