Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ ============LICENSE_START======================================================= |
| 4 | ~ dcaegen2-collectors-veshv |
| 5 | ~ ================================================================================ |
fkrzywka | e74c9e1 | 2018-06-06 10:43:53 +0200 | [diff] [blame] | 6 | ~ Copyright (C) 2018 NOKIA |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 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" |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame] | 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> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 25 | |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame] | 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> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 32 | |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame] | 33 | <parent> |
Piotr Jaszczyk | ae63393 | 2018-08-21 08:28:54 +0200 | [diff] [blame] | 34 | <groupId>org.onap.dcaegen2.collectors.hv-ves</groupId> |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame] | 35 | <artifactId>ves-hv-collector</artifactId> |
| 36 | <version>1.0.0-SNAPSHOT</version> |
| 37 | <relativePath>..</relativePath> |
| 38 | </parent> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 39 | |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame] | 40 | <artifactId>hv-collector-coverage</artifactId> |
| 41 | <description>VES HighVolume Collector :: Code coverage</description> |
| 42 | <packaging>pom</packaging> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 43 | |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame] | 44 | <properties> |
| 45 | <failIfMissingUnitTests>false</failIfMissingUnitTests> |
| 46 | <failIfMissingComponentTests>false</failIfMissingComponentTests> |
| 47 | </properties> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 48 | |
Filip Krzywka | 88726d9 | 2018-08-10 08:26:42 +0200 | [diff] [blame] | 49 | <build> |
| 50 | <plugins> |
| 51 | <plugin> |
| 52 | <groupId>org.jacoco</groupId> |
| 53 | <artifactId>jacoco-maven-plugin</artifactId> |
| 54 | <executions> |
| 55 | <execution> |
Piotr Jaszczyk | 1d9f81b | 2018-08-23 09:06:19 +0200 | [diff] [blame] | 56 | <id>jacoco-aggregate-report</id> |
| 57 | <phase>verify</phase> |
Filip Krzywka | 88726d9 | 2018-08-10 08:26:42 +0200 | [diff] [blame] | 58 | <goals> |
| 59 | <goal>report-aggregate</goal> |
| 60 | </goals> |
Piotr Jaszczyk | 1d9f81b | 2018-08-23 09:06:19 +0200 | [diff] [blame] | 61 | <configuration> |
| 62 | <excludes> |
Piotr Jaszczyk | b20f963 | 2018-09-06 08:20:03 +0200 | [diff] [blame^] | 63 | <!-- Exclude Protobuf-generated classes --> |
Piotr Jaszczyk | 1d9f81b | 2018-08-23 09:06:19 +0200 | [diff] [blame] | 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> |
Filip Krzywka | 88726d9 | 2018-08-10 08:26:42 +0200 | [diff] [blame] | 71 | </execution> |
| 72 | </executions> |
| 73 | </plugin> |
Piotr Jaszczyk | 851d470 | 2018-08-23 14:45:39 +0200 | [diff] [blame] | 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> |
Piotr Jaszczyk | b20f963 | 2018-09-06 08:20:03 +0200 | [diff] [blame^] | 87 | <skip>${skipTests}</skip> |
Piotr Jaszczyk | 851d470 | 2018-08-23 14:45:39 +0200 | [diff] [blame] | 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> |
Filip Krzywka | 88726d9 | 2018-08-10 08:26:42 +0200 | [diff] [blame] | 96 | </plugins> |
| 97 | </build> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 98 | |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame] | 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> |
Piotr Jaszczyk | 1d9f81b | 2018-08-23 09:06:19 +0200 | [diff] [blame] | 112 | <artifactId>hv-collector-dcae-app-simulator</artifactId> |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame] | 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> |
Piotr Jaszczyk | 1d9f81b | 2018-08-23 09:06:19 +0200 | [diff] [blame] | 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> |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame] | 133 | <version>${project.parent.version}</version> |
| 134 | </dependency> |
| 135 | <dependency> |
| 136 | <groupId>${project.parent.groupId}</groupId> |
fkrzywka | 2a8d4e3 | 2018-07-16 08:17:29 +0200 | [diff] [blame] | 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> |
Piotr Jaszczyk | c3accea | 2018-06-29 14:57:02 +0200 | [diff] [blame] | 143 | <version>${project.parent.version}</version> |
| 144 | </dependency> |
| 145 | </dependencies> |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 146 | |
| 147 | </project> |