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.0.4</version>
29 <groupId>org.o-ran-sc.nonrtric.plt.ranpm</groupId>
30 <artifactId>datafile-collector</artifactId>
31 <version>1.1.1-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 <docker-maven-plugin>0.30.0</docker-maven-plugin>
40 <jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version>
41 <springdoc.version>2.0.2</springdoc.version>
42 <springdoc.openapi-ui.version>1.6.14</springdoc.openapi-ui.version>
43 <exec.skip>true</exec.skip>
45 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
50 <groupId>org.springdoc</groupId>
51 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
52 <version>${springdoc.version}</version>
55 <groupId>org.springdoc</groupId>
56 <artifactId>springdoc-openapi-ui</artifactId>
57 <version>${springdoc.openapi-ui.version}</version>
60 <groupId>com.google.code.gson</groupId>
61 <artifactId>gson</artifactId>
62 <version>${gson.version}</version>
65 <groupId>io.projectreactor.kafka</groupId>
66 <artifactId>reactor-kafka</artifactId>
67 <version>1.3.9</version>
70 <groupId>org.projectlombok</groupId>
71 <artifactId>lombok</artifactId>
74 <groupId>org.awaitility</groupId>
75 <artifactId>awaitility</artifactId>
79 <groupId>org.apache.httpcomponents</groupId>
80 <artifactId>httpasyncclient</artifactId>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-configuration-processor</artifactId>
85 <optional>true</optional>
88 <groupId>org.springframework.boot</groupId>
89 <artifactId>spring-boot</artifactId>
92 <groupId>org.springframework</groupId>
93 <artifactId>spring-web</artifactId>
96 <groupId>org.springframework</groupId>
97 <artifactId>spring-webmvc</artifactId>
100 <groupId>org.springframework</groupId>
101 <artifactId>spring-webflux</artifactId>
104 <groupId>org.springframework.boot</groupId>
105 <artifactId>spring-boot-autoconfigure</artifactId>
108 <groupId>org.apache.httpcomponents.core5</groupId>
109 <artifactId>httpcore5</artifactId>
111 <!-- Actuator dependencies -->
113 <groupId>org.springframework.boot</groupId>
114 <artifactId>spring-boot-starter-actuator</artifactId>
117 <groupId>software.amazon.awssdk</groupId>
118 <artifactId>s3</artifactId>
119 <version>2.17.292</version>
124 <groupId>io.projectreactor</groupId>
125 <artifactId>reactor-test</artifactId>
129 <groupId>org.junit.jupiter</groupId>
130 <artifactId>junit-jupiter-engine</artifactId>
134 <groupId>org.springframework.boot</groupId>
135 <artifactId>spring-boot-starter-test</artifactId>
139 <groupId>org.mockito</groupId>
140 <artifactId>mockito-junit-jupiter</artifactId>
144 <groupId>org.mockito</groupId>
145 <artifactId>mockito-inline</artifactId>
149 <groupId>commons-net</groupId>
150 <artifactId>commons-net</artifactId>
151 <version>3.9.0</version>
154 <groupId>com.jcraft</groupId>
155 <artifactId>jsch</artifactId>
156 <version>0.1.55</version>
159 <groupId>io.projectreactor.netty</groupId>
160 <artifactId>reactor-netty</artifactId>
161 <version>1.0.22</version>
167 <groupId>org.springframework.boot</groupId>
168 <artifactId>spring-boot-maven-plugin</artifactId>
170 <finalName>${project.artifactId}</finalName>
171 <mainClass>org.oran.datafile.MainApp</mainClass>
176 <goal>build-info</goal>
182 <groupId>io.fabric8</groupId>
183 <artifactId>docker-maven-plugin</artifactId>
184 <version>${docker-maven-plugin}</version>
185 <inherited>false</inherited>
188 <id>generate-image</id>
189 <phase>package</phase>
194 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
198 o-ran-sc/nonrtric-plt-ranpm-datafilecollector:${project.version}</name>
200 <cleanup>try</cleanup>
201 <contextDir>${basedir}</contextDir>
202 <dockerFile>Dockerfile</dockerFile>
204 <JAR>${project.build.finalName}.jar</JAR>
207 <tag>${project.version}</tag>
221 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
222 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
226 o-ran-sc/nonrtric-plt-ranpm-datafilecollector:${project.version}</name>
228 <contextDir>${basedir}</contextDir>
229 <dockerFile>Dockerfile</dockerFile>
231 <JAR>${project.build.finalName}.jar</JAR>
234 <tag>${project.version}</tag>
245 <groupId>com.diffplug.spotless</groupId>
246 <artifactId>spotless-maven-plugin</artifactId>
247 <version>1.18.0</version>
250 <removeUnusedImports />
252 <order>com,java,javax,org</order>
256 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
257 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
261 <groupId>net.revelc.code.formatter</groupId>
262 <artifactId>formatter-maven-plugin</artifactId>
263 <version>2.8.1</version>
265 <configFile>${project.basedir}/onap-java-formatter.xml</configFile>
267 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
268 to rewrite source files use mvn formatter:validate to validate source files -->
271 <groupId>org.jacoco</groupId>
272 <artifactId>jacoco-maven-plugin</artifactId>
273 <version>${jacoco-maven-plugin.version}</version>
276 <id>default-prepare-agent</id>
278 <goal>prepare-agent</goal>
282 <id>default-report</id>
283 <phase>prepare-package</phase>
291 <groupId>org.sonarsource.scanner.maven</groupId>
292 <artifactId>sonar-maven-plugin</artifactId>
293 <version>${sonar-maven-plugin.version}</version>