1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ dcaegen2-collectors-veshv
5 ~ ================================================================================
6 ~ Copyright (C) 2018-2021 NOKIA
7 ~ Copyright (C) 2022 Nordix Foundation
8 ~ ================================================================================
9 ~ Licensed under the Apache License, Version 2.0 (the "License");
10 ~ you may not use this file except in compliance with the License.
11 ~ You may obtain a copy of the License at
13 ~ http://www.apache.org/licenses/LICENSE-2.0
15 ~ Unless required by applicable law or agreed to in writing, software
16 ~ distributed under the License is distributed on an "AS IS" BASIS,
17 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 ~ See the License for the specific language governing permissions and
19 ~ limitations under the License.
20 ~ ============LICENSE_END=========================================================
22 <project xmlns="http://maven.apache.org/POM/4.0.0" 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">
25 <modelVersion>4.0.0</modelVersion>
29 <name>The Apache Software License, Version 2.0</name>
30 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
35 <groupId>org.onap.dcaegen2.collectors.hv-ves</groupId>
36 <artifactId>ves-hv-collector</artifactId>
37 <version>${revision}</version>
38 <relativePath>../pom.xml</relativePath>
41 <artifactId>hv-collector-sources</artifactId>
42 <description>VES HighVolume Collector :: Sources</description>
43 <packaging>pom</packaging>
46 <skipAnalysis>false</skipAnalysis>
54 <exists>src/main/kotlin</exists>
60 <artifactId>maven-checkstyle-plugin</artifactId>
61 <version>3.1.0</version>
64 <groupId>org.onap.oparent</groupId>
65 <artifactId>checkstyle</artifactId>
66 <version>3.0.0</version>
71 <!-- To override oparent configuration different id must be used
72 We need to override it to include .kt files in check. -->
73 <id>check-license-kotlin</id>
77 <phase>process-sources</phase>
79 <configLocation>onap-checkstyle/check-license.xml</configLocation>
80 <includeResources>false</includeResources>
81 <includeTestSourceDirectory>true</includeTestSourceDirectory>
82 <includeTestResources>false</includeTestResources>
83 <includes>**\/*.kt</includes>
84 <consoleOutput>true</consoleOutput>
85 <!--<failOnViolation>false</failOnViolation>-->
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-antrun-plugin</artifactId>
93 <version>1.8</version>
96 <!-- This can be run separately with mvn antrun:run@detekt -->
103 <target name="detekt" unless="${skipAnalysis}">
104 <java taskname="detekt" dir="${basedir}"
107 classname="io.gitlab.arturbosch.detekt.cli.Main"
108 classpathref="maven.plugin.classpath">
109 <arg value="--input"/>
110 <arg value="${basedir}/src/main/kotlin"/>
111 <arg value="--config-resource"/>
112 <arg value="onap-detekt-config.yml"/>
113 <arg value="--report"/>
114 <arg value="html:${basedir}/target/detekt-report.html"/>
115 <arg value="--auto-correct"/>
123 <groupId>io.gitlab.arturbosch.detekt</groupId>
124 <artifactId>detekt-cli</artifactId>
125 <version>${detekt.version}</version>
128 <groupId>${project.groupId}</groupId>
129 <artifactId>hv-collector-analysis</artifactId>
130 <version>${revision}</version>
140 <module>hv-collector-commandline</module>
141 <module>hv-collector-configuration</module>
142 <module>hv-collector-core</module>
143 <module>hv-collector-ct</module>
144 <module>hv-collector-dcae-app-simulator</module>
145 <module>hv-collector-domain</module>
146 <module>hv-collector-health-check</module>
147 <module>hv-collector-kafka</module>
148 <module>hv-collector-kafka-consumer</module>
149 <module>hv-collector-main</module>
150 <module>hv-collector-server</module>
151 <module>hv-collector-ssl</module>
152 <module>hv-collector-test-utils</module>
153 <module>hv-collector-utils</module>
154 <module>hv-collector-ves-message-generator</module>
155 <module>hv-collector-xnf-simulator</module>