Custom detekt rule for logger usage check
[dcaegen2/collectors/hv-ves.git] / build / hv-collector-analysis / pom.xml
1 <?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"
22         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">
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>hv-collector-build</artifactId>
36         <version>1.1.0-SNAPSHOT</version>
37         <relativePath>..</relativePath>
38     </parent>
39
40     <artifactId>hv-collector-analysis</artifactId>
41     <version>1.1.0-SNAPSHOT</version>
42     <description>VES HighVolume Collector :: Code analysis configuration</description>
43
44     <dependencies>
45         <dependency>
46             <groupId>io.gitlab.arturbosch.detekt</groupId>
47             <artifactId>detekt-api</artifactId>
48             <version>${detekt.version}</version>
49         </dependency>
50         <dependency>
51             <groupId>org.jetbrains.kotlin</groupId>
52             <artifactId>kotlin-stdlib-jdk8</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.jetbrains.kotlin</groupId>
56             <artifactId>kotlin-reflect</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.jetbrains.kotlin</groupId>
60             <artifactId>kotlin-compiler-embeddable</artifactId>
61         </dependency>
62
63         <dependency>
64             <groupId>org.jetbrains.kotlin</groupId>
65             <artifactId>kotlin-script-runtime</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>org.jetbrains.kotlin</groupId>
69             <artifactId>kotlin-script-util</artifactId>
70         </dependency>
71
72         <dependency>
73             <groupId>io.gitlab.arturbosch.detekt</groupId>
74             <artifactId>detekt-test</artifactId>
75             <version>${detekt.version}</version>
76             <scope>test</scope>
77         </dependency>
78         <dependency>
79             <groupId>org.jetbrains.spek</groupId>
80             <artifactId>spek-api</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>org.jetbrains.spek</groupId>
84             <artifactId>spek-junit-platform-engine</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>org.jetbrains.kotlin</groupId>
88             <artifactId>kotlin-test</artifactId>
89         </dependency>
90         <dependency>
91             <groupId>org.assertj</groupId>
92             <artifactId>assertj-core</artifactId>
93         </dependency>
94     </dependencies>
95
96     <build>
97         <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
98         <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
99         <plugins>
100             <plugin>
101                 <groupId>org.apache.maven.plugins</groupId>
102                 <artifactId>maven-deploy-plugin</artifactId>
103                 <configuration>
104                     <skip>true</skip>
105                 </configuration>
106             </plugin>
107
108             <plugin>
109                 <groupId>org.apache.maven.plugins</groupId>
110                 <artifactId>maven-resources-plugin</artifactId>
111                 <configuration>
112                     <encoding>UTF-8</encoding>
113                 </configuration>
114             </plugin>
115
116             <plugin>
117                 <artifactId>kotlin-maven-plugin</artifactId>
118                 <groupId>org.jetbrains.kotlin</groupId>
119                 <version>${kotlin.version}</version>
120                 <configuration>
121                     <jvmTarget>1.8</jvmTarget>
122                 </configuration>
123                 <executions>
124                     <execution>
125                         <id>compile</id>
126                         <goals>
127                             <goal>compile</goal>
128                         </goals>
129                         <configuration>
130                             <sourceDirs>
131                                 <source>${project.build.sourceDirectory}</source>
132                             </sourceDirs>
133                         </configuration>
134                     </execution>
135                     <execution>
136                         <id>test-compile</id>
137                         <goals>
138                             <goal>test-compile</goal>
139                         </goals>
140                         <configuration>
141                             <sourceDirs>
142                                 <source>${project.build.testSourceDirectory}</source>
143                             </sourceDirs>
144                         </configuration>
145                     </execution>
146                 </executions>
147             </plugin>
148         </plugins>
149     </build>
150 </project>