Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / configbackuprestore / getBackupVnfDetailService / 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/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4
5     <parent>
6         <groupId>org.onap.sdnc.oam.vnfbackup</groupId>
7         <artifactId>configbackuprestore</artifactId>
8         <version>2.2.0-SNAPSHOT</version>
9     </parent>
10
11     <groupId>org.onap.sdnc.oam.vnfbackup</groupId>
12     <artifactId>getBackupVnfDetailService</artifactId>
13     <version>2.2.0-SNAPSHOT</version>
14
15     <name>sdnc-oam :: vnfbackup :: getBackupVnfDetailService</name>
16     <url>http://maven.apache.org</url>
17
18     <properties>
19         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20     </properties>
21
22     <dependencies>
23         <dependency>
24             <groupId>junit</groupId>
25             <artifactId>junit</artifactId>
26             <version>4.4</version>
27             <scope>test</scope>
28         </dependency>
29         <dependency>
30             <groupId>org.mariadb.jdbc</groupId>
31             <artifactId>mariadb-java-client</artifactId>
32             <version>1.1.9</version>
33         </dependency>
34         <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
35         <dependency>
36             <groupId>commons-codec</groupId>
37             <artifactId>commons-codec</artifactId>
38             <version>1.9</version>
39         </dependency>
40
41         <dependency>
42             <groupId>org.springframework.boot</groupId>
43             <artifactId>spring-boot-starter-web</artifactId>
44             <version>1.5.4.RELEASE</version>
45         </dependency>
46
47         <dependency>
48             <groupId>org.springframework</groupId>
49             <artifactId>spring-context</artifactId>
50             <version>4.3.9.RELEASE</version>
51         </dependency>
52
53         <dependency>
54             <groupId>org.springframework.boot</groupId>
55             <artifactId>spring-boot-starter-tomcat</artifactId>
56             <scope>provided</scope>
57         </dependency>
58
59         <dependency>
60             <groupId>org.apache.tomcat.embed</groupId>
61             <artifactId>tomcat-embed-jasper</artifactId>
62             <scope>provided</scope>
63         </dependency>
64
65
66         <dependency>
67             <groupId>org.springframework.boot</groupId>
68             <artifactId>spring-boot-devtools</artifactId>
69             <optional>true</optional>
70         </dependency>
71
72         <dependency>
73             <groupId>org.springframework.boot</groupId>
74             <artifactId>spring-boot-starter-test</artifactId>
75             <version>1.5.3.RELEASE</version>
76             <scope>test</scope>
77         </dependency>
78
79         <dependency>
80             <groupId>org.springframework.boot</groupId>
81             <artifactId>spring-boot-starter-data-jpa</artifactId>
82         </dependency>
83
84         <!-- Add Log4j2 Dependency -->
85         <dependency>
86             <groupId>org.springframework.boot</groupId>
87             <artifactId>spring-boot-starter-log4j2</artifactId>
88         </dependency>
89         <!-- https://mvnrepository.com/artifact/org.javers/javers-core -->
90         <dependency>
91             <groupId>org.javers</groupId>
92             <artifactId>javers-core</artifactId>
93             <version>3.9.3</version>
94         </dependency>
95
96         <dependency>
97             <groupId>org.json</groupId>
98             <artifactId>json</artifactId>
99             <version>20180130</version>
100         </dependency>
101
102         <!-- https://mvnrepository.com/artifact/com.flipkart.zjsonpatch/zjsonpatch -->
103         <dependency>
104             <groupId>com.flipkart.zjsonpatch</groupId>
105             <artifactId>zjsonpatch</artifactId>
106             <version>0.4.6</version>
107         </dependency>
108
109     </dependencies>
110
111     <build>
112         <plugins>
113             <plugin>
114                 <groupId>org.jacoco</groupId>
115                 <artifactId>jacoco-maven-plugin</artifactId>
116                 <version>0.7.5.201505241946</version>
117                 <executions>
118                     <!-- Prepares the property pointing to the JaCoCo runtime agent which
119                         is passed as VM argument when Maven the Surefire plugin is executed. -->
120                     <execution>
121                         <id>pre-unit-test</id>
122                         <goals>
123                             <goal>prepare-agent</goal>
124                         </goals>
125                         <configuration>
126                             <!-- Sets the path to the file which contains the execution data. -->
127                             <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
128                             <!-- Sets the name of the property containing the settings for JaCoCo
129                                 runtime agent. -->
130                             <propertyName>surefireArgLine</propertyName>
131                         </configuration>
132                     </execution>
133                     <!-- Ensures that the code coverage report for unit tests is created
134                         after unit tests have been run. -->
135                     <execution>
136                         <id>post-unit-test</id>
137                         <phase>test</phase>
138                         <goals>
139                             <goal>report</goal>
140                         </goals>
141                         <configuration>
142                             <!-- Sets the path to the file which contains the execution data. -->
143                             <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
144                             <!-- Sets the output directory for the code coverage report. -->
145                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
146                         </configuration>
147                     </execution>
148                 </executions>
149             </plugin>
150         </plugins>
151     </build>
152 </project>