blob: 06726bbb3572db8fe5b517298410735fa5d9413a [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>
36 <version>1.1.0-SNAPSHOT</version>
37 <relativePath>..</relativePath>
38 </parent>
39
40 <artifactId>hv-collector-sources</artifactId>
41 <version>1.1.0-SNAPSHOT</version>
42 <description>VES HighVolume Collector :: Sources</description>
43 <packaging>pom</packaging>
44
45 <build>
46 <plugins>
47 <plugin>
48 <artifactId>maven-checkstyle-plugin</artifactId>
49 <version>2.17</version>
50 <dependencies>
51 <dependency>
52 <groupId>org.onap.oparent</groupId>
53 <artifactId>checkstyle</artifactId>
54 <version>1.1.1</version>
55 </dependency>
56 </dependencies>
57 <executions>
58 <execution>
59 <!-- To override oparent configuration different id must be used
60 We need to override it to include .kt files in check. -->
61 <id>check-license-kotlin</id>
62 <goals>
63 <goal>check</goal>
64 </goals>
65 <phase>process-sources</phase>
66 <configuration>
67 <configLocation>onap-checkstyle/check-license.xml</configLocation>
68 <includeResources>false</includeResources>
69 <includeTestSourceDirectory>true</includeTestSourceDirectory>
70 <includeTestResources>false</includeTestResources>
71 <includes>**\/*.kt</includes>
72 <consoleOutput>true</consoleOutput>
73 <!--<failOnViolation>false</failOnViolation>-->
74 </configuration>
75 </execution>
76 </executions>
77 </plugin>
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-antrun-plugin</artifactId>
81 <version>1.8</version>
82 <executions>
83 <execution>
84 <!-- This can be run separately with mvn antrun:run@detekt -->
85 <id>detekt</id>
86 <phase>verify</phase>
87 <goals>
88 <goal>run</goal>
89 </goals>
90 <configuration>
91 <target name="detekt" unless="${skipAnalysis}">
92 <java taskname="detekt" dir="${basedir}" fork="true" failonerror="true" classname="io.gitlab.arturbosch.detekt.cli.Main" classpathref="maven.plugin.classpath">
93 <arg value="--input"/>
94 <arg value="${basedir}/src/main/kotlin"/>
95 <arg value="--config-resource"/>
96 <arg value="onap-detekt-config.yml"/>
97 <arg value="--filters"/>
98 <arg value=".*/target/.*,.*/resources/.*"/>
99 <arg value="--report"/>
100 <arg value="html:${basedir}/target/detekt-report.html"/>
101 </java>
102 </target>
103 </configuration>
104 </execution>
105 </executions>
106 <dependencies>
107 <dependency>
108 <groupId>io.gitlab.arturbosch.detekt</groupId>
109 <artifactId>detekt-cli</artifactId>
110 <version>${detekt.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>${project.groupId}</groupId>
114 <artifactId>hv-collector-analysis</artifactId>
115 <version>1.1.0-SNAPSHOT</version>
116 </dependency>
117 </dependencies>
118 </plugin>
119 </plugins>
120 </build>
121
122 <modules>
123 <module>hv-collector-core</module>
124 <module>hv-collector-ct</module>
125 <module>hv-collector-dcae-app-simulator</module>
126 <module>hv-collector-domain</module>
127 <module>hv-collector-health-check</module>
128 <module>hv-collector-main</module>
129 <module>hv-collector-ssl</module>
130 <module>hv-collector-test-utils</module>
131 <module>hv-collector-utils</module>
132 <module>hv-collector-ves-message-generator</module>
133 <module>hv-collector-xnf-simulator</module>
134 </modules>
135</project>