Epic-231 cbr reports
[sdnc/oam.git] / configbackuprestore / pom.xml
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>
9
10         <parent>
11                 <groupId>org.springframework.boot</groupId>
12                         <artifactId>spring-boot-starter-parent</artifactId>
13                         <version>1.5.4.RELEASE</version>
14     </parent>
15
16         <properties>
17                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18         </properties>
19
20         <dependencies>
21                 <dependency>
22                         <groupId>junit</groupId>
23                         <artifactId>junit</artifactId>
24                         <version>3.8.1</version>
25                         <scope>test</scope>
26                 </dependency>
27         </dependencies>
28
29
30
31         <modules>               
32                 <module>getBackupVnfDetailService</module>
33                 <module>vnfconfigreportsservice</module>
34   </modules>
35
36   <build>
37 <plugins>
38         <plugin>
39     <groupId>org.jacoco</groupId>
40     <artifactId>jacoco-maven-plugin</artifactId>
41     <version>0.7.5.201505241946</version>
42     <executions>
43         <!--
44             Prepares the property pointing to the JaCoCo runtime agent which
45             is passed as VM argument when Maven the Surefire plugin is executed.
46         -->
47         <execution>
48             <id>pre-unit-test</id>
49             <goals>
50                 <goal>prepare-agent</goal>
51             </goals>
52             <configuration>
53                 <!-- Sets the path to the file which contains the execution data. -->
54                 <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
55                 <!--
56                     Sets the name of the property containing the settings
57                     for JaCoCo runtime agent.
58                 -->
59                 <propertyName>surefireArgLine</propertyName>
60             </configuration>
61         </execution>
62         <!--
63             Ensures that the code coverage report for unit tests is created after
64             unit tests have been run.
65         -->
66         <execution>
67             <id>post-unit-test</id>
68             <phase>test</phase>
69             <goals>
70                 <goal>report</goal>
71             </goals>
72             <configuration>
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>
77             </configuration>
78         </execution>
79     </executions>
80         </plugin>
81 </plugins>
82 </build>
83 </project>