1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ dcaegen2-collectors-veshv
5 ~ ================================================================================
6 ~ Copyright (C) 2018 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>0.1.1</version>
40 <groupId>org.onap.dcaegen2.collectors.hv-ves</groupId>
41 <artifactId>ves-hv-collector</artifactId>
42 <version>1.0.0-SNAPSHOT</version>
43 <name>dcaegen2-collectors-veshv</name>
44 <description>VES HighVolume Collector</description>
45 <packaging>pom</packaging>
48 <module>hv-collector-analysis</module>
49 <module>hv-collector-core</module>
50 <module>hv-collector-coverage</module>
51 <module>hv-collector-ct</module>
52 <module>hv-collector-dcae-app-simulator</module>
53 <module>hv-collector-domain</module>
54 <module>hv-collector-health-check</module>
55 <module>hv-collector-main</module>
56 <module>hv-collector-test-utils</module>
57 <module>hv-collector-utils</module>
58 <module>hv-collector-ves-message-generator</module>
59 <module>hv-collector-xnf-simulator</module>
63 <kotlin.version>1.2.61</kotlin.version>
64 <arrow.version>0.7.3</arrow.version>
65 <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
66 <build-helper-maven-plugin.version>1.7</build-helper-maven-plugin.version>
67 <jacoco.version>0.8.1</jacoco.version>
69 <!-- Protocol buffers -->
70 <protobuf.version>3.5.1</protobuf.version>
71 <protoc-jar-maven-plugin.version>3.5.1.1</protoc-jar-maven-plugin.version>
72 <protobuf-generated-files.directory>${project.build.directory}/generated-sources/proto/main/java/
73 </protobuf-generated-files.directory>
75 <!-- Testing and code analysis -->
76 <junit-platform.version>1.2.0-RC1</junit-platform.version>
77 <junit-jupiter.version>5.2.0-RC1</junit-jupiter.version>
78 <spek.version>1.1.5</spek.version>
79 <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
80 <failIfMissingUnitTests>false</failIfMissingUnitTests>
81 <failIfMissingComponentTests>false</failIfMissingComponentTests>
82 <skipAnalysis>true</skipAnalysis>
85 <skipDocker>false</skipDocker>
86 <skipDockerPush>true</skipDockerPush>
87 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
88 <docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry>
89 <docker-image.namespace>onap</docker-image.namespace>
90 <docker-image.name>${project.groupId}.${project.artifactId}</docker-image.name>
91 <docker.http_proxy></docker.http_proxy>
96 <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
97 <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
100 <directory>${project.basedir}/src/main/resources</directory>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-resources-plugin</artifactId>
108 <version>3.1.0</version>
110 <encoding>UTF-8</encoding>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-deploy-plugin</artifactId>
121 <artifactId>kotlin-maven-plugin</artifactId>
122 <groupId>org.jetbrains.kotlin</groupId>
123 <version>${kotlin.version}</version>
125 <jvmTarget>1.8</jvmTarget>
126 <experimentalCoroutines>enable</experimentalCoroutines>
136 <source>${project.build.sourceDirectory}</source>
137 <source>${project.build.directory}/generated-sources/annotations</source>
142 <id>test-compile</id>
144 <goal>test-compile</goal>
148 <source>${project.build.testSourceDirectory}</source>
155 <groupId>com.github.os72</groupId>
156 <artifactId>protoc-jar-maven-plugin</artifactId>
157 <version>${protoc-jar-maven-plugin.version}</version>
160 <groupId>org.codehaus.mojo</groupId>
161 <artifactId>build-helper-maven-plugin</artifactId>
162 <version>${build-helper-maven-plugin.version}</version>
166 <phase>generate-sources</phase>
168 <goal>add-source</goal>
172 <source>${protobuf-generated-files.directory}</source>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-compiler-plugin</artifactId>
181 <version>${maven-compiler-plugin.version}</version>
185 <encoding>UTF-8</encoding>
186 <showWarnings>true</showWarnings>
187 <showDeprecation>true</showDeprecation>
188 <failOnWarning>false</failOnWarning>
192 <groupId>org.ow2.asm</groupId>
193 <artifactId>asm</artifactId>
194 <version>6.1.1</version> <!-- Use newer version of ASM -->
199 Due to a memory leak in Surefire 2.20 and issues running on Java 9, the junit-platform-surefire-provider
200 currently only works with Surefire 2.19.1.
201 For updates see https://junit.org/junit5/docs/current/user-guide/#running-tests-build-maven
204 <artifactId>maven-surefire-plugin</artifactId>
205 <groupId>org.apache.maven.plugins</groupId>
206 <version>${maven-surefire-plugin.version}</version>
208 <failIfNoTests>${failIfMissingUnitTests}</failIfNoTests>
209 <forkCount>1</forkCount>
211 <include>**/*Test.*</include>
216 <groupId>org.apache.commons</groupId>
217 <artifactId>commons-lang3</artifactId>
218 <version>3.7</version>
221 <groupId>org.junit.platform</groupId>
222 <artifactId>junit-platform-surefire-provider</artifactId>
223 <version>${junit-platform.version}</version>
224 <scope>runtime</scope>
227 <groupId>org.jetbrains.spek</groupId>
228 <artifactId>spek-junit-platform-engine</artifactId>
229 <version>${spek.version}</version>
230 <scope>runtime</scope>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-failsafe-plugin</artifactId>
237 <version>2.22.0</version>
239 <failIfNoTests>${failIfMissingComponentTests}</failIfNoTests>
240 <forkCount>1</forkCount>
242 <include>**/*Specification.*</include>
247 <groupId>org.apache.commons</groupId>
248 <artifactId>commons-lang3</artifactId>
249 <version>3.7</version>
252 <groupId>org.junit.platform</groupId>
253 <artifactId>junit-platform-surefire-provider</artifactId>
254 <version>${junit-platform.version}</version>
255 <scope>runtime</scope>
258 <groupId>org.jetbrains.spek</groupId>
259 <artifactId>spek-junit-platform-engine</artifactId>
260 <version>${spek.version}</version>
261 <scope>runtime</scope>
269 <artifactId>maven-checkstyle-plugin</artifactId>
270 <version>2.17</version>
273 <groupId>org.onap.oparent</groupId>
274 <artifactId>checkstyle</artifactId>
275 <version>1.1.1</version>
280 <!-- To override oparent configuration different id must be used
281 We need to override it to include .kt files in check. -->
282 <id>check-license-kotlin</id>
286 <phase>process-sources</phase>
288 <configLocation>onap-checkstyle/check-license.xml</configLocation>
289 <includeResources>false</includeResources>
290 <includeTestSourceDirectory>true</includeTestSourceDirectory>
291 <includeTestResources>false</includeTestResources>
292 <includes>**\/*.kt</includes>
293 <consoleOutput>true</consoleOutput>
294 <!--<failOnViolation>false</failOnViolation>-->
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-antrun-plugin</artifactId>
302 <version>1.8</version>
305 <!-- This can be run separately with mvn antrun:run@detekt -->
307 <phase>verify</phase>
312 <target name="detekt" unless="${skipAnalysis}">
313 <java taskname="detekt" dir="${basedir}"
316 classname="io.gitlab.arturbosch.detekt.cli.Main"
317 classpathref="maven.plugin.classpath">
318 <arg value="--input"/>
319 <arg value="${basedir}/src/main/kotlin"/>
320 <arg value="--config-resource"/>
321 <arg value="onap-detekt-config.yml"/>
322 <arg value="--filters"/>
323 <arg value=".*/target/.*,.*/resources/.*"/>
324 <arg value="--output"/>
325 <arg value="${basedir}/target/reports"/>
326 <arg value="--output-name"/>
327 <arg value="detekt-report"/>
328 <arg value="--baseline"/>
329 <arg value="${basedir}/target/reports/baseline.xml"/>
337 <groupId>io.gitlab.arturbosch.detekt</groupId>
338 <artifactId>detekt-cli</artifactId>
339 <version>1.0.0.RC7</version>
342 <groupId>${project.groupId}</groupId>
343 <artifactId>hv-collector-analysis</artifactId>
344 <version>1.0.0-SNAPSHOT</version>
351 <groupId>kr.motd.maven</groupId>
352 <artifactId>os-maven-plugin</artifactId>
353 <version>1.6.0</version>
363 <name>!skipDocker</name>
367 <os.detected.name>linux</os.detected.name>
368 <os.detected.arch>x86_64</os.detected.arch>
369 <os.detected.classifier>${os.detected.name}-${os.detected.arch}</os.detected.classifier>
375 <groupId>org.apache.maven.plugins</groupId>
376 <artifactId>maven-dependency-plugin</artifactId>
377 <version>3.1.1</version>
380 <id>docker-copy-internal-deps</id>
381 <phase>package</phase>
383 <goal>copy-dependencies</goal>
386 <outputDirectory>${project.build.directory}/libs/internal</outputDirectory>
387 <includeGroupIds>${project.parent.groupId}</includeGroupIds>
388 <includeScope>runtime</includeScope>
392 <id>docker-copy-external-deps</id>
393 <phase>package</phase>
395 <goal>copy-dependencies</goal>
398 <outputDirectory>${project.build.directory}/libs/external</outputDirectory>
399 <excludeGroupIds>${project.parent.groupId}</excludeGroupIds>
400 <includeScope>runtime</includeScope>
406 <groupId>io.fabric8</groupId>
407 <artifactId>docker-maven-plugin</artifactId>
408 <version>0.26.0</version>
411 <id>docker-build-image</id>
412 <phase>package</phase>
418 <id>docker-push-image</id>
419 <phase>deploy</phase>
426 <skipPush>${skipDockerPush}</skipPush>
427 <verbose>true</verbose>
428 <imagePullPolicy>IfNotPresent</imagePullPolicy>
431 <alias>${project.artifactId}</alias>
432 <name>${docker-image.namespace}/${docker-image.name}
434 <registry>${docker-image.registry}</registry>
438 <http_proxy>${docker.http_proxy}</http_proxy>
439 <https_proxy>${docker.http_proxy}</https_proxy>
442 <dockerFileDir>${project.basedir}</dockerFileDir>
444 <tag>${project.version}-SNAPSHOT-${maven.build.timestamp}Z</tag>
445 <tag>${project.version}</tag>
454 <groupId>io.fabric8</groupId>
455 <artifactId>run-java-sh</artifactId>
456 <version>1.2.2</version>
468 <id>40_openecomp-release</id>
469 <name>40_openecomp-release</name>
470 <url>https://nexus.onap.org/content/repositories/releases/</url>
472 <enabled>true</enabled>
473 <updatePolicy>daily</updatePolicy>
476 <enabled>false</enabled>
481 <id>arturbosch-code-analysis</id>
482 <name>arturbosch-code-analysis (for detekt)</name>
483 <url>https://dl.bintray.com/arturbosch/code-analysis/</url>
484 <layout>default</layout>
486 <enabled>true</enabled>
487 <updatePolicy>never</updatePolicy>
490 <enabled>false</enabled>
491 <updatePolicy>never</updatePolicy>
494 </pluginRepositories>
498 <id>40_openecomp-release</id>
499 <name>40_openecomp-release</name>
500 <url>https://nexus.onap.org/content/repositories/releases/</url>
502 <enabled>true</enabled>
503 <updatePolicy>daily</updatePolicy>
506 <enabled>false</enabled>
511 <dependencyManagement>
514 <groupId>com.google.guava</groupId>
515 <artifactId>guava</artifactId>
516 <version>25.0-jre</version>
519 <groupId>com.google.code.findbugs</groupId>
520 <artifactId>jsr305</artifactId>
525 <groupId>org.jetbrains.kotlin</groupId>
526 <artifactId>kotlin-stdlib-jdk8</artifactId>
527 <version>${kotlin.version}</version>
530 <groupId>org.jetbrains.kotlin</groupId>
531 <artifactId>kotlin-reflect</artifactId>
532 <version>${kotlin.version}</version>
535 <groupId>io.arrow-kt</groupId>
536 <artifactId>arrow-core</artifactId>
537 <version>${arrow.version}</version>
540 <groupId>org.jetbrains.kotlin</groupId>
541 <artifactId>kotlin-stdlib</artifactId>
544 <groupId>org.jetbrains.kotlin</groupId>
545 <artifactId>kotlin-stdlib-jdk7</artifactId>
550 <groupId>io.arrow-kt</groupId>
551 <artifactId>arrow-syntax</artifactId>
552 <version>${arrow.version}</version>
555 <groupId>io.arrow-kt</groupId>
556 <artifactId>arrow-instances-core</artifactId>
557 <version>${arrow.version}</version>
560 <groupId>io.arrow-kt</groupId>
561 <artifactId>arrow-instances-data</artifactId>
562 <version>${arrow.version}</version>
565 <groupId>io.arrow-kt</groupId>
566 <artifactId>arrow-effects</artifactId>
567 <version>${arrow.version}</version>
570 <groupId>ch.qos.logback</groupId>
571 <artifactId>logback-classic</artifactId>
572 <version>1.3.0-alpha4</version>
573 <scope>runtime</scope>
576 <groupId>org.slf4j</groupId>
577 <artifactId>slf4j-api</artifactId>
578 <version>1.8.0-beta1</version>
581 <groupId>io.projectreactor</groupId>
582 <artifactId>reactor-bom</artifactId>
583 <version>Bismuth-SR10</version>
585 <scope>import</scope>
588 <groupId>io.netty</groupId>
589 <artifactId>netty-tcnative-boringssl-static</artifactId>
590 <version>2.0.8.Final</version>
591 <classifier>${os.detected.classifier}</classifier>
594 <groupId>com.google.protobuf</groupId>
595 <artifactId>protobuf-java</artifactId>
596 <version>${protobuf.version}</version>
599 <groupId>com.google.protobuf</groupId>
600 <artifactId>protobuf-java-util</artifactId>
601 <version>${protobuf.version}</version>
604 <groupId>commons-cli</groupId>
605 <artifactId>commons-cli</artifactId>
606 <version>1.4</version>
609 <groupId>javax.json</groupId>
610 <artifactId>javax.json-api</artifactId>
611 <version>1.1.2</version>
614 <groupId>org.glassfish</groupId>
615 <artifactId>javax.json</artifactId>
616 <version>1.1.2</version>
619 <groupId>io.ratpack</groupId>
620 <artifactId>ratpack-core</artifactId>
621 <version>1.5.4</version>
624 <groupId>io.micrometer</groupId>
625 <artifactId>micrometer-registry-jmx</artifactId>
626 <version>1.0.5</version>
629 <!-- Test dependencies -->
632 <groupId>org.jetbrains.spek</groupId>
633 <artifactId>spek-api</artifactId>
634 <version>${spek.version}</version>
638 <groupId>org.jetbrains.spek</groupId>
639 <artifactId>spek-junit-platform-engine</artifactId>
640 <version>${spek.version}</version>
644 <groupId>org.assertj</groupId>
645 <artifactId>assertj-core</artifactId>
646 <version>3.9.1</version>
650 <groupId>com.nhaarman</groupId>
651 <artifactId>mockito-kotlin</artifactId>
652 <version>1.5.0</version>
656 <groupId>org.mockito</groupId>
657 <artifactId>mockito-core</artifactId>
662 <groupId>org.mockito</groupId>
663 <artifactId>mockito-core</artifactId>
664 <version>2.18.3</version>
668 <groupId>org.jetbrains.kotlin</groupId>
669 <artifactId>kotlin-test</artifactId>
670 <version>${kotlin.version}</version>
674 <groupId>io.projectreactor</groupId>
675 <artifactId>reactor-test</artifactId>
676 <version>3.1.7.RELEASE</version>
680 </dependencyManagement>