Bump checkstyle version
[dcaegen2/collectors/hv-ves.git] / 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 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>ves-hv-collector</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                     </arguments>
94                 </configuration>
95             </plugin>
96         </plugins>
97     </build>
98
99     <dependencies>
100         <dependency>
101             <groupId>${project.parent.groupId}</groupId>
102             <artifactId>hv-collector-core</artifactId>
103             <version>${project.parent.version}</version>
104         </dependency>
105         <dependency>
106             <groupId>${project.parent.groupId}</groupId>
107             <artifactId>hv-collector-ct</artifactId>
108             <version>${project.parent.version}</version>
109         </dependency>
110         <dependency>
111             <groupId>${project.parent.groupId}</groupId>
112             <artifactId>hv-collector-dcae-app-simulator</artifactId>
113             <version>${project.parent.version}</version>
114         </dependency>
115         <dependency>
116             <groupId>${project.parent.groupId}</groupId>
117             <artifactId>hv-collector-domain</artifactId>
118             <version>${project.parent.version}</version>
119         </dependency>
120         <dependency>
121             <groupId>${project.parent.groupId}</groupId>
122             <artifactId>hv-collector-health-check</artifactId>
123             <version>${project.parent.version}</version>
124         </dependency>
125         <dependency>
126             <groupId>${project.parent.groupId}</groupId>
127             <artifactId>hv-collector-main</artifactId>
128             <version>${project.parent.version}</version>
129         </dependency>
130         <dependency>
131             <groupId>${project.parent.groupId}</groupId>
132             <artifactId>hv-collector-utils</artifactId>
133             <version>${project.parent.version}</version>
134         </dependency>
135         <dependency>
136             <groupId>${project.parent.groupId}</groupId>
137             <artifactId>hv-collector-ves-message-generator</artifactId>
138             <version>${project.parent.version}</version>
139         </dependency>
140         <dependency>
141             <groupId>${project.parent.groupId}</groupId>
142             <artifactId>hv-collector-xnf-simulator</artifactId>
143             <version>${project.parent.version}</version>
144         </dependency>
145     </dependencies>
146
147 </project>