1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ Copyright (C) 2023 Nordix Foundation
5 ~ ================================================================================
6 ~ Licensed under the Apache License, Version 2.0 (the "License");
7 ~ you may not use this file except in compliance with the License.
8 ~ You may obtain a copy of the License at
10 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License.
17 ~ ============LICENSE_END=========================================================
19 <project xmlns="http://maven.apache.org/POM/4.0.0"
20 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.springframework.boot</groupId>
25 <artifactId>spring-boot-starter-parent</artifactId>
26 <version>3.0.4</version>
28 <groupId>org.o-ran-sc.nonrtric.plt.ranpm</groupId>
29 <artifactId>datafile-app-server</artifactId>
30 <packaging>jar</packaging>
32 <java.version>17</java.version>
33 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
34 <docker-client.version>8.7.1</docker-client.version>
35 <springfox.version>3.0.0</springfox.version>
36 <gson.version>2.9.0</gson.version>
37 <docker-maven-plugin>0.30.0</docker-maven-plugin>
38 <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
42 <groupId>com.google.code.gson</groupId>
43 <artifactId>gson</artifactId>
44 <version>2.9.1</version>
47 <groupId>io.projectreactor.kafka</groupId>
48 <artifactId>reactor-kafka</artifactId>
49 <version>1.3.9</version>
52 <groupId>org.projectlombok</groupId>
53 <artifactId>lombok</artifactId>
56 <groupId>org.awaitility</groupId>
57 <artifactId>awaitility</artifactId>
61 <groupId>org.apache.httpcomponents</groupId>
62 <artifactId>httpasyncclient</artifactId>
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-configuration-processor</artifactId>
67 <optional>true</optional>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot</artifactId>
74 <groupId>org.springframework</groupId>
75 <artifactId>spring-web</artifactId>
78 <groupId>org.springframework</groupId>
79 <artifactId>spring-webmvc</artifactId>
82 <groupId>com.spotify</groupId>
83 <artifactId>docker-client</artifactId>
84 <version>${docker-client.version}</version>
87 <groupId>org.springframework</groupId>
88 <artifactId>spring-webflux</artifactId>
91 <groupId>org.springframework.boot</groupId>
92 <artifactId>spring-boot-autoconfigure</artifactId>
95 <groupId>org.apache.httpcomponents.core5</groupId>
96 <artifactId>httpcore5</artifactId>
98 <!-- Actuator dependencies -->
100 <groupId>org.springframework.boot</groupId>
101 <artifactId>spring-boot-starter-actuator</artifactId>
104 <groupId>software.amazon.awssdk</groupId>
105 <artifactId>s3</artifactId>
106 <version>2.17.292</version>
111 <groupId>io.projectreactor</groupId>
112 <artifactId>reactor-test</artifactId>
116 <groupId>org.junit.jupiter</groupId>
117 <artifactId>junit-jupiter-engine</artifactId>
121 <groupId>org.springframework.boot</groupId>
122 <artifactId>spring-boot-starter-test</artifactId>
126 <groupId>org.junit.vintage</groupId>
127 <artifactId>junit-vintage-engine</artifactId>
128 <version>5.7.0</version>
132 <groupId>org.mockito</groupId>
133 <artifactId>mockito-junit-jupiter</artifactId>
137 TO GENERATE DOCUMENTATION -->
139 <groupId>io.springfox</groupId>
140 <artifactId>springfox-spring-web</artifactId>
141 <version>${springfox.version}</version>
144 <groupId>io.springfox</groupId>
145 <artifactId>springfox-spi</artifactId>
146 <version>${springfox.version}</version>
149 <groupId>io.springfox</groupId>
150 <artifactId>springfox-core</artifactId>
151 <version>${springfox.version}</version>
154 <groupId>org.springdoc</groupId>
155 <artifactId>springdoc-openapi-ui</artifactId>
156 <version>1.6.3</version>
160 <groupId>io.springfox</groupId>
161 <artifactId>springfox-swagger2</artifactId>
162 <version>${springfox.version}</version>
165 <groupId>io.springfox</groupId>
166 <artifactId>springfox-swagger-ui</artifactId>
167 <version>${springfox.version}</version>
170 <groupId>commons-net</groupId>
171 <artifactId>commons-net</artifactId>
172 <version>3.6</version>
175 <groupId>com.jcraft</groupId>
176 <artifactId>jsch</artifactId>
177 <version>0.1.55</version>
180 <groupId>io.projectreactor.netty</groupId>
181 <artifactId>reactor-netty</artifactId>
182 <version>1.0.22</version>
188 <groupId>org.springframework.boot</groupId>
189 <artifactId>spring-boot-maven-plugin</artifactId>
191 <finalName>${project.artifactId}</finalName>
192 <mainClass>org.onap.dcaegen2.collectors.datafile.MainApp</mainClass>
197 <goal>build-info</goal>
203 <groupId>io.fabric8</groupId>
204 <artifactId>docker-maven-plugin</artifactId>
205 <version>${docker-maven-plugin}</version>
206 <inherited>false</inherited>
209 <id>generate-image</id>
210 <phase>package</phase>
215 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
219 o-ran-sc/nonrtric-plt-ranpm-datafilecollector:${project.version}</name>
221 <cleanup>try</cleanup>
222 <contextDir>${basedir}</contextDir>
223 <dockerFile>Dockerfile</dockerFile>
225 <JAR>${project.build.finalName}.jar</JAR>
228 <tag>${project.version}</tag>
242 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
243 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
247 o-ran-sc/nonrtric-plt-ranpm-datafilecollector:${project.version}</name>
249 <contextDir>${basedir}</contextDir>
250 <dockerFile>Dockerfile</dockerFile>
252 <JAR>${project.build.finalName}.jar</JAR>
255 <tag>${project.version}</tag>
266 <groupId>pl.project13.maven</groupId>
267 <artifactId>git-commit-id-plugin</artifactId>
270 <id>get-the-git-infos</id>
272 <goal>revision</goal>
277 <verbose>true</verbose>
278 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
279 <dateFormat>MM-dd-yyyy '@' HH:mm:ss Z</dateFormat>
280 <generateGitPropertiesFile>true</generateGitPropertiesFile>
281 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
282 </generateGitPropertiesFilename>
283 <failOnNoGitDirectory>true</failOnNoGitDirectory>
287 <groupId>com.diffplug.spotless</groupId>
288 <artifactId>spotless-maven-plugin</artifactId>
289 <version>1.18.0</version>
292 <removeUnusedImports />
294 <order>com,java,javax,org</order>
298 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
299 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
303 <groupId>net.revelc.code.formatter</groupId>
304 <artifactId>formatter-maven-plugin</artifactId>
305 <version>2.8.1</version>
307 <configFile>${project.basedir}/onap-java-formatter.xml</configFile>
309 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
310 to rewrite source files use mvn formatter:validate to validate source files -->
313 <groupId>org.jacoco</groupId>
314 <artifactId>jacoco-maven-plugin</artifactId>
315 <version>${jacoco-maven-plugin.version}</version>
318 <id>default-prepare-agent</id>
320 <goal>prepare-agent</goal>
324 <id>default-report</id>
325 <phase>prepare-package</phase>