1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ Copyright (C) 2023 Nordix Foundation. All rights reserved.
5 ~ Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
6 ~ ================================================================================
7 ~ Licensed under the Apache License, Version 2.0 (the "License");
8 ~ you may not use this file except in compliance with the License.
9 ~ You may obtain a copy of the License at
11 ~ http://www.apache.org/licenses/LICENSE-2.0
13 ~ Unless required by applicable law or agreed to in writing, software
14 ~ distributed under the License is distributed on an "AS IS" BASIS,
15 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ~ See the License for the specific language governing permissions and
17 ~ limitations under the License.
18 ~ ============LICENSE_END=========================================================
20 <project xmlns="http://maven.apache.org/POM/4.0.0"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.springframework.boot</groupId>
26 <artifactId>spring-boot-starter-parent</artifactId>
27 <version>3.2.0</version>
29 <groupId>org.o-ran-sc.nonrtric.plt.ranpm</groupId>
30 <artifactId>datafile-collector</artifactId>
31 <version>1.2.0-SNAPSHOT</version>
32 <packaging>jar</packaging>
33 <name>NONRTRIC RAN PM Data File Collector</name>
34 <description>File Collector for collecting RAN PM files from RAN functions (O-RAN SC NONRTRIC)</description>
36 <java.version>17</java.version>
37 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
38 <gson.version>2.9.1</gson.version>
39 <mockito.version>4.8.1</mockito.version>
40 <docker-maven-plugin>0.30.0</docker-maven-plugin>
41 <jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version>
42 <springdoc.version>2.0.2</springdoc.version>
43 <springdoc.openapi-ui.version>1.6.14</springdoc.openapi-ui.version>
44 <exec.skip>true</exec.skip>
46 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
51 <groupId>org.springdoc</groupId>
52 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
53 <version>${springdoc.version}</version>
56 <groupId>org.springdoc</groupId>
57 <artifactId>springdoc-openapi-ui</artifactId>
58 <version>${springdoc.openapi-ui.version}</version>
61 <groupId>com.google.code.gson</groupId>
62 <artifactId>gson</artifactId>
63 <version>${gson.version}</version>
66 <groupId>io.projectreactor.kafka</groupId>
67 <artifactId>reactor-kafka</artifactId>
68 <version>1.3.9</version>
71 <groupId>org.projectlombok</groupId>
72 <artifactId>lombok</artifactId>
75 <groupId>org.awaitility</groupId>
76 <artifactId>awaitility</artifactId>
80 <groupId>org.apache.httpcomponents</groupId>
81 <artifactId>httpasyncclient</artifactId>
84 <groupId>org.springframework.boot</groupId>
85 <artifactId>spring-boot-configuration-processor</artifactId>
86 <optional>true</optional>
89 <groupId>org.springframework.boot</groupId>
90 <artifactId>spring-boot</artifactId>
93 <groupId>org.springframework</groupId>
94 <artifactId>spring-web</artifactId>
97 <groupId>org.springframework</groupId>
98 <artifactId>spring-webmvc</artifactId>
101 <groupId>org.springframework</groupId>
102 <artifactId>spring-webflux</artifactId>
105 <groupId>org.springframework.boot</groupId>
106 <artifactId>spring-boot-autoconfigure</artifactId>
109 <groupId>org.apache.httpcomponents.core5</groupId>
110 <artifactId>httpcore5</artifactId>
112 <!-- Actuator dependencies -->
114 <groupId>org.springframework.boot</groupId>
115 <artifactId>spring-boot-starter-actuator</artifactId>
118 <groupId>software.amazon.awssdk</groupId>
119 <artifactId>s3</artifactId>
120 <version>2.17.292</version>
125 <groupId>io.projectreactor</groupId>
126 <artifactId>reactor-test</artifactId>
130 <groupId>org.junit.jupiter</groupId>
131 <artifactId>junit-jupiter-engine</artifactId>
135 <groupId>org.springframework.boot</groupId>
136 <artifactId>spring-boot-starter-test</artifactId>
140 <groupId>org.mockito</groupId>
141 <artifactId>mockito-junit-jupiter</artifactId>
142 <version>${mockito.version}</version>
146 <groupId>org.mockito</groupId>
147 <artifactId>mockito-inline</artifactId>
148 <version>${mockito.version}</version>
152 <groupId>commons-net</groupId>
153 <artifactId>commons-net</artifactId>
154 <version>3.9.0</version>
157 <groupId>com.jcraft</groupId>
158 <artifactId>jsch</artifactId>
159 <version>0.1.55</version>
162 <groupId>io.projectreactor.netty</groupId>
163 <artifactId>reactor-netty</artifactId>
164 <version>1.0.22</version>
170 <groupId>org.springframework.boot</groupId>
171 <artifactId>spring-boot-maven-plugin</artifactId>
173 <finalName>${project.artifactId}</finalName>
174 <mainClass>org.oran.datafile.MainApp</mainClass>
179 <goal>build-info</goal>
185 <groupId>io.fabric8</groupId>
186 <artifactId>docker-maven-plugin</artifactId>
187 <version>${docker-maven-plugin}</version>
188 <inherited>false</inherited>
191 <id>generate-image</id>
192 <phase>package</phase>
197 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
201 o-ran-sc/nonrtric-plt-ranpm-datafilecollector:${project.version}</name>
203 <cleanup>try</cleanup>
204 <contextDir>${basedir}</contextDir>
205 <dockerFile>Dockerfile</dockerFile>
207 <JAR>${project.build.finalName}.jar</JAR>
210 <tag>${project.version}</tag>
224 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
225 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
229 o-ran-sc/nonrtric-plt-ranpm-datafilecollector:${project.version}</name>
231 <contextDir>${basedir}</contextDir>
232 <dockerFile>Dockerfile</dockerFile>
234 <JAR>${project.build.finalName}.jar</JAR>
237 <tag>${project.version}</tag>
248 <groupId>com.diffplug.spotless</groupId>
249 <artifactId>spotless-maven-plugin</artifactId>
250 <version>1.18.0</version>
253 <removeUnusedImports />
255 <order>com,java,javax,org</order>
259 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
260 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
264 <groupId>net.revelc.code.formatter</groupId>
265 <artifactId>formatter-maven-plugin</artifactId>
266 <version>2.8.1</version>
268 <configFile>${project.basedir}/onap-java-formatter.xml</configFile>
270 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
271 to rewrite source files use mvn formatter:validate to validate source files -->
274 <groupId>org.jacoco</groupId>
275 <artifactId>jacoco-maven-plugin</artifactId>
276 <version>${jacoco-maven-plugin.version}</version>
279 <id>default-prepare-agent</id>
281 <goal>prepare-agent</goal>
285 <id>default-report</id>
286 <phase>prepare-package</phase>
294 <groupId>org.sonarsource.scanner.maven</groupId>
295 <artifactId>sonar-maven-plugin</artifactId>
296 <version>${sonar-maven-plugin.version}</version>