1 <?xml version="1.0" encoding="UTF-8"?>
2 <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/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>org.onap.ccsdk.parent</groupId>
5 <artifactId>configbackuprestore</artifactId>
6 <version>1.0-SNAPSHOT</version>
7 <name>Archetype - configbackuprestore</name>
8 <packaging>pom</packaging>
11 <groupId>org.springframework.boot</groupId>
12 <artifactId>spring-boot-starter-parent</artifactId>
13 <version>1.5.4.RELEASE</version>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22 <groupId>junit</groupId>
23 <artifactId>junit</artifactId>
24 <version>3.8.1</version>
32 <module>getBackupVnfDetailService</module>
33 <module>vnfconfigreportsservice</module>
39 <groupId>org.jacoco</groupId>
40 <artifactId>jacoco-maven-plugin</artifactId>
41 <version>0.7.5.201505241946</version>
44 Prepares the property pointing to the JaCoCo runtime agent which
45 is passed as VM argument when Maven the Surefire plugin is executed.
48 <id>pre-unit-test</id>
50 <goal>prepare-agent</goal>
53 <!-- Sets the path to the file which contains the execution data. -->
54 <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
56 Sets the name of the property containing the settings
57 for JaCoCo runtime agent.
59 <propertyName>surefireArgLine</propertyName>
63 Ensures that the code coverage report for unit tests is created after
64 unit tests have been run.
67 <id>post-unit-test</id>
73 <!-- Sets the path to the file which contains the execution data. -->
74 <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
75 <!-- Sets the output directory for the code coverage report. -->
76 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>