blob: a807a4260eed95f55bea9f98dabd07a7ad8298b8 [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>
deen198571c13cd2020-08-03 11:06:37 +020033 <version>1.4.2-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>
YongchaoWub96580a2019-07-12 09:01:01 +000048 <sdk.version>1.1.6</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>
ERIMROB42a29322020-08-14 13:39:24 +010052 <spring.version>5.2.8.RELEASE</spring.version>
53 <spring-boot.version>2.2.9.RELEASE</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>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020056
57 <!-- LOGGING SETTINGS -->
58 <slf4j.version>1.7.25</slf4j.version>
59 <logback.version>1.2.3</logback.version>
60
61 <!--TEST SETTINGS -->
62 <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
Jan Malkiewicz5135fde2020-07-15 15:28:41 +020063 <junit-jupiter.version>5.5.2</junit-jupiter.version>
ERIMROB42a29322020-08-14 13:39:24 +010064 <junit-platform.version>1.3.2</junit-platform.version>
elinuxhenrikaddf3f12019-06-05 08:54:17 +000065 <mockito.version>2.23.4</mockito.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020066 <testng.version>6.14.2</testng.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020067 <jcraft.version>0.1.54</jcraft.version>
ERIMROB42a29322020-08-14 13:39:24 +010068 <springfox.version>2.9.2</springfox.version>
elinuxhenrikaddf3f12019-06-05 08:54:17 +000069 <awaitility.version>3.1.6</awaitility.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020070
71 <!-- Plugin versions -->
72 <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
ERIMROB42a29322020-08-14 13:39:24 +010073 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
elinuxhenrik215ab932019-04-17 11:07:48 +020074 <docker-maven-plugin.version>1.1.1</docker-maven-plugin.version>
75 <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
Hansen, Tony (th1395)b788d2d2020-02-11 22:05:48 +000076 <sonar.coverage.jacoco.xmlReportPaths>
77 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
78 </sonar.coverage.jacoco.xmlReportPaths>
elinuxhenrikd661dbc2018-08-17 12:34:58 +020079 </properties>
80
elinuxhenrik215ab932019-04-17 11:07:48 +020081 <dependencyManagement>
82 <dependencies>
83 <dependency>
84 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
85 <artifactId>cbs-client</artifactId>
86 <version>${sdk.version}</version>
87 </dependency>
88 <dependency>
89 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
90 <artifactId>dmaap-client</artifactId>
91 <version>${sdk.version}</version>
92 </dependency>
93 <dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +020094 <groupId>org.apache.httpcomponents</groupId>
95 <artifactId>httpasyncclient</artifactId>
96 <version>${apache.httpcomponents.version}</version>
97 </dependency>
98 <dependency>
elinuxhenrikaddf3f12019-06-05 08:54:17 +000099 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
100 <artifactId>common-dependency</artifactId>
101 <version>${sdk.version}</version>
102 </dependency>
103 <dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200104 <groupId>org.apache.commons</groupId>
105 <artifactId>commons-lang3</artifactId>
106 <version>${apache.commons.version}</version>
107 </dependency>
108 <dependency>
109 <groupId>org.immutables</groupId>
110 <artifactId>value</artifactId>
111 <version>${immutable.version}</version>
112 <scope>provided</scope>
113 </dependency>
114 <dependency>
115 <groupId>org.immutables</groupId>
116 <artifactId>gson</artifactId>
117 <version>${immutable.version}</version>
118 </dependency>
119 <dependency>
120 <groupId>org.springframework</groupId>
121 <artifactId>spring-beans</artifactId>
122 <version>${spring.version}</version>
123 </dependency>
124 <dependency>
125 <groupId>org.springframework</groupId>
126 <artifactId>spring-context</artifactId>
127 <version>${spring.version}</version>
128 </dependency>
129 <dependency>
130 <groupId>org.springframework</groupId>
131 <artifactId>spring-webflux</artifactId>
132 <version>${spring.version}</version>
133 </dependency>
134 <dependency>
135 <groupId>org.springframework.boot</groupId>
136 <artifactId>spring-boot-dependencies</artifactId>
137 <version>${spring-boot.version}</version>
138 <type>pom</type>
139 <scope>import</scope>
140 </dependency>
141 <dependency>
142 <groupId>commons-io</groupId>
143 <artifactId>commons-io</artifactId>
144 <version>${commons-io.version}</version>
145 </dependency>
146 <dependency>
147 <groupId>commons-net</groupId>
148 <artifactId>commons-net</artifactId>
149 <version>${commons-net.version}</version>
150 </dependency>
151 <dependency>
152 <groupId>com.jcraft</groupId>
153 <artifactId>jsch</artifactId>
154 <version>${jcraft.version}</version>
155 </dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200156 <dependency>
157 <groupId>ch.qos.logback</groupId>
158 <artifactId>logback-classic</artifactId>
159 <version>${logback.version}</version>
160 <scope>provided</scope>
161 </dependency>
162 <dependency>
163 <groupId>org.slf4j</groupId>
164 <artifactId>slf4j-api</artifactId>
165 <version>${slf4j.version}</version>
166 </dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200167 <dependency>
168 <groupId>org.junit.jupiter</groupId>
169 <artifactId>junit-jupiter-api</artifactId>
170 <version>${junit-jupiter.version}</version>
171 <scope>test</scope>
172 </dependency>
173 <dependency>
174 <groupId>org.junit.jupiter</groupId>
175 <artifactId>junit-jupiter-engine</artifactId>
176 <version>${junit-jupiter.version}</version>
177 <scope>test</scope>
178 </dependency>
179 <dependency>
elinuxhenrik215ab932019-04-17 11:07:48 +0200180 <groupId>org.springframework</groupId>
181 <artifactId>spring-test</artifactId>
182 <version>${spring.version}</version>
183 <scope>test</scope>
184 </dependency>
185 <dependency>
186 <groupId>org.mockito</groupId>
elinuxhenrikaddf3f12019-06-05 08:54:17 +0000187 <artifactId>mockito-junit-jupiter</artifactId>
188 <version>${mockito.version}</version>
189 <scope>test</scope>
190 </dependency>
191 <dependency>
192 <groupId>org.mockito</groupId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200193 <artifactId>mockito-core</artifactId>
194 <version>${mockito.version}</version>
195 <scope>test</scope>
196 </dependency>
197 <dependency>
198 <groupId>org.testng</groupId>
199 <artifactId>testng</artifactId>
200 <version>${testng.version}</version>
201 <scope>test</scope>
202 </dependency>
203 <dependency>
204 <groupId>org.springframework.boot</groupId>
205 <artifactId>spring-boot-starter-test</artifactId>
206 <version>${spring-boot.version}</version>
207 <scope>test</scope>
208 </dependency>
209 <dependency>
elinuxhenrikaddf3f12019-06-05 08:54:17 +0000210 <groupId>org.awaitility</groupId>
211 <artifactId>awaitility</artifactId>
212 <version>${awaitility.version}</version>
213 <scope>test</scope>
elinuxhenrik215ab932019-04-17 11:07:48 +0200214 </dependency>
215
216 <!--REQUIRED TO GENERATE DOCUMENTATION -->
217 <dependency>
218 <groupId>io.springfox</groupId>
219 <artifactId>springfox-swagger2</artifactId>
220 <version>${springfox.version}</version>
221 </dependency>
222 <dependency>
223 <groupId>io.springfox</groupId>
224 <artifactId>springfox-swagger-ui</artifactId>
225 <version>${springfox.version}</version>
226 </dependency>
227 </dependencies>
228 </dependencyManagement>
229
elinuxhenrikf3945942018-09-14 15:49:10 +0200230 <modules>
Vijay Venkatesh Kumar0ae7a7f2018-10-05 14:14:00 +0200231 <module>datafile-app-server</module>
elinuxhenrikf3945942018-09-14 15:49:10 +0200232 </modules>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200233
234 <build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200235 <pluginManagement>
236 <plugins>
elinuxhenrikf3945942018-09-14 15:49:10 +0200237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-resources-plugin</artifactId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200240 <version>${maven-resources-plugin.version}</version>
elinuxhenrikf3945942018-09-14 15:49:10 +0200241 <configuration>
242 <encoding>${project.build.sourceEncoding}</encoding>
243 </configuration>
244 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-compiler-plugin</artifactId>
elinuxhenrikf3945942018-09-14 15:49:10 +0200248 <version>3.7.0</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200249 <configuration>
250 <source>${java.version}</source>
251 <target>${java.version}</target>
elinuxhenrikf3945942018-09-14 15:49:10 +0200252 <encoding>${project.build.sourceEncoding}</encoding>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200253 <showWarnings>true</showWarnings>
254 <showDeprecation>true</showDeprecation>
255 </configuration>
256 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-surefire-plugin</artifactId>
ERIMROB42a29322020-08-14 13:39:24 +0100260 <version>${maven-surefire-plugin.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200261 <dependencies>
262 <dependency>
263 <groupId>org.junit.platform</groupId>
264 <artifactId>junit-platform-surefire-provider</artifactId>
elinuxhenrikf3945942018-09-14 15:49:10 +0200265 <version>${junit-platform.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200266 </dependency>
ERIMROB42a29322020-08-14 13:39:24 +0100267 <dependency>
268 <groupId>org.junit.jupiter</groupId>
269 <artifactId>junit-jupiter-engine</artifactId>
270 <version>${junit-jupiter.version}</version>
271 </dependency>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200272 </dependencies>
273 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200274 <plugin>
275 <groupId>com.spotify</groupId>
276 <artifactId>docker-maven-plugin</artifactId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200277 <version>${docker-maven-plugin.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200278 </plugin>
279 <plugin>
elinuxhenrikf3945942018-09-14 15:49:10 +0200280 <groupId>org.springframework.boot</groupId>
281 <artifactId>spring-boot-maven-plugin</artifactId>
282 <version>${spring-boot.version}</version>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200283 <executions>
284 <execution>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200285 <goals>
elinuxhenrikf3945942018-09-14 15:49:10 +0200286 <goal>repackage</goal>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200287 </goals>
288 </execution>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200289 </executions>
290 </plugin>
291 <plugin>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-deploy-plugin</artifactId>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200294 </plugin>
pwielebs8a84a9d2019-01-07 13:48:18 +0100295 <plugin>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-enforcer-plugin</artifactId>
298 <configuration>
299 <skip>true</skip>
300 </configuration>
301 </plugin>
PatrikBuhr1ee111c2019-04-12 08:24:36 +0000302 <plugin>
303 <groupId>pl.project13.maven</groupId>
304 <artifactId>git-commit-id-plugin</artifactId>
elinuxhenrik215ab932019-04-17 11:07:48 +0200305 <version>${git-commit-id-plugin.version}</version>
PatrikBuhr1ee111c2019-04-12 08:24:36 +0000306 </plugin>
PatrikBuhr30eab2b2019-05-29 08:31:52 +0000307 <plugin>
308 <groupId>net.revelc.code.formatter</groupId>
309 <artifactId>formatter-maven-plugin</artifactId>
310 <version>2.8.1</version>
311 <configuration>
312 <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile>
313 </configuration>
314 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
315 to rewrite source files use mvn formatter:validate to validate source files -->
316 </plugin>
317 <plugin>
318 <groupId>com.diffplug.spotless</groupId>
319 <artifactId>spotless-maven-plugin</artifactId>
320 <version>1.18.0</version>
321 <configuration>
322 <java>
323 <removeUnusedImports/>
324 <importOrder>
325 <order>com,java,javax,org</order>
326 </importOrder>
327 </java>
328 </configuration>
329 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
330 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
331 source files -->
332 </plugin>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200333 </plugins>
334 </pluginManagement>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200335 </build>
elinuxhenrikd661dbc2018-08-17 12:34:58 +0200336</project>