blob: 1a6e118852031442b9fcc325dc72fc869ab6212e [file] [log] [blame]
Piotr Jaszczykdde383a2018-11-28 15:46:50 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
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
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" 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">
23
24 <modelVersion>4.0.0</modelVersion>
25
26 <licenses>
27 <license>
28 <name>The Apache Software License, Version 2.0</name>
29 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
30 </license>
31 </licenses>
32
33 <parent>
34 <groupId>org.onap.dcaegen2.collectors.hv-ves</groupId>
35 <artifactId>ves-hv-collector</artifactId>
rajendrajaiswal31dffbe2019-06-27 10:58:07 +010036 <version>1.3.0-SNAPSHOT</version>
Piotr Jaszczykdde383a2018-11-28 15:46:50 +010037 <relativePath>..</relativePath>
38 </parent>
39
40 <artifactId>hv-collector-sources</artifactId>
Piotr Jaszczykdde383a2018-11-28 15:46:50 +010041 <description>VES HighVolume Collector :: Sources</description>
42 <packaging>pom</packaging>
43
Piotr Jaszczyka38f0f12019-03-11 14:16:39 +010044 <properties>
45 <skipAnalysis>false</skipAnalysis>
46 </properties>
47
48 <profiles>
49 <profile>
50 <id>analysis</id>
51 <activation>
52 <file>
53 <exists>src/main/kotlin</exists>
54 </file>
55 </activation>
56 <build>
57 <plugins>
58 <plugin>
59 <artifactId>maven-checkstyle-plugin</artifactId>
60 <version>2.17</version>
61 <dependencies>
62 <dependency>
63 <groupId>org.onap.oparent</groupId>
64 <artifactId>checkstyle</artifactId>
65 <version>1.1.1</version>
66 </dependency>
67 </dependencies>
68 <executions>
69 <execution>
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>
73 <goals>
74 <goal>check</goal>
75 </goals>
76 <phase>process-sources</phase>
77 <configuration>
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>-->
85 </configuration>
86 </execution>
87 </executions>
88 </plugin>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-antrun-plugin</artifactId>
92 <version>1.8</version>
93 <executions>
94 <execution>
95 <!-- This can be run separately with mvn antrun:run@detekt -->
96 <id>detekt</id>
97 <phase>verify</phase>
98 <goals>
99 <goal>run</goal>
100 </goals>
101 <configuration>
102 <target name="detekt" unless="${skipAnalysis}">
103 <java taskname="detekt" dir="${basedir}" fork="true" failonerror="true"
104 classname="io.gitlab.arturbosch.detekt.cli.Main"
105 classpathref="maven.plugin.classpath">
106 <arg value="--input"/>
107 <arg value="${basedir}/src/main/kotlin"/>
108 <arg value="--config-resource"/>
109 <arg value="onap-detekt-config.yml"/>
110 <arg value="--filters"/>
111 <arg value=".*/target/.*,.*/resources/.*"/>
112 <arg value="--report"/>
113 <arg value="html:${basedir}/target/detekt-report.html"/>
114 </java>
115 </target>
116 </configuration>
117 </execution>
118 </executions>
119 <dependencies>
120 <dependency>
121 <groupId>io.gitlab.arturbosch.detekt</groupId>
122 <artifactId>detekt-cli</artifactId>
123 <version>${detekt.version}</version>
124 </dependency>
125 <dependency>
126 <groupId>${project.groupId}</groupId>
127 <artifactId>hv-collector-analysis</artifactId>
rajendrajaiswal31dffbe2019-06-27 10:58:07 +0100128 <version>1.3.0-SNAPSHOT</version>
Piotr Jaszczyka38f0f12019-03-11 14:16:39 +0100129 </dependency>
130 </dependencies>
131 </plugin>
132 </plugins>
133 </build>
134 </profile>
135 </profiles>
Piotr Jaszczykdde383a2018-11-28 15:46:50 +0100136
137 <modules>
Jakub Dudycz78be6c82019-02-27 12:23:00 +0100138 <module>hv-collector-commandline</module>
Filip Krzywka007480c2019-03-12 11:50:37 +0100139 <module>hv-collector-configuration</module>
Piotr Jaszczykdde383a2018-11-28 15:46:50 +0100140 <module>hv-collector-core</module>
141 <module>hv-collector-ct</module>
142 <module>hv-collector-dcae-app-simulator</module>
143 <module>hv-collector-domain</module>
144 <module>hv-collector-health-check</module>
kjaniak78080102019-06-19 08:39:33 +0200145 <module>hv-collector-kafka</module>
Jakub Dudyczbdc928c2019-06-13 16:51:43 +0200146 <module>hv-collector-kafka-consumer</module>
Piotr Jaszczykdde383a2018-11-28 15:46:50 +0100147 <module>hv-collector-main</module>
kjaniak49f43c82019-04-03 15:48:28 +0200148 <module>hv-collector-server</module>
Piotr Jaszczykdde383a2018-11-28 15:46:50 +0100149 <module>hv-collector-ssl</module>
150 <module>hv-collector-test-utils</module>
151 <module>hv-collector-utils</module>
152 <module>hv-collector-ves-message-generator</module>
153 <module>hv-collector-xnf-simulator</module>
154 </modules>
155</project>