blob: 4336cc8702ab2313d77b0158c65ced36df61603b [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=====================================================================
deen198571c13cd2020-08-03 11:06:37 +02004 ~ Copyright (C) 2018-2020 NOKIA Intellectual Property, 2018-2020 Nordix Foundation. All rights reserved.
elinuxhenrikf3945942018-09-14 15:49:10 +02005 ~ ==============================================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +02006 ~ 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
9 ~
elinuxhenrikf3945942018-09-14 15:49:10 +020010 ~ http://www.apache.org/licenses/LICENSE-2.0
elinuxhenrikd661dbc2018-08-17 12:34:58 +020011 ~
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.
elinuxhenrikf3945942018-09-14 15:49:10 +020017 ~ ============LICENSE_END=======================================================================
elinuxhenrikd661dbc2018-08-17 12:34:58 +020018 -->
elinuxhenrik5a61d0c2018-09-18 13:18:03 +020019<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">
elinuxhenrikd661dbc2018-08-17 12:34:58 +020022 <modelVersion>4.0.0</modelVersion>
elinuxhenrikf3945942018-09-14 15:49:10 +020023
elinuxhenrikd661dbc2018-08-17 12:34:58 +020024 <parent>
25 <groupId>org.onap.oparent</groupId>
26 <artifactId>oparent</artifactId>
elinuxhenrik415aa5b2019-06-28 12:18:16 +000027 <version>2.0.0</version>
elinuxhenrikf3945942018-09-14 15:49:10 +020028 <relativePath />
elinuxhenrikd661dbc2018-08-17 12:34:58 +020029 </parent>
elinuxhenrikf3945942018-09-14 15:49:10 +020030
elinuxhenrikd661dbc2018-08-17 12:34:58 +020031 <groupId>org.onap.dcaegen2.collectors</groupId>
32 <artifactId>datafile</artifactId>
Krzysztof Gajewski1af5c4d2021-01-05 14:40:29 +010033 <version>1.5.1-SNAPSHOT</version>
wasala93adeb42018-09-18 14:17:19 +020034
elinuxhenrikf3945942018-09-14 15:49:10 +020035 <name>dcaegen2-collectors.datafile</name>
36 <description>datafile collector</description>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020037 <packaging>pom</packaging>
38
39 <licenses>
40 <license>
41 <name>The Apache Software License, Version 2.0</name>
42 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
43 </license>
44 </licenses>
45
elinuxhenrikd661dbc2018-08-17 12:34:58 +020046 <properties>
Piotr Marcinkiewicz79461fa2020-07-29 15:23:46 +020047 <java.version>11</java.version>
tkogut8ad11272020-12-02 11:53:06 +010048 <sdk.version>1.5.0</sdk.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020049 <apache.httpcomponents.version>4.1.4</apache.httpcomponents.version>
50 <apache.commons.version>3.6</apache.commons.version>
wasala93adeb42018-09-18 14:17:19 +020051 <immutable.version>2.7.1</immutable.version>
tkogut8ad11272020-12-02 11:53:06 +010052 <spring.version>5.3.1</spring.version>
53 <spring-boot.version>2.4.0</spring-boot.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020054 <commons-io.version>1.3.2</commons-io.version>
55 <commons-net.version>3.3</commons-net.version>
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +010056 <projectreactor.version>2020.0.2</projectreactor.version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020057
58 <!-- LOGGING SETTINGS -->
59 <slf4j.version>1.7.25</slf4j.version>
60 <logback.version>1.2.3</logback.version>
61
62 <!--TEST SETTINGS -->
63 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
Jan Malkiewicz5135fde2020-07-15 15:28:41 +020064 <junit-jupiter.version>5.5.2</junit-jupiter.version>
ERIMROB42a29322020-08-14 13:39:24 +010065 <junit-platform.version>1.3.2</junit-platform.version>
elinuxhenrikaddf3f12019-06-05 08:54:17 +000066 <mockito.version>2.23.4</mockito.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020067 <testng.version>6.14.2</testng.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020068 <jcraft.version>0.1.54</jcraft.version>
ERIMROB42a29322020-08-14 13:39:24 +010069 <springfox.version>2.9.2</springfox.version>
elinuxhenrikaddf3f12019-06-05 08:54:17 +000070 <awaitility.version>3.1.6</awaitility.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020071
72 <!-- Plugin versions -->
73 <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
ERIMROB42a29322020-08-14 13:39:24 +010074 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +010075 <docker-maven-plugin.version>1.2.1</docker-maven-plugin.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020076 <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
Hansen, Tony (th1395)b788d2d2020-02-11 22:05:48 +000077 <sonar.coverage.jacoco.xmlReportPaths>
78 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
79 </sonar.coverage.jacoco.xmlReportPaths>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020080 </properties>
81
elinuxhenrik215ab932019-04-17 11:07:48 +020082 <dependencyManagement>
83 <dependencies>
84 <dependency>
85 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
86 <artifactId>cbs-client</artifactId>
87 <version>${sdk.version}</version>
88 </dependency>
89 <dependency>
90 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
91 <artifactId>dmaap-client</artifactId>
92 <version>${sdk.version}</version>
93 </dependency>
94 <dependency>
Remigiusz Janeczek3b6c2732020-08-18 12:48:19 +020095 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
96 <artifactId>ssl</artifactId>
97 <version>${sdk.version}</version>
98 </dependency>
99 <dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200100 <groupId>org.apache.httpcomponents</groupId>
101 <artifactId>httpasyncclient</artifactId>
102 <version>${apache.httpcomponents.version}</version>
103 </dependency>
104 <dependency>
elinuxhenrikaddf3f12019-06-05 08:54:17 +0000105 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
106 <artifactId>common-dependency</artifactId>
107 <version>${sdk.version}</version>
108 </dependency>
109 <dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200110 <groupId>org.apache.commons</groupId>
111 <artifactId>commons-lang3</artifactId>
112 <version>${apache.commons.version}</version>
113 </dependency>
114 <dependency>
115 <groupId>org.immutables</groupId>
116 <artifactId>value</artifactId>
117 <version>${immutable.version}</version>
118 <scope>provided</scope>
119 </dependency>
120 <dependency>
121 <groupId>org.immutables</groupId>
122 <artifactId>gson</artifactId>
123 <version>${immutable.version}</version>
124 </dependency>
125 <dependency>
126 <groupId>org.springframework</groupId>
127 <artifactId>spring-beans</artifactId>
128 <version>${spring.version}</version>
129 </dependency>
130 <dependency>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-context</artifactId>
133 <version>${spring.version}</version>
134 </dependency>
135 <dependency>
136 <groupId>org.springframework</groupId>
137 <artifactId>spring-webflux</artifactId>
138 <version>${spring.version}</version>
139 </dependency>
140 <dependency>
141 <groupId>org.springframework.boot</groupId>
142 <artifactId>spring-boot-dependencies</artifactId>
143 <version>${spring-boot.version}</version>
144 <type>pom</type>
145 <scope>import</scope>
146 </dependency>
147 <dependency>
148 <groupId>commons-io</groupId>
149 <artifactId>commons-io</artifactId>
150 <version>${commons-io.version}</version>
151 </dependency>
152 <dependency>
153 <groupId>commons-net</groupId>
154 <artifactId>commons-net</artifactId>
155 <version>${commons-net.version}</version>
156 </dependency>
157 <dependency>
158 <groupId>com.jcraft</groupId>
159 <artifactId>jsch</artifactId>
160 <version>${jcraft.version}</version>
161 </dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200162 <dependency>
163 <groupId>ch.qos.logback</groupId>
164 <artifactId>logback-classic</artifactId>
165 <version>${logback.version}</version>
166 <scope>provided</scope>
167 </dependency>
168 <dependency>
169 <groupId>org.slf4j</groupId>
170 <artifactId>slf4j-api</artifactId>
171 <version>${slf4j.version}</version>
172 </dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200173 <dependency>
174 <groupId>org.junit.jupiter</groupId>
175 <artifactId>junit-jupiter-api</artifactId>
176 <version>${junit-jupiter.version}</version>
177 <scope>test</scope>
178 </dependency>
179 <dependency>
180 <groupId>org.junit.jupiter</groupId>
181 <artifactId>junit-jupiter-engine</artifactId>
182 <version>${junit-jupiter.version}</version>
183 <scope>test</scope>
184 </dependency>
185 <dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200186 <groupId>org.springframework</groupId>
187 <artifactId>spring-test</artifactId>
188 <version>${spring.version}</version>
189 <scope>test</scope>
190 </dependency>
191 <dependency>
192 <groupId>org.mockito</groupId>
elinuxhenrikaddf3f12019-06-05 08:54:17 +0000193 <artifactId>mockito-junit-jupiter</artifactId>
194 <version>${mockito.version}</version>
195 <scope>test</scope>
196 </dependency>
197 <dependency>
198 <groupId>org.mockito</groupId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200199 <artifactId>mockito-core</artifactId>
200 <version>${mockito.version}</version>
201 <scope>test</scope>
202 </dependency>
203 <dependency>
204 <groupId>org.testng</groupId>
205 <artifactId>testng</artifactId>
206 <version>${testng.version}</version>
207 <scope>test</scope>
208 </dependency>
209 <dependency>
210 <groupId>org.springframework.boot</groupId>
211 <artifactId>spring-boot-starter-test</artifactId>
212 <version>${spring-boot.version}</version>
213 <scope>test</scope>
214 </dependency>
215 <dependency>
elinuxhenrikaddf3f12019-06-05 08:54:17 +0000216 <groupId>org.awaitility</groupId>
217 <artifactId>awaitility</artifactId>
218 <version>${awaitility.version}</version>
219 <scope>test</scope>
elinuxhenrik215ab932019-04-17 11:07:48 +0200220 </dependency>
221
222 <!--REQUIRED TO GENERATE DOCUMENTATION -->
223 <dependency>
224 <groupId>io.springfox</groupId>
225 <artifactId>springfox-swagger2</artifactId>
226 <version>${springfox.version}</version>
227 </dependency>
228 <dependency>
229 <groupId>io.springfox</groupId>
230 <artifactId>springfox-swagger-ui</artifactId>
231 <version>${springfox.version}</version>
232 </dependency>
Krzysztof Gajewski42c23b62020-12-15 11:19:51 +0100233 <dependency>
234 <groupId>io.projectreactor</groupId>
235 <artifactId>reactor-bom</artifactId>
236 <version>${projectreactor.version}</version>
237 <type>pom</type>
238 <scope>import</scope>
239 </dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200240 </dependencies>
241 </dependencyManagement>
242
elinuxhenrikf3945942018-09-14 15:49:10 +0200243 <modules>
Vijay Venkatesh Kumar0ae7a7f2018-10-05 14:14:00 +0200244 <module>datafile-app-server</module>
elinuxhenrikf3945942018-09-14 15:49:10 +0200245 </modules>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200246
247 <build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200248 <pluginManagement>
249 <plugins>
elinuxhenrikf3945942018-09-14 15:49:10 +0200250 <plugin>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-resources-plugin</artifactId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200253 <version>${maven-resources-plugin.version}</version>
elinuxhenrikf3945942018-09-14 15:49:10 +0200254 <configuration>
255 <encoding>${project.build.sourceEncoding}</encoding>
256 </configuration>
257 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-compiler-plugin</artifactId>
elinuxhenrikf3945942018-09-14 15:49:10 +0200261 <version>3.7.0</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200262 <configuration>
263 <source>${java.version}</source>
264 <target>${java.version}</target>
elinuxhenrikf3945942018-09-14 15:49:10 +0200265 <encoding>${project.build.sourceEncoding}</encoding>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200266 <showWarnings>true</showWarnings>
267 <showDeprecation>true</showDeprecation>
268 </configuration>
269 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200270 <plugin>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-surefire-plugin</artifactId>
ERIMROB42a29322020-08-14 13:39:24 +0100273 <version>${maven-surefire-plugin.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200274 <dependencies>
275 <dependency>
276 <groupId>org.junit.platform</groupId>
277 <artifactId>junit-platform-surefire-provider</artifactId>
elinuxhenrikf3945942018-09-14 15:49:10 +0200278 <version>${junit-platform.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200279 </dependency>
ERIMROB42a29322020-08-14 13:39:24 +0100280 <dependency>
281 <groupId>org.junit.jupiter</groupId>
282 <artifactId>junit-jupiter-engine</artifactId>
283 <version>${junit-jupiter.version}</version>
284 </dependency>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200285 </dependencies>
286 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200287 <plugin>
288 <groupId>com.spotify</groupId>
289 <artifactId>docker-maven-plugin</artifactId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200290 <version>${docker-maven-plugin.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200291 </plugin>
292 <plugin>
elinuxhenrikf3945942018-09-14 15:49:10 +0200293 <groupId>org.springframework.boot</groupId>
294 <artifactId>spring-boot-maven-plugin</artifactId>
295 <version>${spring-boot.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200296 <executions>
297 <execution>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200298 <goals>
elinuxhenrikf3945942018-09-14 15:49:10 +0200299 <goal>repackage</goal>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200300 </goals>
301 </execution>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200302 </executions>
303 </plugin>
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-deploy-plugin</artifactId>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200307 </plugin>
pwielebs8a84a9d2019-01-07 13:48:18 +0100308 <plugin>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-enforcer-plugin</artifactId>
311 <configuration>
312 <skip>true</skip>
313 </configuration>
314 </plugin>
PatrikBuhr1ee111c2019-04-12 08:24:36 +0000315 <plugin>
316 <groupId>pl.project13.maven</groupId>
317 <artifactId>git-commit-id-plugin</artifactId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200318 <version>${git-commit-id-plugin.version}</version>
PatrikBuhr1ee111c2019-04-12 08:24:36 +0000319 </plugin>
PatrikBuhr30eab2b2019-05-29 08:31:52 +0000320 <plugin>
321 <groupId>net.revelc.code.formatter</groupId>
322 <artifactId>formatter-maven-plugin</artifactId>
323 <version>2.8.1</version>
324 <configuration>
325 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
326 </configuration>
tkogut8ad11272020-12-02 11:53:06 +0100327 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
PatrikBuhr30eab2b2019-05-29 08:31:52 +0000328 to rewrite source files use mvn formatter:validate to validate source files -->
329 </plugin>
330 <plugin>
331 <groupId>com.diffplug.spotless</groupId>
332 <artifactId>spotless-maven-plugin</artifactId>
333 <version>1.18.0</version>
334 <configuration>
335 <java>
336 <removeUnusedImports/>
337 <importOrder>
338 <order>com,java,javax,org</order>
339 </importOrder>
340 </java>
341 </configuration>
342 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
343 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
344 source files -->
345 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200346 </plugins>
347 </pluginManagement>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200348 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200349</project>