1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>SdncReports</artifactId>
8 <version>0.0.1-SNAPSHOT</version>
9 <packaging>pom</packaging>
12 <groupId>org.springframework.boot</groupId>
13 <artifactId>spring-boot-starter-parent</artifactId>
14 <version>1.5.4.RELEASE</version>
18 <module>SdncReportsDao</module>
19 <module>SdncReportsApi</module>
26 <groupId>org.jacoco</groupId>
27 <artifactId>jacoco-maven-plugin</artifactId>
28 <version>0.7.5.201505241946</version>
30 <!-- Prepares the property pointing to the JaCoCo runtime agent which
31 is passed as VM argument when Maven the Surefire plugin is executed. -->
33 <id>pre-unit-test</id>
35 <goal>prepare-agent</goal>
38 <!-- Sets the path to the file which contains the execution data. -->
39 <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
40 <!-- Sets the name of the property containing the settings for JaCoCo
42 <propertyName>surefireArgLine</propertyName>
45 <!-- Ensures that the code coverage report for unit tests is created
46 after unit tests have been run. -->
48 <id>post-unit-test</id>
54 <!-- Sets the path to the file which contains the execution data. -->
55 <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
56 <!-- Sets the output directory for the code coverage report. -->
57 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>