blob: 1b803e4efcf51b31e8298d34a788ad1e475b40e6 [file] [log] [blame]
elinuxhenrikd661dbc2018-08-17 12:34:58 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
elinuxhenrikf3945942018-09-14 15:49:10 +02003 ~ ============LICENSE_START=====================================================================
Tomasz Wrobel5da97dc2022-05-13 09:01:26 +02004 ~ Copyright (C) 2018-2022 Nokia. All rights reserved.
ajay_dp0018cc9e642021-01-29 17:44:27 +05305 ~ Copyright (C) 2018-2021 Nordix Foundation. All rights reserved.
Alexander Mazuruk015b5482021-02-18 17:04:21 +01006 ~ Copyright (C) 2021 Samsung Electronics. All rights reserved.
elinuxhenrikf3945942018-09-14 15:49:10 +02007 ~ ==============================================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +02008 ~ 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
11 ~
elinuxhenrikf3945942018-09-14 15:49:10 +020012 ~ http://www.apache.org/licenses/LICENSE-2.0
elinuxhenrikd661dbc2018-08-17 12:34:58 +020013 ~
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.
elinuxhenrikf3945942018-09-14 15:49:10 +020019 ~ ============LICENSE_END=======================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +020020 -->
elinuxhenrik5a61d0c2018-09-18 13:18:03 +020021<project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
ajay_dp0018cc9e642021-01-29 17:44:27 +053024 <modelVersion>4.0.0</modelVersion>
elinuxhenrikf3945942018-09-14 15:49:10 +020025
ajay_dp0018cc9e642021-01-29 17:44:27 +053026 <parent>
27 <groupId>org.onap.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>2.0.0</version>
30 <relativePath/>
31 </parent>
elinuxhenrikf3945942018-09-14 15:49:10 +020032
ajay_dp0018cc9e642021-01-29 17:44:27 +053033 <groupId>org.onap.dcaegen2.collectors</groupId>
34 <artifactId>datafile</artifactId>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020035 <version>${revision}</version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053036 <name>dcaegen2-collectors.datafile</name>
37 <description>datafile collector</description>
38 <packaging>pom</packaging>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020039
ajay_dp0018cc9e642021-01-29 17:44:27 +053040 <modules>
41 <module>datafile-app-server</module>
42 </modules>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020043
ajay_dp0018cc9e642021-01-29 17:44:27 +053044 <licenses>
45 <license>
46 <name>The Apache Software License, Version 2.0</name>
47 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
48 </license>
49 </licenses>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020050
ajay_dp0018cc9e642021-01-29 17:44:27 +053051 <properties>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020052 <revision>1.9.0-SNAPSHOT</revision>
ajay_dp0018cc9e642021-01-29 17:44:27 +053053 <java.version>11</java.version>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020054 <sdk.version>1.8.10</sdk.version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053055 <apache.httpcomponents.version>4.1.4</apache.httpcomponents.version>
56 <apache.commons.version>3.6</apache.commons.version>
57 <immutable.version>2.7.1</immutable.version>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020058 <spring.version>5.3.22</spring.version>
59 <spring-boot.version>2.7.2</spring-boot.version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053060 <commons-io.version>2.8.0</commons-io.version>
61 <commons-net.version>3.3</commons-net.version>
62 <projectreactor.version>2020.0.2</projectreactor.version>
Krzysztof Gajewski60553392021-02-15 14:07:44 +010063 <httpcomponents.core5.version>5.0.3</httpcomponents.core5.version>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020064 <tomcat-embed-core.version>9.0.65</tomcat-embed-core.version>
65 <io.github.classgraph.version>4.8.149</io.github.classgraph.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020066
ajay_dp0018cc9e642021-01-29 17:44:27 +053067 <!-- LOGGING SETTINGS -->
68 <slf4j.version>1.7.25</slf4j.version>
69 <logback.version>1.2.3</logback.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020070
ajay_dp0018cc9e642021-01-29 17:44:27 +053071 <!--TEST SETTINGS -->
72 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
73 <junit-jupiter.version>5.5.2</junit-jupiter.version>
74 <junit-platform.version>1.3.2</junit-platform.version>
75 <mockito.version>2.23.4</mockito.version>
76 <testng.version>6.14.2</testng.version>
77 <jcraft.version>0.1.54</jcraft.version>
78 <springfox.version>3.0.0</springfox.version>
79 <awaitility.version>3.1.6</awaitility.version>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020080 <jackson-databind.version>2.13.3</jackson-databind.version>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +010081 <powermock.version>2.0.9</powermock.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020082
ajay_dp0018cc9e642021-01-29 17:44:27 +053083 <!-- Plugin versions -->
84 <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
85 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
86 <docker-maven-plugin.version>1.2.1</docker-maven-plugin.version>
87 <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
88 <sonar.coverage.jacoco.xmlReportPaths>
89 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
90 </sonar.coverage.jacoco.xmlReportPaths>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +020091 <springdoc-openapi-ui.version>1.6.11</springdoc-openapi-ui.version>
ajay_dp0018cc9e642021-01-29 17:44:27 +053092 </properties>
elinuxhenrik215ab932019-04-17 11:07:48 +020093
ajay_dp0018cc9e642021-01-29 17:44:27 +053094 <dependencyManagement>
95 <dependencies>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020096 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +053097 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
98 <artifactId>cbs-client</artifactId>
99 <version>${sdk.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200100 </dependency>
ERIMROB42a29322020-08-14 13:39:24 +0100101 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530102 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
103 <artifactId>dmaap-client</artifactId>
104 <version>${sdk.version}</version>
ERIMROB42a29322020-08-14 13:39:24 +0100105 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530106 <dependency>
107 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
108 <artifactId>ssl</artifactId>
109 <version>${sdk.version}</version>
110 </dependency>
111 <dependency>
112 <groupId>org.apache.httpcomponents</groupId>
113 <artifactId>httpasyncclient</artifactId>
114 <version>${apache.httpcomponents.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
118 <artifactId>common-dependency</artifactId>
119 <version>${sdk.version}</version>
120 </dependency>
121 <dependency>
122 <groupId>org.apache.commons</groupId>
123 <artifactId>commons-lang3</artifactId>
124 <version>${apache.commons.version}</version>
125 </dependency>
126 <dependency>
127 <groupId>org.immutables</groupId>
128 <artifactId>value</artifactId>
129 <version>${immutable.version}</version>
130 <scope>provided</scope>
131 </dependency>
132 <dependency>
133 <groupId>org.immutables</groupId>
134 <artifactId>gson</artifactId>
135 <version>${immutable.version}</version>
136 </dependency>
137 <dependency>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +0200138 <groupId>org.apache.tomcat.embed</groupId>
139 <artifactId>tomcat-embed-core</artifactId>
140 <version>${tomcat-embed-core.version}</version>
141 </dependency>
142 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530143 <groupId>org.springframework</groupId>
144 <artifactId>spring-web</artifactId>
145 <version>${spring.version}</version>
146 </dependency>
147 <dependency>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-webmvc</artifactId>
150 <version>${spring.version}</version>
151 </dependency>
152 <dependency>
153 <groupId>org.springframework</groupId>
154 <artifactId>spring-beans</artifactId>
155 <version>${spring.version}</version>
156 </dependency>
157 <dependency>
158 <groupId>org.springframework</groupId>
159 <artifactId>spring-context</artifactId>
160 <version>${spring.version}</version>
161 </dependency>
162 <dependency>
163 <groupId>org.springframework</groupId>
164 <artifactId>spring-webflux</artifactId>
165 <version>${spring.version}</version>
166 </dependency>
167 <dependency>
168 <groupId>org.springframework.boot</groupId>
169 <artifactId>spring-boot-dependencies</artifactId>
170 <version>${spring-boot.version}</version>
171 <type>pom</type>
172 <scope>import</scope>
173 </dependency>
174 <dependency>
Tomasz Wrobel5662ec22022-08-25 13:48:45 +0200175 <groupId>io.github.classgraph</groupId>
176 <artifactId>classgraph</artifactId>
177 <version>${io.github.classgraph.version}</version>
178 </dependency>
179 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530180 <groupId>commons-io</groupId>
181 <artifactId>commons-io</artifactId>
182 <version>${commons-io.version}</version>
183 </dependency>
184 <dependency>
185 <groupId>commons-net</groupId>
186 <artifactId>commons-net</artifactId>
187 <version>${commons-net.version}</version>
188 </dependency>
189 <dependency>
190 <groupId>com.jcraft</groupId>
191 <artifactId>jsch</artifactId>
192 <version>${jcraft.version}</version>
193 </dependency>
194 <dependency>
195 <groupId>ch.qos.logback</groupId>
196 <artifactId>logback-classic</artifactId>
197 <version>${logback.version}</version>
198 <scope>provided</scope>
199 </dependency>
200 <dependency>
201 <groupId>org.slf4j</groupId>
202 <artifactId>slf4j-api</artifactId>
203 <version>${slf4j.version}</version>
204 </dependency>
205 <dependency>
Krzysztof Gajewski60553392021-02-15 14:07:44 +0100206 <groupId>org.apache.httpcomponents.core5</groupId>
207 <artifactId>httpcore5</artifactId>
208 <version>${httpcomponents.core5.version}</version>
209 </dependency>
210 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530211 <groupId>org.junit.jupiter</groupId>
212 <artifactId>junit-jupiter-api</artifactId>
213 <version>${junit-jupiter.version}</version>
214 <scope>test</scope>
215 </dependency>
216 <dependency>
217 <groupId>org.junit.jupiter</groupId>
218 <artifactId>junit-jupiter-engine</artifactId>
219 <version>${junit-jupiter.version}</version>
220 <scope>test</scope>
221 </dependency>
222 <dependency>
223 <groupId>org.springframework</groupId>
224 <artifactId>spring-test</artifactId>
225 <version>${spring.version}</version>
226 <scope>test</scope>
227 </dependency>
228 <dependency>
Tomasz Wrobel8cdd6de2022-03-10 15:13:43 +0100229 <groupId>org.springframework</groupId>
230 <artifactId>spring-expression</artifactId>
231 <version>${spring.version}</version>
232 </dependency>
233 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530234 <groupId>org.mockito</groupId>
235 <artifactId>mockito-junit-jupiter</artifactId>
236 <version>${mockito.version}</version>
237 <scope>test</scope>
238 </dependency>
239 <dependency>
240 <groupId>org.mockito</groupId>
241 <artifactId>mockito-core</artifactId>
242 <version>${mockito.version}</version>
243 <scope>test</scope>
244 </dependency>
245 <dependency>
246 <groupId>org.testng</groupId>
247 <artifactId>testng</artifactId>
248 <version>${testng.version}</version>
249 <scope>test</scope>
250 </dependency>
251 <dependency>
252 <groupId>org.springframework.boot</groupId>
253 <artifactId>spring-boot-starter-test</artifactId>
254 <version>${spring-boot.version}</version>
255 <scope>test</scope>
256 </dependency>
257 <dependency>
258 <groupId>org.awaitility</groupId>
259 <artifactId>awaitility</artifactId>
260 <version>${awaitility.version}</version>
261 <scope>test</scope>
262 </dependency>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +0100263 <dependency>
264 <groupId>org.powermock</groupId>
265 <artifactId>powermock-module-junit4</artifactId>
266 <version>${powermock.version}</version>
267 <scope>test</scope>
268 </dependency>
269 <dependency>
270 <groupId>org.powermock</groupId>
271 <artifactId>powermock-api-mockito2</artifactId>
272 <version>${powermock.version}</version>
273 <scope>test</scope>
274 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530275
276 <!--REQUIRED TO GENERATE DOCUMENTATION -->
277 <dependency>
278 <groupId>io.springfox</groupId>
279 <artifactId>springfox-swagger2</artifactId>
280 <version>${springfox.version}</version>
281 </dependency>
282 <dependency>
283 <groupId>io.springfox</groupId>
284 <artifactId>springfox-swagger-ui</artifactId>
285 <version>${springfox.version}</version>
286 </dependency>
287 <dependency>
288 <groupId>org.springdoc</groupId>
289 <artifactId>springdoc-openapi-ui</artifactId>
290 <version>${springdoc-openapi-ui.version}</version>
291 </dependency>
292 <dependency>
293 <groupId>org.springdoc</groupId>
294 <artifactId>springdoc-openapi-data-rest</artifactId>
295 <version>${springdoc-openapi-ui.version}</version>
296 </dependency>
297 <dependency>
298 <groupId>com.fasterxml.jackson.core</groupId>
299 <artifactId>jackson-databind</artifactId>
300 <version>${jackson-databind.version}</version>
301 </dependency>
302 <dependency>
303 <groupId>io.springfox</groupId>
304 <artifactId>springfox-spring-web</artifactId>
305 <version>${springfox.version}</version>
306 </dependency>
307 <dependency>
308 <groupId>io.springfox</groupId>
309 <artifactId>springfox-spi</artifactId>
310 <version>${springfox.version}</version>
311 </dependency>
312 <dependency>
313 <groupId>io.springfox</groupId>
314 <artifactId>springfox-core</artifactId>
315 <version>${springfox.version}</version>
316 </dependency>
317 <dependency>
318 <groupId>io.projectreactor</groupId>
319 <artifactId>reactor-bom</artifactId>
320 <version>${projectreactor.version}</version>
321 <type>pom</type>
322 <scope>import</scope>
323 </dependency>
324 </dependencies>
325 </dependencyManagement>
326
327 <build>
328 <pluginManagement>
329 <plugins>
330 <plugin>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-resources-plugin</artifactId>
333 <version>${maven-resources-plugin.version}</version>
334 <configuration>
335 <encoding>${project.build.sourceEncoding}</encoding>
336 </configuration>
337 </plugin>
338 <plugin>
339 <groupId>org.apache.maven.plugins</groupId>
340 <artifactId>maven-compiler-plugin</artifactId>
341 <version>3.7.0</version>
342 <configuration>
343 <source>${java.version}</source>
344 <target>${java.version}</target>
345 <encoding>${project.build.sourceEncoding}</encoding>
346 <showWarnings>true</showWarnings>
347 <showDeprecation>true</showDeprecation>
348 </configuration>
349 </plugin>
350 <plugin>
351 <groupId>org.apache.maven.plugins</groupId>
352 <artifactId>maven-surefire-plugin</artifactId>
353 <version>${maven-surefire-plugin.version}</version>
354 <dependencies>
355 <dependency>
356 <groupId>org.junit.platform</groupId>
357 <artifactId>junit-platform-surefire-provider</artifactId>
358 <version>${junit-platform.version}</version>
359 </dependency>
360 <dependency>
361 <groupId>org.junit.jupiter</groupId>
362 <artifactId>junit-jupiter-engine</artifactId>
363 <version>${junit-jupiter.version}</version>
364 </dependency>
365 </dependencies>
366 </plugin>
367 <plugin>
368 <groupId>com.spotify</groupId>
369 <artifactId>docker-maven-plugin</artifactId>
370 <version>${docker-maven-plugin.version}</version>
371 </plugin>
372 <plugin>
373 <groupId>org.springframework.boot</groupId>
374 <artifactId>spring-boot-maven-plugin</artifactId>
375 <version>${spring-boot.version}</version>
376 <executions>
377 <execution>
378 <goals>
379 <goal>repackage</goal>
380 </goals>
381 </execution>
382 </executions>
383 </plugin>
384 <plugin>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-deploy-plugin</artifactId>
387 </plugin>
388 <plugin>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-enforcer-plugin</artifactId>
391 <configuration>
392 <skip>true</skip>
393 </configuration>
394 </plugin>
395 <plugin>
396 <groupId>pl.project13.maven</groupId>
397 <artifactId>git-commit-id-plugin</artifactId>
398 <version>${git-commit-id-plugin.version}</version>
399 </plugin>
400 <plugin>
401 <groupId>net.revelc.code.formatter</groupId>
402 <artifactId>formatter-maven-plugin</artifactId>
403 <version>2.8.1</version>
404 <configuration>
405 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
406 </configuration>
407 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
408 to rewrite source files use mvn formatter:validate to validate source files -->
409 </plugin>
410 <plugin>
411 <groupId>com.diffplug.spotless</groupId>
412 <artifactId>spotless-maven-plugin</artifactId>
413 <version>1.18.0</version>
414 <configuration>
415 <java>
416 <removeUnusedImports/>
417 <importOrder>
418 <order>com,java,javax,org</order>
419 </importOrder>
420 </java>
421 </configuration>
422 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
423 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
424 source files -->
425 </plugin>
426 </plugins>
427 </pluginManagement>
428 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200429</project>