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