[DCAE-HV-VES] Add jaas config for kafka connect
[dcaegen2/collectors/hv-ves.git] / build / hv-collector-coverage / 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-coverage</artifactId>
42     <description>VES HighVolume Collector :: Code coverage</description>
43     <packaging>pom</packaging>
44
45     <properties>
46         <failIfMissingUnitTests>false</failIfMissingUnitTests>
47         <failIfMissingComponentTests>false</failIfMissingComponentTests>
48     </properties>
49
50     <build>
51         <plugins>
52             <plugin>
53                 <groupId>org.jacoco</groupId>
54                 <artifactId>jacoco-maven-plugin</artifactId>
55                 <executions>
56                     <execution>
57                         <id>jacoco-aggregate-report</id>
58                         <phase>verify</phase>
59                         <goals>
60                             <goal>report-aggregate</goal>
61                         </goals>
62                         <configuration>
63                             <excludes>
64                                 <!-- Exclude Protobuf-generated classes -->
65                                 <exclude>org/onap/ves/*</exclude>
66                             </excludes>
67                             <dataFileIncludes>
68                                 <dataFileInclude>**/jacoco-ut.exec</dataFileInclude>
69                                 <dataFileInclude>**/jacoco-it.exec</dataFileInclude>
70                             </dataFileIncludes>
71                         </configuration>
72                     </execution>
73                 </executions>
74             </plugin>
75             <plugin>
76                 <groupId>org.codehaus.mojo</groupId>
77                 <artifactId>exec-maven-plugin</artifactId>
78                 <executions>
79                     <execution>
80                         <id>check-coverage</id>
81                         <phase>verify</phase>
82                         <goals>
83                             <goal>exec</goal>
84                         </goals>
85                     </execution>
86                 </executions>
87                 <configuration>
88                     <skip>${skipTests}</skip>
89                     <executable>${project.basedir}/check-coverage.sh</executable>
90                     <workingDirectory>${project.basedir}</workingDirectory>
91                     <arguments>
92                         <argument>target/site/jacoco-aggregate/jacoco.xml</argument>
93                         <argument>${jacoco.minimum.coverage}</argument>
94                         <argument>${project.parent.parent.basedir}/sources/pom.xml</argument>
95                     </arguments>
96                 </configuration>
97             </plugin>
98         </plugins>
99     </build>
100
101     <dependencies>
102         <dependency>
103             <groupId>${project.parent.groupId}</groupId>
104             <artifactId>hv-collector-commandline</artifactId>
105             <version>${project.parent.version}</version>
106         </dependency>
107         <dependency>
108             <groupId>${project.parent.groupId}</groupId>
109             <artifactId>hv-collector-configuration</artifactId>
110             <version>${project.parent.version}</version>
111         </dependency>
112         <dependency>
113             <groupId>${project.parent.groupId}</groupId>
114             <artifactId>hv-collector-core</artifactId>
115             <version>${project.parent.version}</version>
116         </dependency>
117         <dependency>
118             <groupId>${project.parent.groupId}</groupId>
119             <artifactId>hv-collector-ct</artifactId>
120             <version>${project.parent.version}</version>
121         </dependency>
122         <dependency>
123             <groupId>${project.parent.groupId}</groupId>
124             <artifactId>hv-collector-dcae-app-simulator</artifactId>
125             <version>${project.parent.version}</version>
126         </dependency>
127         <dependency>
128             <groupId>${project.parent.groupId}</groupId>
129             <artifactId>hv-collector-domain</artifactId>
130             <version>${project.parent.version}</version>
131         </dependency>
132         <dependency>
133             <groupId>${project.parent.groupId}</groupId>
134             <artifactId>hv-collector-health-check</artifactId>
135             <version>${project.parent.version}</version>
136         </dependency>
137         <dependency>
138             <groupId>${project.parent.groupId}</groupId>
139             <artifactId>hv-collector-kafka</artifactId>
140             <version>${project.parent.version}</version>
141         </dependency>
142         <dependency>
143             <groupId>${project.parent.groupId}</groupId>
144             <artifactId>hv-collector-kafka-consumer</artifactId>
145             <version>${project.parent.version}</version>
146         </dependency>
147         <dependency>
148             <groupId>${project.parent.groupId}</groupId>
149             <artifactId>hv-collector-main</artifactId>
150             <version>${project.parent.version}</version>
151         </dependency>
152         <dependency>
153             <groupId>${project.parent.groupId}</groupId>
154             <artifactId>hv-collector-server</artifactId>
155             <version>${project.parent.version}</version>
156         </dependency>
157         <dependency>
158             <groupId>${project.parent.groupId}</groupId>
159             <artifactId>hv-collector-ssl</artifactId>
160             <version>${project.parent.version}</version>
161         </dependency>
162         <dependency>
163             <groupId>${project.parent.groupId}</groupId>
164             <artifactId>hv-collector-test-utils</artifactId>
165             <version>${project.parent.version}</version>
166         </dependency>
167         <dependency>
168             <groupId>${project.parent.groupId}</groupId>
169             <artifactId>hv-collector-utils</artifactId>
170             <version>${project.parent.version}</version>
171         </dependency>
172         <dependency>
173             <groupId>${project.parent.groupId}</groupId>
174             <artifactId>hv-collector-ves-message-generator</artifactId>
175             <version>${project.parent.version}</version>
176         </dependency>
177         <dependency>
178             <groupId>${project.parent.groupId}</groupId>
179             <artifactId>hv-collector-xnf-simulator</artifactId>
180             <version>${project.parent.version}</version>
181         </dependency>
182     </dependencies>
183
184 </project>