blob: 9b3f257ae1d0b843631e29d0e1f1e2dd0f1d7d87 [file] [log] [blame]
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ ============LICENSE_START=======================================================
4 ~ dcaegen2-collectors-veshv
5 ~ ================================================================================
fkrzywkae74c9e12018-06-06 10:43:53 +02006 ~ Copyright (C) 2018 NOKIA
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +02007 ~ ================================================================================
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"
Piotr Jaszczykc3accea2018-06-29 14:57:02 +020022 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>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020025
Piotr Jaszczykc3accea2018-06-29 14:57:02 +020026 <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>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020032
Piotr Jaszczykc3accea2018-06-29 14:57:02 +020033 <parent>
Piotr Jaszczykae633932018-08-21 08:28:54 +020034 <groupId>org.onap.dcaegen2.collectors.hv-ves</groupId>
Piotr Jaszczykdde383a2018-11-28 15:46:50 +010035 <artifactId>hv-collector-build</artifactId>
Piotr Jaszczyk4d15e5a2018-11-07 15:08:43 +010036 <version>1.1.0-SNAPSHOT</version>
Piotr Jaszczykc3accea2018-06-29 14:57:02 +020037 <relativePath>..</relativePath>
38 </parent>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020039
Piotr Jaszczykc3accea2018-06-29 14:57:02 +020040 <artifactId>hv-collector-coverage</artifactId>
41 <description>VES HighVolume Collector :: Code coverage</description>
42 <packaging>pom</packaging>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020043
Piotr Jaszczykc3accea2018-06-29 14:57:02 +020044 <properties>
45 <failIfMissingUnitTests>false</failIfMissingUnitTests>
46 <failIfMissingComponentTests>false</failIfMissingComponentTests>
47 </properties>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020048
Filip Krzywka88726d92018-08-10 08:26:42 +020049 <build>
50 <plugins>
51 <plugin>
52 <groupId>org.jacoco</groupId>
53 <artifactId>jacoco-maven-plugin</artifactId>
54 <executions>
55 <execution>
Piotr Jaszczyk1d9f81b2018-08-23 09:06:19 +020056 <id>jacoco-aggregate-report</id>
57 <phase>verify</phase>
Filip Krzywka88726d92018-08-10 08:26:42 +020058 <goals>
59 <goal>report-aggregate</goal>
60 </goals>
Piotr Jaszczyk1d9f81b2018-08-23 09:06:19 +020061 <configuration>
62 <excludes>
Piotr Jaszczykb20f9632018-09-06 08:20:03 +020063 <!-- Exclude Protobuf-generated classes -->
Piotr Jaszczyk1d9f81b2018-08-23 09:06:19 +020064 <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>
Filip Krzywka88726d92018-08-10 08:26:42 +020071 </execution>
72 </executions>
73 </plugin>
Piotr Jaszczyk851d4702018-08-23 14:45:39 +020074 <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>
Piotr Jaszczykb20f9632018-09-06 08:20:03 +020087 <skip>${skipTests}</skip>
Piotr Jaszczyk851d4702018-08-23 14:45:39 +020088 <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>
Filip Krzywka88726d92018-08-10 08:26:42 +020096 </plugins>
97 </build>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +020098
Piotr Jaszczykc3accea2018-06-29 14:57:02 +020099 <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>
Piotr Jaszczyk1d9f81b2018-08-23 09:06:19 +0200112 <artifactId>hv-collector-dcae-app-simulator</artifactId>
Piotr Jaszczykc3accea2018-06-29 14:57:02 +0200113 <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>
Piotr Jaszczyk1d9f81b2018-08-23 09:06:19 +0200122 <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>
Piotr Jaszczykc3accea2018-06-29 14:57:02 +0200133 <version>${project.parent.version}</version>
134 </dependency>
135 <dependency>
136 <groupId>${project.parent.groupId}</groupId>
fkrzywka2a8d4e32018-07-16 08:17:29 +0200137 <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>
Piotr Jaszczykc3accea2018-06-29 14:57:02 +0200143 <version>${project.parent.version}</version>
144 </dependency>
145 </dependencies>
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +0200146
147</project>