blob: 3a2fadedbf73657b9e85159d1157b3d5195814df [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=====================================================================
Krzysztof Gajewski3eced292021-01-13 12:47:27 +01004 ~ Copyright (C) 2018-2021 NOKIA Intellectual Property. All rights reserved.
ajay_dp0018cc9e642021-01-29 17:44:27 +05305 ~ Copyright (C) 2018-2021 Nordix Foundation. All rights reserved.
elinuxhenrikf3945942018-09-14 15:49:10 +02006 ~ ==============================================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +02007 ~ 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
10 ~
elinuxhenrikf3945942018-09-14 15:49:10 +020011 ~ http://www.apache.org/licenses/LICENSE-2.0
elinuxhenrikd661dbc2018-08-17 12:34:58 +020012 ~
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.
elinuxhenrikf3945942018-09-14 15:49:10 +020018 ~ ============LICENSE_END=======================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +020019 -->
elinuxhenrik5a61d0c2018-09-18 13:18:03 +020020<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">
ajay_dp0018cc9e642021-01-29 17:44:27 +053023 <modelVersion>4.0.0</modelVersion>
elinuxhenrikf3945942018-09-14 15:49:10 +020024
ajay_dp0018cc9e642021-01-29 17:44:27 +053025 <parent>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>2.0.0</version>
29 <relativePath/>
30 </parent>
elinuxhenrikf3945942018-09-14 15:49:10 +020031
ajay_dp0018cc9e642021-01-29 17:44:27 +053032 <groupId>org.onap.dcaegen2.collectors</groupId>
33 <artifactId>datafile</artifactId>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +010034 <version>1.5.3-SNAPSHOT</version>
wasala93adeb42018-09-18 14:17:19 +020035
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>
52 <java.version>11</java.version>
53 <sdk.version>1.5.0</sdk.version>
54 <apache.httpcomponents.version>4.1.4</apache.httpcomponents.version>
55 <apache.commons.version>3.6</apache.commons.version>
56 <immutable.version>2.7.1</immutable.version>
57 <spring.version>5.3.1</spring.version>
58 <spring-boot.version>2.4.0</spring-boot.version>
59 <commons-io.version>2.8.0</commons-io.version>
60 <commons-net.version>3.3</commons-net.version>
61 <projectreactor.version>2020.0.2</projectreactor.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020062
ajay_dp0018cc9e642021-01-29 17:44:27 +053063 <!-- LOGGING SETTINGS -->
64 <slf4j.version>1.7.25</slf4j.version>
65 <logback.version>1.2.3</logback.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020066
ajay_dp0018cc9e642021-01-29 17:44:27 +053067 <!--TEST SETTINGS -->
68 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
69 <junit-jupiter.version>5.5.2</junit-jupiter.version>
70 <junit-platform.version>1.3.2</junit-platform.version>
71 <mockito.version>2.23.4</mockito.version>
72 <testng.version>6.14.2</testng.version>
73 <jcraft.version>0.1.54</jcraft.version>
74 <springfox.version>3.0.0</springfox.version>
75 <awaitility.version>3.1.6</awaitility.version>
76 <jackson-databind.version>2.11.4</jackson-databind.version>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +010077 <powermock.version>2.0.9</powermock.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020078
ajay_dp0018cc9e642021-01-29 17:44:27 +053079 <!-- Plugin versions -->
80 <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
81 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
82 <docker-maven-plugin.version>1.2.1</docker-maven-plugin.version>
83 <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
84 <sonar.coverage.jacoco.xmlReportPaths>
85 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
86 </sonar.coverage.jacoco.xmlReportPaths>
87 <springdoc-openapi-ui.version>1.5.3</springdoc-openapi-ui.version>
88 </properties>
elinuxhenrik215ab932019-04-17 11:07:48 +020089
ajay_dp0018cc9e642021-01-29 17:44:27 +053090 <dependencyManagement>
91 <dependencies>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020092 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +053093 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
94 <artifactId>cbs-client</artifactId>
95 <version>${sdk.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020096 </dependency>
ERIMROB42a29322020-08-14 13:39:24 +010097 <dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +053098 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
99 <artifactId>dmaap-client</artifactId>
100 <version>${sdk.version}</version>
ERIMROB42a29322020-08-14 13:39:24 +0100101 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530102 <dependency>
103 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
104 <artifactId>ssl</artifactId>
105 <version>${sdk.version}</version>
106 </dependency>
107 <dependency>
108 <groupId>org.apache.httpcomponents</groupId>
109 <artifactId>httpasyncclient</artifactId>
110 <version>${apache.httpcomponents.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
114 <artifactId>common-dependency</artifactId>
115 <version>${sdk.version}</version>
116 </dependency>
117 <dependency>
118 <groupId>org.apache.commons</groupId>
119 <artifactId>commons-lang3</artifactId>
120 <version>${apache.commons.version}</version>
121 </dependency>
122 <dependency>
123 <groupId>org.immutables</groupId>
124 <artifactId>value</artifactId>
125 <version>${immutable.version}</version>
126 <scope>provided</scope>
127 </dependency>
128 <dependency>
129 <groupId>org.immutables</groupId>
130 <artifactId>gson</artifactId>
131 <version>${immutable.version}</version>
132 </dependency>
133 <dependency>
134 <groupId>org.springframework</groupId>
135 <artifactId>spring-web</artifactId>
136 <version>${spring.version}</version>
137 </dependency>
138 <dependency>
139 <groupId>org.springframework</groupId>
140 <artifactId>spring-webmvc</artifactId>
141 <version>${spring.version}</version>
142 </dependency>
143 <dependency>
144 <groupId>org.springframework</groupId>
145 <artifactId>spring-beans</artifactId>
146 <version>${spring.version}</version>
147 </dependency>
148 <dependency>
149 <groupId>org.springframework</groupId>
150 <artifactId>spring-context</artifactId>
151 <version>${spring.version}</version>
152 </dependency>
153 <dependency>
154 <groupId>org.springframework</groupId>
155 <artifactId>spring-webflux</artifactId>
156 <version>${spring.version}</version>
157 </dependency>
158 <dependency>
159 <groupId>org.springframework.boot</groupId>
160 <artifactId>spring-boot-dependencies</artifactId>
161 <version>${spring-boot.version}</version>
162 <type>pom</type>
163 <scope>import</scope>
164 </dependency>
165 <dependency>
166 <groupId>commons-io</groupId>
167 <artifactId>commons-io</artifactId>
168 <version>${commons-io.version}</version>
169 </dependency>
170 <dependency>
171 <groupId>commons-net</groupId>
172 <artifactId>commons-net</artifactId>
173 <version>${commons-net.version}</version>
174 </dependency>
175 <dependency>
176 <groupId>com.jcraft</groupId>
177 <artifactId>jsch</artifactId>
178 <version>${jcraft.version}</version>
179 </dependency>
180 <dependency>
181 <groupId>ch.qos.logback</groupId>
182 <artifactId>logback-classic</artifactId>
183 <version>${logback.version}</version>
184 <scope>provided</scope>
185 </dependency>
186 <dependency>
187 <groupId>org.slf4j</groupId>
188 <artifactId>slf4j-api</artifactId>
189 <version>${slf4j.version}</version>
190 </dependency>
191 <dependency>
192 <groupId>org.junit.jupiter</groupId>
193 <artifactId>junit-jupiter-api</artifactId>
194 <version>${junit-jupiter.version}</version>
195 <scope>test</scope>
196 </dependency>
197 <dependency>
198 <groupId>org.junit.jupiter</groupId>
199 <artifactId>junit-jupiter-engine</artifactId>
200 <version>${junit-jupiter.version}</version>
201 <scope>test</scope>
202 </dependency>
203 <dependency>
204 <groupId>org.springframework</groupId>
205 <artifactId>spring-test</artifactId>
206 <version>${spring.version}</version>
207 <scope>test</scope>
208 </dependency>
209 <dependency>
210 <groupId>org.mockito</groupId>
211 <artifactId>mockito-junit-jupiter</artifactId>
212 <version>${mockito.version}</version>
213 <scope>test</scope>
214 </dependency>
215 <dependency>
216 <groupId>org.mockito</groupId>
217 <artifactId>mockito-core</artifactId>
218 <version>${mockito.version}</version>
219 <scope>test</scope>
220 </dependency>
221 <dependency>
222 <groupId>org.testng</groupId>
223 <artifactId>testng</artifactId>
224 <version>${testng.version}</version>
225 <scope>test</scope>
226 </dependency>
227 <dependency>
228 <groupId>org.springframework.boot</groupId>
229 <artifactId>spring-boot-starter-test</artifactId>
230 <version>${spring-boot.version}</version>
231 <scope>test</scope>
232 </dependency>
233 <dependency>
234 <groupId>org.awaitility</groupId>
235 <artifactId>awaitility</artifactId>
236 <version>${awaitility.version}</version>
237 <scope>test</scope>
238 </dependency>
Krzysztof Gajewski3eced292021-01-13 12:47:27 +0100239 <dependency>
240 <groupId>org.powermock</groupId>
241 <artifactId>powermock-module-junit4</artifactId>
242 <version>${powermock.version}</version>
243 <scope>test</scope>
244 </dependency>
245 <dependency>
246 <groupId>org.powermock</groupId>
247 <artifactId>powermock-api-mockito2</artifactId>
248 <version>${powermock.version}</version>
249 <scope>test</scope>
250 </dependency>
ajay_dp0018cc9e642021-01-29 17:44:27 +0530251
252 <!--REQUIRED TO GENERATE DOCUMENTATION -->
253 <dependency>
254 <groupId>io.springfox</groupId>
255 <artifactId>springfox-swagger2</artifactId>
256 <version>${springfox.version}</version>
257 </dependency>
258 <dependency>
259 <groupId>io.springfox</groupId>
260 <artifactId>springfox-swagger-ui</artifactId>
261 <version>${springfox.version}</version>
262 </dependency>
263 <dependency>
264 <groupId>org.springdoc</groupId>
265 <artifactId>springdoc-openapi-ui</artifactId>
266 <version>${springdoc-openapi-ui.version}</version>
267 </dependency>
268 <dependency>
269 <groupId>org.springdoc</groupId>
270 <artifactId>springdoc-openapi-data-rest</artifactId>
271 <version>${springdoc-openapi-ui.version}</version>
272 </dependency>
273 <dependency>
274 <groupId>com.fasterxml.jackson.core</groupId>
275 <artifactId>jackson-databind</artifactId>
276 <version>${jackson-databind.version}</version>
277 </dependency>
278 <dependency>
279 <groupId>io.springfox</groupId>
280 <artifactId>springfox-spring-web</artifactId>
281 <version>${springfox.version}</version>
282 </dependency>
283 <dependency>
284 <groupId>io.springfox</groupId>
285 <artifactId>springfox-spi</artifactId>
286 <version>${springfox.version}</version>
287 </dependency>
288 <dependency>
289 <groupId>io.springfox</groupId>
290 <artifactId>springfox-core</artifactId>
291 <version>${springfox.version}</version>
292 </dependency>
293 <dependency>
294 <groupId>io.projectreactor</groupId>
295 <artifactId>reactor-bom</artifactId>
296 <version>${projectreactor.version}</version>
297 <type>pom</type>
298 <scope>import</scope>
299 </dependency>
300 </dependencies>
301 </dependencyManagement>
302
303 <build>
304 <pluginManagement>
305 <plugins>
306 <plugin>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-resources-plugin</artifactId>
309 <version>${maven-resources-plugin.version}</version>
310 <configuration>
311 <encoding>${project.build.sourceEncoding}</encoding>
312 </configuration>
313 </plugin>
314 <plugin>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-compiler-plugin</artifactId>
317 <version>3.7.0</version>
318 <configuration>
319 <source>${java.version}</source>
320 <target>${java.version}</target>
321 <encoding>${project.build.sourceEncoding}</encoding>
322 <showWarnings>true</showWarnings>
323 <showDeprecation>true</showDeprecation>
324 </configuration>
325 </plugin>
326 <plugin>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-surefire-plugin</artifactId>
329 <version>${maven-surefire-plugin.version}</version>
330 <dependencies>
331 <dependency>
332 <groupId>org.junit.platform</groupId>
333 <artifactId>junit-platform-surefire-provider</artifactId>
334 <version>${junit-platform.version}</version>
335 </dependency>
336 <dependency>
337 <groupId>org.junit.jupiter</groupId>
338 <artifactId>junit-jupiter-engine</artifactId>
339 <version>${junit-jupiter.version}</version>
340 </dependency>
341 </dependencies>
342 </plugin>
343 <plugin>
344 <groupId>com.spotify</groupId>
345 <artifactId>docker-maven-plugin</artifactId>
346 <version>${docker-maven-plugin.version}</version>
347 </plugin>
348 <plugin>
349 <groupId>org.springframework.boot</groupId>
350 <artifactId>spring-boot-maven-plugin</artifactId>
351 <version>${spring-boot.version}</version>
352 <executions>
353 <execution>
354 <goals>
355 <goal>repackage</goal>
356 </goals>
357 </execution>
358 </executions>
359 </plugin>
360 <plugin>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-deploy-plugin</artifactId>
363 </plugin>
364 <plugin>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-enforcer-plugin</artifactId>
367 <configuration>
368 <skip>true</skip>
369 </configuration>
370 </plugin>
371 <plugin>
372 <groupId>pl.project13.maven</groupId>
373 <artifactId>git-commit-id-plugin</artifactId>
374 <version>${git-commit-id-plugin.version}</version>
375 </plugin>
376 <plugin>
377 <groupId>net.revelc.code.formatter</groupId>
378 <artifactId>formatter-maven-plugin</artifactId>
379 <version>2.8.1</version>
380 <configuration>
381 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
382 </configuration>
383 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
384 to rewrite source files use mvn formatter:validate to validate source files -->
385 </plugin>
386 <plugin>
387 <groupId>com.diffplug.spotless</groupId>
388 <artifactId>spotless-maven-plugin</artifactId>
389 <version>1.18.0</version>
390 <configuration>
391 <java>
392 <removeUnusedImports/>
393 <importOrder>
394 <order>com,java,javax,org</order>
395 </importOrder>
396 </java>
397 </configuration>
398 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
399 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
400 source files -->
401 </plugin>
402 </plugins>
403 </pluginManagement>
404 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200405</project>