[DCAE-HV-VES] Add jaas config for kafka connect
[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-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
12   ~
13   ~      http://www.apache.org/licenses/LICENSE-2.0
14   ~
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=========================================================
21   -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24         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>
26
27     <licenses>
28         <license>
29             <name>The Apache Software License, Version 2.0</name>
30             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
31         </license>
32     </licenses>
33
34     <parent>
35         <groupId>org.onap.dcaegen2.collectors.hv-ves</groupId>
36         <artifactId>hv-collector-build</artifactId>
37         <version>${revision}</version>
38         <relativePath>../pom.xml</relativePath>
39     </parent>
40
41     <artifactId>hv-collector-analysis</artifactId>
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         <dependency>
63             <groupId>org.jetbrains.kotlin</groupId>
64             <artifactId>kotlin-scripting-compiler-embeddable</artifactId>
65             <scope>test</scope>
66         </dependency>
67
68         <dependency>
69             <groupId>org.jetbrains.kotlin</groupId>
70             <artifactId>kotlin-script-runtime</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>org.jetbrains.kotlin</groupId>
74             <artifactId>kotlin-script-util</artifactId>
75         </dependency>
76
77         <dependency>
78             <groupId>io.gitlab.arturbosch.detekt</groupId>
79             <artifactId>detekt-test</artifactId>
80             <version>${detekt.version}</version>
81             <scope>test</scope>
82         </dependency>
83         <dependency>
84             <groupId>org.jetbrains.spek</groupId>
85             <artifactId>spek-api</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>org.jetbrains.spek</groupId>
89             <artifactId>spek-junit-platform-engine</artifactId>
90         </dependency>
91         <dependency>
92             <groupId>org.jetbrains.kotlin</groupId>
93             <artifactId>kotlin-test</artifactId>
94         </dependency>
95         <dependency>
96             <groupId>org.assertj</groupId>
97             <artifactId>assertj-core</artifactId>
98         </dependency>
99     </dependencies>
100
101     <build>
102         <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
103         <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
104         <plugins>
105             <plugin>
106                 <groupId>org.apache.maven.plugins</groupId>
107                 <artifactId>maven-deploy-plugin</artifactId>
108                 <configuration>
109                     <skip>true</skip>
110                 </configuration>
111             </plugin>
112
113             <plugin>
114                 <groupId>org.apache.maven.plugins</groupId>
115                 <artifactId>maven-resources-plugin</artifactId>
116                 <configuration>
117                     <encoding>UTF-8</encoding>
118                 </configuration>
119             </plugin>
120
121             <plugin>
122                 <artifactId>kotlin-maven-plugin</artifactId>
123                 <groupId>org.jetbrains.kotlin</groupId>
124                 <version>${kotlin.version}</version>
125                 <configuration>
126                     <jvmTarget>1.8</jvmTarget>
127                 </configuration>
128                 <executions>
129                     <execution>
130                         <id>compile</id>
131                         <goals>
132                             <goal>compile</goal>
133                         </goals>
134                         <configuration>
135                             <sourceDirs>
136                                 <source>${project.build.sourceDirectory}</source>
137                             </sourceDirs>
138                         </configuration>
139                     </execution>
140                     <execution>
141                         <id>test-compile</id>
142                         <goals>
143                             <goal>test-compile</goal>
144                         </goals>
145                         <configuration>
146                             <sourceDirs>
147                                 <source>${project.build.testSourceDirectory}</source>
148                             </sourceDirs>
149                         </configuration>
150                     </execution>
151                 </executions>
152             </plugin>
153         </plugins>
154     </build>
155 </project>