1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ dcaegen2-collectors-veshv
5 ~ ================================================================================
6 ~ Copyright (C) 2018-2019 NOKIA
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
12 ~ http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 <project xmlns="http://maven.apache.org/POM/4.0.0" 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">
24 <modelVersion>4.0.0</modelVersion>
28 <name>The Apache Software License, Version 2.0</name>
29 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
34 <groupId>org.onap.oparent</groupId>
35 <artifactId>oparent</artifactId>
36 <version>1.2.1</version>
40 <groupId>org.onap.dcaegen2.collectors.hv-ves</groupId>
41 <artifactId>ves-hv-collector</artifactId>
42 <version>1.1.0-SNAPSHOT</version>
43 <name>dcaegen2-collectors-veshv</name>
44 <description>VES HighVolume Collector</description>
45 <packaging>pom</packaging>
48 <module>build</module>
49 <module>sources</module>
53 <kotlin.version>1.3.21</kotlin.version>
54 <arrow.version>0.9.0</arrow.version>
55 <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
56 <build-helper-maven-plugin.version>1.7</build-helper-maven-plugin.version>
57 <jacoco.version>0.8.2</jacoco.version>
58 <detekt.version>1.0.0-RC14</detekt.version>
59 <sdk.version>1.1.4-SNAPSHOT</sdk.version>
61 <!-- Protocol buffers -->
62 <protobuf.version>3.6.1</protobuf.version>
64 <!-- Testing and code analysis -->
65 <junit-platform.version>1.2.0-RC1</junit-platform.version>
66 <junit-jupiter.version>5.2.0-RC1</junit-jupiter.version>
67 <spek.version>1.1.5</spek.version>
68 <gson.version>2.8.5</gson.version>
69 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
70 <failIfMissingUnitTests>false</failIfMissingUnitTests>
71 <failIfMissingComponentTests>false</failIfMissingComponentTests>
72 <skipAnalysis>true</skipAnalysis>
73 <jacoco.minimum.coverage>60</jacoco.minimum.coverage>
74 <skipEnforcer>true</skipEnforcer>
77 <skipDocker>false</skipDocker>
78 <skipDockerPush>true</skipDockerPush>
79 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
80 <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry>
81 <docker-image.namespace>onap</docker-image.namespace>
82 <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name>
83 <docker-image.latest>1.1-SNAPSHOT</docker-image.latest>
88 <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
89 <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
92 <directory>${project.basedir}/src/main/resources</directory>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-resources-plugin</artifactId>
100 <version>3.1.0</version>
102 <encoding>UTF-8</encoding>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-deploy-plugin</artifactId>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-enforcer-plugin</artifactId>
116 <skip>${skipEnforcer}</skip>
120 <artifactId>kotlin-maven-plugin</artifactId>
121 <groupId>org.jetbrains.kotlin</groupId>
122 <version>${kotlin.version}</version>
124 <jvmTarget>1.8</jvmTarget>
134 <source>${project.build.sourceDirectory}</source>
135 <source>${project.build.directory}/generated-sources/annotations</source>
140 <id>test-compile</id>
142 <goal>test-compile</goal>
146 <source>${project.build.testSourceDirectory}</source>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-compiler-plugin</artifactId>
155 <version>${maven-compiler-plugin.version}</version>
159 <encoding>UTF-8</encoding>
160 <showWarnings>true</showWarnings>
161 <showDeprecation>true</showDeprecation>
162 <failOnWarning>false</failOnWarning>
166 <groupId>org.ow2.asm</groupId>
167 <artifactId>asm</artifactId>
168 <version>6.1.1</version> <!-- Use newer version of ASM -->
173 Due to a memory leak in Surefire 2.20 and issues running on Java 9, the junit-platform-surefire-provider
174 currently only works with Surefire 2.19.1.
175 For updates see https://junit.org/junit5/docs/current/user-guide/#running-tests-build-maven
178 <artifactId>maven-surefire-plugin</artifactId>
179 <groupId>org.apache.maven.plugins</groupId>
180 <version>${maven-surefire-plugin.version}</version>
182 <failIfNoTests>${failIfMissingUnitTests}</failIfNoTests>
183 <forkCount>1</forkCount>
185 <include>**/*Test.*</include>
190 <groupId>org.apache.commons</groupId>
191 <artifactId>commons-lang3</artifactId>
192 <version>3.7</version>
195 <groupId>org.junit.platform</groupId>
196 <artifactId>junit-platform-surefire-provider</artifactId>
197 <version>${junit-platform.version}</version>
198 <scope>runtime</scope>
201 <groupId>org.jetbrains.spek</groupId>
202 <artifactId>spek-junit-platform-engine</artifactId>
203 <version>${spek.version}</version>
204 <scope>runtime</scope>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-failsafe-plugin</artifactId>
211 <version>2.22.0</version>
213 <failIfNoTests>${failIfMissingComponentTests}</failIfNoTests>
214 <forkCount>1</forkCount>
216 <include>**/*Specification.*</include>
221 <groupId>org.apache.commons</groupId>
222 <artifactId>commons-lang3</artifactId>
223 <version>3.7</version>
226 <groupId>org.junit.platform</groupId>
227 <artifactId>junit-platform-surefire-provider</artifactId>
228 <version>${junit-platform.version}</version>
229 <scope>runtime</scope>
232 <groupId>org.jetbrains.spek</groupId>
233 <artifactId>spek-junit-platform-engine</artifactId>
234 <version>${spek.version}</version>
235 <scope>runtime</scope>
240 <groupId>org.codehaus.mojo</groupId>
241 <artifactId>exec-maven-plugin</artifactId>
242 <version>1.6.0</version>
248 <groupId>kr.motd.maven</groupId>
249 <artifactId>os-maven-plugin</artifactId>
250 <version>1.6.0</version>
257 <id>docker-proxy</id>
260 <name>docker.http_proxy</name>
264 <!-- set build args as defined in https://dmp.fabric8.io/#build-buildargs -->
265 <docker.buildArg.http_proxy>${docker.http_proxy}</docker.buildArg.http_proxy>
266 <docker.buildArg.https_proxy>${docker.http_proxy}</docker.buildArg.https_proxy>
274 <name>!skipDocker</name>
278 <os.detected.name>linux</os.detected.name>
279 <os.detected.arch>x86_64</os.detected.arch>
280 <os.detected.classifier>${os.detected.name}-${os.detected.arch}</os.detected.classifier>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-dependency-plugin</artifactId>
288 <version>3.1.1</version>
291 <id>docker-copy-internal-deps</id>
292 <phase>package</phase>
294 <goal>copy-dependencies</goal>
297 <outputDirectory>${project.build.directory}/libs/internal</outputDirectory>
298 <includeGroupIds>${project.parent.groupId}</includeGroupIds>
299 <includeScope>runtime</includeScope>
303 <id>docker-copy-external-deps</id>
304 <phase>package</phase>
306 <goal>copy-dependencies</goal>
309 <outputDirectory>${project.build.directory}/libs/external</outputDirectory>
310 <excludeGroupIds>${project.parent.groupId}</excludeGroupIds>
311 <includeScope>runtime</includeScope>
317 <groupId>io.fabric8</groupId>
318 <artifactId>docker-maven-plugin</artifactId>
319 <version>0.26.0</version>
322 <id>docker-build-image</id>
323 <phase>package</phase>
329 <id>docker-push-image</id>
330 <phase>deploy</phase>
337 <skipPush>${skipDockerPush}</skipPush>
338 <verbose>true</verbose>
339 <imagePullPolicy>IfNotPresent</imagePullPolicy>
342 <alias>${project.artifactId}</alias>
343 <name>${docker-image.namespace}/${docker-image.name}
345 <registry>${docker-image.registry}</registry>
347 <dockerFileDir>${project.basedir}</dockerFileDir>
349 <tag>${project.version}-${maven.build.timestamp}Z</tag>
350 <tag>${project.version}</tag>
351 <tag>${docker-image.latest}</tag>
366 <id>arturbosch-code-analysis</id>
367 <name>arturbosch-code-analysis (for detekt)</name>
368 <url>https://dl.bintray.com/arturbosch/code-analysis/</url>
369 <layout>default</layout>
371 <enabled>true</enabled>
372 <updatePolicy>never</updatePolicy>
375 <enabled>false</enabled>
376 <updatePolicy>never</updatePolicy>
379 </pluginRepositories>
383 <id>40_openecomp-release</id>
384 <name>40_openecomp-release</name>
385 <url>https://nexus.onap.org/content/repositories/releases/</url>
387 <enabled>true</enabled>
388 <updatePolicy>daily</updatePolicy>
391 <enabled>false</enabled>
396 <dependencyManagement>
399 <groupId>com.google.guava</groupId>
400 <artifactId>guava</artifactId>
401 <version>27.0.1-jre</version>
404 <groupId>com.google.code.findbugs</groupId>
405 <artifactId>jsr305</artifactId>
410 <groupId>org.jetbrains.kotlin</groupId>
411 <artifactId>kotlin-bom</artifactId>
412 <version>${kotlin.version}</version>
414 <scope>import</scope>
417 <groupId>org.jetbrains.kotlin</groupId>
418 <artifactId>kotlin-compiler-embeddable</artifactId>
419 <version>${kotlin.version}</version>
422 <groupId>org.jetbrains.kotlin</groupId>
423 <artifactId>kotlin-script-util</artifactId>
424 <version>${kotlin.version}</version>
425 <scope>runtime</scope>
428 <groupId>org.jetbrains.kotlinx</groupId>
429 <artifactId>kotlinx-coroutines-core</artifactId>
430 <version>1.1.1</version>
433 <groupId>com.google.code.gson</groupId>
434 <artifactId>gson</artifactId>
435 <version>${gson.version}</version>
438 <groupId>io.arrow-kt</groupId>
439 <artifactId>arrow-core-data</artifactId>
440 <version>${arrow.version}</version>
443 <groupId>io.arrow-kt</groupId>
444 <artifactId>arrow-core-extensions</artifactId>
445 <version>${arrow.version}</version>
448 <groupId>io.arrow-kt</groupId>
449 <artifactId>arrow-extras-data</artifactId>
450 <version>${arrow.version}</version>
453 <groupId>io.arrow-kt</groupId>
454 <artifactId>arrow-syntax</artifactId>
455 <version>${arrow.version}</version>
458 <groupId>io.arrow-kt</groupId>
459 <artifactId>arrow-typeclasses</artifactId>
460 <version>${arrow.version}</version>
463 <groupId>ch.qos.logback</groupId>
464 <artifactId>logback-classic</artifactId>
465 <version>1.3.0-alpha4</version>
466 <scope>runtime</scope>
469 <groupId>org.slf4j</groupId>
470 <artifactId>slf4j-api</artifactId>
471 <version>1.8.0-beta1</version>
474 <groupId>io.projectreactor</groupId>
475 <artifactId>reactor-bom</artifactId>
476 <!-- remember to update netty native bindings versions -->
477 <version>Californium-SR4</version>
479 <scope>import</scope>
483 <groupId>io.netty</groupId>
484 <artifactId>netty-transport-native-epoll</artifactId>
485 <version>4.1.29.Final</version>
486 <classifier>${os.detected.classifier}</classifier>
490 <groupId>com.google.protobuf</groupId>
491 <artifactId>protobuf-java-util</artifactId>
492 <version>${protobuf.version}</version>
495 <groupId>com.google.guava</groupId>
496 <artifactId>guava</artifactId>
501 <groupId>commons-cli</groupId>
502 <artifactId>commons-cli</artifactId>
503 <version>1.4</version>
506 <groupId>javax.json</groupId>
507 <artifactId>javax.json-api</artifactId>
508 <version>1.1.2</version>
511 <groupId>org.glassfish</groupId>
512 <artifactId>javax.json</artifactId>
513 <version>1.1.2</version>
516 <groupId>io.micrometer</groupId>
517 <artifactId>micrometer-registry-prometheus</artifactId>
518 <version>1.0.8</version>
521 <groupId>org.onap.dcaegen2.services.sdk</groupId>
522 <artifactId>hvvesclient-producer-impl</artifactId>
523 <version>${sdk.version}</version>
524 <scope>runtime</scope>
527 <groupId>org.onap.dcaegen2.services.sdk</groupId>
528 <artifactId>hvvesclient-producer-api</artifactId>
529 <version>${sdk.version}</version>
532 <groupId>org.onap.dcaegen2.services.sdk</groupId>
533 <artifactId>hvvesclient-protobuf</artifactId>
534 <version>${sdk.version}</version>
537 <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
538 <artifactId>ssl</artifactId>
539 <version>${sdk.version}</version>
542 <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
543 <artifactId>cbs-client</artifactId>
544 <version>${sdk.version}</version>
547 <!-- Test dependencies -->
550 <groupId>org.jetbrains.spek</groupId>
551 <artifactId>spek-api</artifactId>
552 <version>${spek.version}</version>
556 <groupId>org.jetbrains.spek</groupId>
557 <artifactId>spek-junit-platform-engine</artifactId>
558 <version>${spek.version}</version>
562 <groupId>org.assertj</groupId>
563 <artifactId>assertj-core</artifactId>
564 <version>3.9.1</version>
568 <groupId>com.nhaarman.mockitokotlin2</groupId>
569 <artifactId>mockito-kotlin</artifactId>
570 <version>2.1.0</version>
574 <groupId>org.jetbrains.kotlin</groupId>
575 <artifactId>kotlin-test</artifactId>
576 <version>${kotlin.version}</version>
580 <groupId>io.projectreactor</groupId>
581 <artifactId>reactor-test</artifactId>
582 <version>3.1.7.RELEASE</version>
586 </dependencyManagement>