PatrikBuhr | 0bc6dc5 | 2022-08-16 09:37:02 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ ============LICENSE_START===================================================================== |
| 4 | ~ Copyright (C) 2018-2022 Nokia. All rights reserved. |
| 5 | ~ Copyright (C) 2018-2021 Nordix Foundation. All rights reserved. |
| 6 | ~ Copyright (C) 2021 Samsung Electronics. All rights reserved. |
| 7 | ~ ============================================================================================== |
| 8 | ~ 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 | ~ |
| 12 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | ~ |
| 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. |
| 19 | ~ ============LICENSE_END======================================================================= |
| 20 | --> |
| 21 | <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"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | |
| 26 | <parent> |
| 27 | <groupId>org.onap.oparent</groupId> |
| 28 | <artifactId>oparent</artifactId> |
| 29 | <version>2.0.0</version> |
| 30 | <relativePath/> |
| 31 | </parent> |
| 32 | |
| 33 | <groupId>org.onap.dcaegen2.collectors</groupId> |
| 34 | <artifactId>datafile</artifactId> |
| 35 | <version>1.8.0-SNAPSHOT</version> |
| 36 | |
| 37 | <name>dcaegen2-collectors.datafile</name> |
| 38 | <description>datafile collector</description> |
| 39 | <packaging>pom</packaging> |
| 40 | |
| 41 | <modules> |
| 42 | <module>datafile-app-server</module> |
| 43 | </modules> |
| 44 | |
| 45 | <licenses> |
| 46 | <license> |
| 47 | <name>The Apache Software License, Version 2.0</name> |
| 48 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 49 | </license> |
| 50 | </licenses> |
| 51 | |
| 52 | <properties> |
| 53 | <java.version>11</java.version> |
| 54 | <sdk.version>1.8.8</sdk.version> |
| 55 | <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> |
| 58 | <spring.version>5.3.14</spring.version> |
| 59 | <spring-boot.version>2.4.5</spring-boot.version> |
| 60 | <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> |
| 63 | <httpcomponents.core5.version>5.0.3</httpcomponents.core5.version> |
| 64 | |
| 65 | <!-- LOGGING SETTINGS --> |
| 66 | <slf4j.version>1.7.25</slf4j.version> |
| 67 | <logback.version>1.2.3</logback.version> |
| 68 | |
| 69 | <!--TEST SETTINGS --> |
| 70 | <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile> |
| 71 | <junit-jupiter.version>5.5.2</junit-jupiter.version> |
| 72 | <junit-platform.version>1.3.2</junit-platform.version> |
| 73 | <mockito.version>2.23.4</mockito.version> |
| 74 | <testng.version>6.14.2</testng.version> |
| 75 | <jcraft.version>0.1.54</jcraft.version> |
| 76 | <springfox.version>3.0.0</springfox.version> |
| 77 | <awaitility.version>3.1.6</awaitility.version> |
| 78 | <jackson-databind.version>2.11.4</jackson-databind.version> |
| 79 | <powermock.version>2.0.9</powermock.version> |
| 80 | |
| 81 | <!-- Plugin versions --> |
| 82 | <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version> |
| 83 | <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version> |
| 84 | <docker-maven-plugin.version>1.2.1</docker-maven-plugin.version> |
| 85 | <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version> |
| 86 | <sonar.coverage.jacoco.xmlReportPaths> |
| 87 | ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml |
| 88 | </sonar.coverage.jacoco.xmlReportPaths> |
| 89 | <springdoc-openapi-ui.version>1.5.3</springdoc-openapi-ui.version> |
| 90 | </properties> |
| 91 | |
| 92 | <dependencyManagement> |
| 93 | <dependencies> |
| 94 | <dependency> |
| 95 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 96 | <artifactId>cbs-client</artifactId> |
| 97 | <version>${sdk.version}</version> |
| 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 101 | <artifactId>dmaap-client</artifactId> |
| 102 | <version>${sdk.version}</version> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>org.onap.dcaegen2.services.sdk.security</groupId> |
| 106 | <artifactId>ssl</artifactId> |
| 107 | <version>${sdk.version}</version> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.apache.httpcomponents</groupId> |
| 111 | <artifactId>httpasyncclient</artifactId> |
| 112 | <version>${apache.httpcomponents.version}</version> |
| 113 | </dependency> |
| 114 | <dependency> |
| 115 | <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId> |
| 116 | <artifactId>common-dependency</artifactId> |
| 117 | <version>${sdk.version}</version> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>org.apache.commons</groupId> |
| 121 | <artifactId>commons-lang3</artifactId> |
| 122 | <version>${apache.commons.version}</version> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>org.immutables</groupId> |
| 126 | <artifactId>value</artifactId> |
| 127 | <version>${immutable.version}</version> |
| 128 | <scope>provided</scope> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>org.immutables</groupId> |
| 132 | <artifactId>gson</artifactId> |
| 133 | <version>${immutable.version}</version> |
| 134 | </dependency> |
| 135 | <dependency> |
| 136 | <groupId>org.springframework</groupId> |
| 137 | <artifactId>spring-web</artifactId> |
| 138 | <version>${spring.version}</version> |
| 139 | </dependency> |
| 140 | <dependency> |
| 141 | <groupId>org.springframework</groupId> |
| 142 | <artifactId>spring-webmvc</artifactId> |
| 143 | <version>${spring.version}</version> |
| 144 | </dependency> |
| 145 | <dependency> |
| 146 | <groupId>org.springframework</groupId> |
| 147 | <artifactId>spring-beans</artifactId> |
| 148 | <version>${spring.version}</version> |
| 149 | </dependency> |
| 150 | <dependency> |
| 151 | <groupId>org.springframework</groupId> |
| 152 | <artifactId>spring-context</artifactId> |
| 153 | <version>${spring.version}</version> |
| 154 | </dependency> |
| 155 | <dependency> |
| 156 | <groupId>org.springframework</groupId> |
| 157 | <artifactId>spring-webflux</artifactId> |
| 158 | <version>${spring.version}</version> |
| 159 | </dependency> |
| 160 | <dependency> |
| 161 | <groupId>org.springframework.boot</groupId> |
| 162 | <artifactId>spring-boot-dependencies</artifactId> |
| 163 | <version>${spring-boot.version}</version> |
| 164 | <type>pom</type> |
| 165 | <scope>import</scope> |
| 166 | </dependency> |
| 167 | <dependency> |
| 168 | <groupId>commons-io</groupId> |
| 169 | <artifactId>commons-io</artifactId> |
| 170 | <version>${commons-io.version}</version> |
| 171 | </dependency> |
| 172 | <dependency> |
| 173 | <groupId>commons-net</groupId> |
| 174 | <artifactId>commons-net</artifactId> |
| 175 | <version>${commons-net.version}</version> |
| 176 | </dependency> |
| 177 | <dependency> |
| 178 | <groupId>com.jcraft</groupId> |
| 179 | <artifactId>jsch</artifactId> |
| 180 | <version>${jcraft.version}</version> |
| 181 | </dependency> |
| 182 | <dependency> |
| 183 | <groupId>ch.qos.logback</groupId> |
| 184 | <artifactId>logback-classic</artifactId> |
| 185 | <version>${logback.version}</version> |
| 186 | <scope>provided</scope> |
| 187 | </dependency> |
| 188 | <dependency> |
| 189 | <groupId>org.slf4j</groupId> |
| 190 | <artifactId>slf4j-api</artifactId> |
| 191 | <version>${slf4j.version}</version> |
| 192 | </dependency> |
| 193 | <dependency> |
| 194 | <groupId>org.apache.httpcomponents.core5</groupId> |
| 195 | <artifactId>httpcore5</artifactId> |
| 196 | <version>${httpcomponents.core5.version}</version> |
| 197 | </dependency> |
| 198 | <dependency> |
| 199 | <groupId>org.junit.jupiter</groupId> |
| 200 | <artifactId>junit-jupiter-api</artifactId> |
| 201 | <version>${junit-jupiter.version}</version> |
| 202 | <scope>test</scope> |
| 203 | </dependency> |
| 204 | <dependency> |
| 205 | <groupId>org.junit.jupiter</groupId> |
| 206 | <artifactId>junit-jupiter-engine</artifactId> |
| 207 | <version>${junit-jupiter.version}</version> |
| 208 | <scope>test</scope> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.springframework</groupId> |
| 212 | <artifactId>spring-test</artifactId> |
| 213 | <version>${spring.version}</version> |
| 214 | <scope>test</scope> |
| 215 | </dependency> |
| 216 | <dependency> |
| 217 | <groupId>org.springframework</groupId> |
| 218 | <artifactId>spring-expression</artifactId> |
| 219 | <version>${spring.version}</version> |
| 220 | </dependency> |
| 221 | <dependency> |
| 222 | <groupId>org.mockito</groupId> |
| 223 | <artifactId>mockito-junit-jupiter</artifactId> |
| 224 | <version>${mockito.version}</version> |
| 225 | <scope>test</scope> |
| 226 | </dependency> |
| 227 | <dependency> |
| 228 | <groupId>org.mockito</groupId> |
| 229 | <artifactId>mockito-core</artifactId> |
| 230 | <version>${mockito.version}</version> |
| 231 | <scope>test</scope> |
| 232 | </dependency> |
| 233 | <dependency> |
| 234 | <groupId>org.testng</groupId> |
| 235 | <artifactId>testng</artifactId> |
| 236 | <version>${testng.version}</version> |
| 237 | <scope>test</scope> |
| 238 | </dependency> |
| 239 | <dependency> |
| 240 | <groupId>org.springframework.boot</groupId> |
| 241 | <artifactId>spring-boot-starter-test</artifactId> |
| 242 | <version>${spring-boot.version}</version> |
| 243 | <scope>test</scope> |
| 244 | </dependency> |
| 245 | <dependency> |
| 246 | <groupId>org.awaitility</groupId> |
| 247 | <artifactId>awaitility</artifactId> |
| 248 | <version>${awaitility.version}</version> |
| 249 | <scope>test</scope> |
| 250 | </dependency> |
| 251 | <dependency> |
| 252 | <groupId>org.powermock</groupId> |
| 253 | <artifactId>powermock-module-junit4</artifactId> |
| 254 | <version>${powermock.version}</version> |
| 255 | <scope>test</scope> |
| 256 | </dependency> |
| 257 | <dependency> |
| 258 | <groupId>org.powermock</groupId> |
| 259 | <artifactId>powermock-api-mockito2</artifactId> |
| 260 | <version>${powermock.version}</version> |
| 261 | <scope>test</scope> |
| 262 | </dependency> |
| 263 | |
| 264 | <!--REQUIRED TO GENERATE DOCUMENTATION --> |
| 265 | <dependency> |
| 266 | <groupId>io.springfox</groupId> |
| 267 | <artifactId>springfox-swagger2</artifactId> |
| 268 | <version>${springfox.version}</version> |
| 269 | </dependency> |
| 270 | <dependency> |
| 271 | <groupId>io.springfox</groupId> |
| 272 | <artifactId>springfox-swagger-ui</artifactId> |
| 273 | <version>${springfox.version}</version> |
| 274 | </dependency> |
| 275 | <dependency> |
| 276 | <groupId>org.springdoc</groupId> |
| 277 | <artifactId>springdoc-openapi-ui</artifactId> |
| 278 | <version>${springdoc-openapi-ui.version}</version> |
| 279 | </dependency> |
| 280 | <dependency> |
| 281 | <groupId>org.springdoc</groupId> |
| 282 | <artifactId>springdoc-openapi-data-rest</artifactId> |
| 283 | <version>${springdoc-openapi-ui.version}</version> |
| 284 | </dependency> |
| 285 | <dependency> |
| 286 | <groupId>com.fasterxml.jackson.core</groupId> |
| 287 | <artifactId>jackson-databind</artifactId> |
| 288 | <version>${jackson-databind.version}</version> |
| 289 | </dependency> |
| 290 | <dependency> |
| 291 | <groupId>io.springfox</groupId> |
| 292 | <artifactId>springfox-spring-web</artifactId> |
| 293 | <version>${springfox.version}</version> |
| 294 | </dependency> |
| 295 | <dependency> |
| 296 | <groupId>io.springfox</groupId> |
| 297 | <artifactId>springfox-spi</artifactId> |
| 298 | <version>${springfox.version}</version> |
| 299 | </dependency> |
| 300 | <dependency> |
| 301 | <groupId>io.springfox</groupId> |
| 302 | <artifactId>springfox-core</artifactId> |
| 303 | <version>${springfox.version}</version> |
| 304 | </dependency> |
| 305 | <dependency> |
| 306 | <groupId>io.projectreactor</groupId> |
| 307 | <artifactId>reactor-bom</artifactId> |
| 308 | <version>${projectreactor.version}</version> |
| 309 | <type>pom</type> |
| 310 | <scope>import</scope> |
| 311 | </dependency> |
| 312 | </dependencies> |
| 313 | </dependencyManagement> |
| 314 | |
| 315 | <build> |
| 316 | <pluginManagement> |
| 317 | <plugins> |
| 318 | <plugin> |
| 319 | <groupId>org.apache.maven.plugins</groupId> |
| 320 | <artifactId>maven-resources-plugin</artifactId> |
| 321 | <version>${maven-resources-plugin.version}</version> |
| 322 | <configuration> |
| 323 | <encoding>${project.build.sourceEncoding}</encoding> |
| 324 | </configuration> |
| 325 | </plugin> |
| 326 | <plugin> |
| 327 | <groupId>org.apache.maven.plugins</groupId> |
| 328 | <artifactId>maven-compiler-plugin</artifactId> |
| 329 | <version>3.7.0</version> |
| 330 | <configuration> |
| 331 | <source>${java.version}</source> |
| 332 | <target>${java.version}</target> |
| 333 | <encoding>${project.build.sourceEncoding}</encoding> |
| 334 | <showWarnings>true</showWarnings> |
| 335 | <showDeprecation>true</showDeprecation> |
| 336 | </configuration> |
| 337 | </plugin> |
| 338 | <plugin> |
| 339 | <groupId>org.apache.maven.plugins</groupId> |
| 340 | <artifactId>maven-surefire-plugin</artifactId> |
| 341 | <version>${maven-surefire-plugin.version}</version> |
| 342 | <dependencies> |
| 343 | <dependency> |
| 344 | <groupId>org.junit.platform</groupId> |
| 345 | <artifactId>junit-platform-surefire-provider</artifactId> |
| 346 | <version>${junit-platform.version}</version> |
| 347 | </dependency> |
| 348 | <dependency> |
| 349 | <groupId>org.junit.jupiter</groupId> |
| 350 | <artifactId>junit-jupiter-engine</artifactId> |
| 351 | <version>${junit-jupiter.version}</version> |
| 352 | </dependency> |
| 353 | </dependencies> |
| 354 | </plugin> |
| 355 | <plugin> |
| 356 | <groupId>com.spotify</groupId> |
| 357 | <artifactId>docker-maven-plugin</artifactId> |
| 358 | <version>${docker-maven-plugin.version}</version> |
| 359 | </plugin> |
| 360 | <plugin> |
| 361 | <groupId>org.springframework.boot</groupId> |
| 362 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 363 | <version>${spring-boot.version}</version> |
| 364 | <executions> |
| 365 | <execution> |
| 366 | <goals> |
| 367 | <goal>repackage</goal> |
| 368 | </goals> |
| 369 | </execution> |
| 370 | </executions> |
| 371 | </plugin> |
| 372 | <plugin> |
| 373 | <groupId>org.apache.maven.plugins</groupId> |
| 374 | <artifactId>maven-deploy-plugin</artifactId> |
| 375 | </plugin> |
| 376 | <plugin> |
| 377 | <groupId>org.apache.maven.plugins</groupId> |
| 378 | <artifactId>maven-enforcer-plugin</artifactId> |
| 379 | <configuration> |
| 380 | <skip>true</skip> |
| 381 | </configuration> |
| 382 | </plugin> |
| 383 | <plugin> |
| 384 | <groupId>pl.project13.maven</groupId> |
| 385 | <artifactId>git-commit-id-plugin</artifactId> |
| 386 | <version>${git-commit-id-plugin.version}</version> |
| 387 | </plugin> |
| 388 | <plugin> |
| 389 | <groupId>net.revelc.code.formatter</groupId> |
| 390 | <artifactId>formatter-maven-plugin</artifactId> |
| 391 | <version>2.8.1</version> |
| 392 | <configuration> |
| 393 | <configFile>${project.parent.basedir}/onap-java-formatter.xml</configFile> |
| 394 | </configuration> |
| 395 | <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format |
| 396 | to rewrite source files use mvn formatter:validate to validate source files --> |
| 397 | </plugin> |
| 398 | <plugin> |
| 399 | <groupId>com.diffplug.spotless</groupId> |
| 400 | <artifactId>spotless-maven-plugin</artifactId> |
| 401 | <version>1.18.0</version> |
| 402 | <configuration> |
| 403 | <java> |
| 404 | <removeUnusedImports/> |
| 405 | <importOrder> |
| 406 | <order>com,java,javax,org</order> |
| 407 | </importOrder> |
| 408 | </java> |
| 409 | </configuration> |
| 410 | <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use |
| 411 | mvn spotless:apply to rewrite source files use mvn spotless:check to validate |
| 412 | source files --> |
| 413 | </plugin> |
| 414 | </plugins> |
| 415 | </pluginManagement> |
| 416 | </build> |
| 417 | </project> |