1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ dcaegen2-collectors-veshv
5 ~ ================================================================================
6 ~ Copyright (C) 2018-2021 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.dcaegen2.collectors.hv-ves</groupId>
35 <artifactId>ves-hv-collector</artifactId>
36 <version>1.9.0-SNAPSHOT</version>
37 <relativePath>..</relativePath>
40 <artifactId>hv-collector-sources</artifactId>
41 <description>VES HighVolume Collector :: Sources</description>
42 <packaging>pom</packaging>
45 <skipAnalysis>false</skipAnalysis>
53 <exists>src/main/kotlin</exists>
59 <artifactId>maven-checkstyle-plugin</artifactId>
60 <version>3.1.0</version>
63 <groupId>org.onap.oparent</groupId>
64 <artifactId>checkstyle</artifactId>
65 <version>3.0.0</version>
70 <!-- To override oparent configuration different id must be used
71 We need to override it to include .kt files in check. -->
72 <id>check-license-kotlin</id>
76 <phase>process-sources</phase>
78 <configLocation>onap-checkstyle/check-license.xml</configLocation>
79 <includeResources>false</includeResources>
80 <includeTestSourceDirectory>true</includeTestSourceDirectory>
81 <includeTestResources>false</includeTestResources>
82 <includes>**\/*.kt</includes>
83 <consoleOutput>true</consoleOutput>
84 <!--<failOnViolation>false</failOnViolation>-->
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-antrun-plugin</artifactId>
92 <version>1.8</version>
95 <!-- This can be run separately with mvn antrun:run@detekt -->
102 <target name="detekt" unless="${skipAnalysis}">
103 <java taskname="detekt" dir="${basedir}"
106 classname="io.gitlab.arturbosch.detekt.cli.Main"
107 classpathref="maven.plugin.classpath">
108 <arg value="--input"/>
109 <arg value="${basedir}/src/main/kotlin"/>
110 <arg value="--config-resource"/>
111 <arg value="onap-detekt-config.yml"/>
112 <arg value="--report"/>
113 <arg value="html:${basedir}/target/detekt-report.html"/>
114 <arg value="--auto-correct"/>
122 <groupId>io.gitlab.arturbosch.detekt</groupId>
123 <artifactId>detekt-cli</artifactId>
124 <version>${detekt.version}</version>
127 <groupId>${project.groupId}</groupId>
128 <artifactId>hv-collector-analysis</artifactId>
129 <version>1.9.0-SNAPSHOT</version>
139 <module>hv-collector-commandline</module>
140 <module>hv-collector-configuration</module>
141 <module>hv-collector-core</module>
142 <module>hv-collector-ct</module>
143 <module>hv-collector-dcae-app-simulator</module>
144 <module>hv-collector-domain</module>
145 <module>hv-collector-health-check</module>
146 <module>hv-collector-kafka</module>
147 <module>hv-collector-kafka-consumer</module>
148 <module>hv-collector-main</module>
149 <module>hv-collector-server</module>
150 <module>hv-collector-ssl</module>
151 <module>hv-collector-test-utils</module>
152 <module>hv-collector-utils</module>
153 <module>hv-collector-ves-message-generator</module>
154 <module>hv-collector-xnf-simulator</module>