diff options
author | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2021-02-26 10:07:24 +0100 |
---|---|---|
committer | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2021-02-26 10:59:01 +0100 |
commit | e12824f490c9d39f3060c5a0f75bb36286209979 (patch) | |
tree | a7b48e22af0ebbf1cb13d60bcc9039ebc3c2b9c0 /mod/bpgenerator/coverage | |
parent | 09e62b52feb8d090fe5b91e761a1d74674c02f73 (diff) |
Update coverage reporting for BPGen
Coverage submodule added in order to aggregate reports from
other submodules.
Added lombok configuration to annotate generated methods
with @Generated, so that those can be skipped during coverage
calculation.
Formatted pom.xml
Issue-ID: DCAEGEN2-2636
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: Ie08d1ecd3880b295be99b5b1713e92db060292da
Diffstat (limited to 'mod/bpgenerator/coverage')
-rw-r--r-- | mod/bpgenerator/coverage/pom.xml | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/mod/bpgenerator/coverage/pom.xml b/mod/bpgenerator/coverage/pom.xml new file mode 100644 index 0000000..b831b8e --- /dev/null +++ b/mod/bpgenerator/coverage/pom.xml @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +============LICENSE_START======================================================= +Copyright (c) 2021 Nokia. All rights reserved. +================================================================================ +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +============LICENSE_END========================================================= +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <parent> + <artifactId>blueprint-generator</artifactId> + <groupId>org.onap.dcaegen2.platform.mod</groupId> + <version>1.7.3-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + + <artifactId>coverage</artifactId> + + <name>Coverage</name> + <description>This module is used to generate aggregated coverage report</description> + + <properties> + <maven.deploy.skip>true</maven.deploy.skip> + </properties> + + <dependencies> + <dependency> + <groupId>org.onap.dcaegen2.platform.mod</groupId> + <artifactId>blueprint-generator-common</artifactId> + <version>1.7.3-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.onap.dcaegen2.platform.mod</groupId> + <artifactId>blueprint-generator-onap</artifactId> + <version>1.7.3-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.onap.dcaegen2.platform.mod</groupId> + <artifactId>blueprint-generator-onap-executable</artifactId> + <version>1.7.3-SNAPSHOT</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <executions> + <execution> + <phase>verify</phase> + <id>report</id> + <goals> + <goal>report-aggregate</goal> + </goals> + <configuration> + <dataFileIncludes> + <dataFileInclude>**/jacoco-ut.exec</dataFileInclude> + <dataFileInclude>**/jacoco-it.exec</dataFileInclude> + </dataFileIncludes> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> |