improve sonar coverage for uui-server
[usecase-ui/server.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (C) 2017 CMCC, Inc. and others. All rights reserved.
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9         http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16  -->
17 <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">
18
19     <parent>
20         <groupId>org.onap.oparent</groupId>
21         <artifactId>oparent</artifactId>
22         <version>1.1.0</version>
23     </parent>
24
25     <modelVersion>4.0.0</modelVersion>
26     <groupId>org.onap.usecase-ui.server</groupId>
27     <artifactId>usecase-ui-server-parent</artifactId>
28     <version>1.1.0-SNAPSHOT</version>
29     <packaging>pom</packaging>
30     <name>usecase-ui-server</name>
31     <description>project for usecase-ui server</description>
32
33     <modules>
34         <module>server</module>
35         <module>standalone</module>
36     </modules>
37
38     <properties>
39         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
41         <java.version>1.8</java.version>
42         <hibernate.version>5.0.11.Final</hibernate.version>
43         <spring.version>4.3.4.RELEASE</spring.version>
44         <javax.persistence.version>1.0.2</javax.persistence.version>
45         <common.csv.version>1.4</common.csv.version>
46         <jackson.version>2.9.0</jackson.version>
47     </properties>
48
49     <dependencyManagement>
50         <dependencies>
51             <dependency>
52                 <!-- Import dependency management from Spring Boot -->
53                 <groupId>org.springframework.boot</groupId>
54                 <artifactId>spring-boot-starter-parent</artifactId>
55                 <version>1.4.2.RELEASE</version>
56                 <type>pom</type>
57                 <scope>import</scope>
58             </dependency>
59         </dependencies>
60     </dependencyManagement>
61
62     <dependencies>
63         <dependency>
64             <groupId>org.springframework.boot</groupId>
65             <artifactId>spring-boot-starter-data-jpa</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>org.springframework.boot</groupId>
69             <artifactId>spring-boot-starter-data-redis</artifactId>
70         </dependency>
71         <dependency>
72             <groupId>org.springframework.boot</groupId>
73             <artifactId>spring-boot-starter-data-rest</artifactId>
74         </dependency>
75         <dependency>
76             <groupId>org.springframework.data</groupId>
77             <artifactId>spring-data-rest-hal-browser</artifactId>
78         </dependency>
79         <dependency>
80             <groupId>org.springframework.boot</groupId>
81             <artifactId>spring-boot-starter-jersey</artifactId>
82         </dependency>
83         <!--dependency>
84             <groupId>org.springframework.boot</groupId>
85             <artifactId>spring-boot-starter-security</artifactId>
86         </dependency-->
87         <dependency>
88             <groupId>org.springframework.boot</groupId>
89             <artifactId>spring-boot-starter-web</artifactId>
90         </dependency>
91         <!--dependency>
92             <groupId>mysql</groupId>
93             <artifactId>mysql-connector-java</artifactId>
94             <scope>runtime</scope>
95         </dependency-->
96         <dependency>
97             <groupId>org.mariadb.jdbc</groupId>
98             <artifactId>mariadb-java-client</artifactId>
99             <version>2.2.2</version>
100         </dependency>
101         <dependency>
102             <groupId>org.projectlombok</groupId>
103             <artifactId>lombok</artifactId>
104             <optional>true</optional>
105         </dependency>
106         <dependency>
107             <groupId>org.springframework.boot</groupId>
108             <artifactId>spring-boot-starter-test</artifactId>
109             <scope>test</scope>
110         </dependency>
111         <dependency>
112             <groupId>org.springframework.restdocs</groupId>
113             <artifactId>spring-restdocs-mockmvc</artifactId>
114             <scope>test</scope>
115         </dependency>
116         <dependency>
117             <groupId>org.springframework.security</groupId>
118             <artifactId>spring-security-test</artifactId>
119             <scope>test</scope>
120         </dependency>
121         <dependency>
122             <groupId>org.springframework</groupId>
123             <artifactId>spring-core</artifactId>
124             <version>${spring.version}</version>
125         </dependency>
126         <dependency>
127             <groupId>org.springframework</groupId>
128             <artifactId>spring-orm</artifactId>
129             <version>${spring.version}</version>
130         </dependency>
131         <dependency>
132             <groupId>org.springframework</groupId>
133             <artifactId>spring-context</artifactId>
134             <version>${spring.version}</version>
135         </dependency>
136         <dependency>
137             <groupId>org.springframework</groupId>
138             <artifactId>spring-jdbc</artifactId>
139             <version>${spring.version}</version>
140         </dependency>
141         <dependency>
142             <groupId>org.springframework</groupId>
143             <artifactId>spring-webmvc</artifactId>
144             <version>${spring.version}</version>
145         </dependency>
146         <dependency>
147             <groupId>org.hibernate</groupId>
148             <artifactId>hibernate-core</artifactId>
149             <version>${hibernate.version}</version>
150         </dependency>
151         <dependency>
152             <groupId>javax.persistence</groupId>
153             <artifactId>persistence-api</artifactId>
154             <version>${javax.persistence.version}</version>
155         </dependency>
156
157         <!-- commons-csv -->
158         <dependency>
159             <groupId>org.apache.commons</groupId>
160             <artifactId>commons-csv</artifactId>
161             <version>${common.csv.version}</version>
162         </dependency>
163
164         <!-- jackson-databind -->
165         <dependency>
166             <groupId>com.fasterxml.jackson.core</groupId>
167             <artifactId>jackson-databind</artifactId>
168             <version>${jackson.version}</version>
169         </dependency>
170
171         <!-- jackson-core -->
172         <dependency>
173             <groupId>com.fasterxml.jackson.core</groupId>
174             <artifactId>jackson-core</artifactId>
175             <version>${jackson.version}</version>
176         </dependency>
177
178         <!-- jackson-annotations -->
179         <dependency>
180             <groupId>com.fasterxml.jackson.core</groupId>
181             <artifactId>jackson-annotations</artifactId>
182             <version>${jackson.version}</version>
183         </dependency>
184
185         <dependency>
186             <groupId>com.squareup.retrofit2</groupId>
187             <artifactId>retrofit</artifactId>
188             <version>2.3.0</version>
189         </dependency>
190         <dependency>
191             <groupId>com.squareup.retrofit2</groupId>
192             <artifactId>converter-jackson</artifactId>
193             <version>2.3.0</version>
194         </dependency>
195
196         <dependency>
197             <groupId>org.openecomp.sdc.jtosca</groupId>
198             <artifactId>jtosca</artifactId>
199             <version>1.1.1</version>
200         </dependency>
201
202         <dependency>
203             <groupId>com.google.guava</groupId>
204             <artifactId>guava</artifactId>
205             <version>23.0</version>
206         </dependency>
207
208         <dependency>
209             <groupId>org.onap.msb.java-sdk</groupId>
210             <artifactId>msb-java-sdk</artifactId>
211             <version>1.0.0</version>
212         </dependency>
213
214         <!-- UT coverage dependency start -->
215         <dependency>
216             <groupId>org.jmockit</groupId>
217             <artifactId>jmockit</artifactId>
218             <version>1.19</version>
219             <scope>test</scope>
220         </dependency>
221         <dependency>
222             <groupId>junit</groupId>
223             <artifactId>junit</artifactId>
224             <version>4.12</version>
225         </dependency>
226         <dependency>
227             <groupId>org.jmockit</groupId>
228             <artifactId>jmockit-coverage</artifactId>
229             <version>1.19</version>
230             <scope>test</scope>
231         </dependency>
232         <!-- UT coverage dependency end -->
233     </dependencies>
234
235     <build>
236         <plugins>
237             <plugin>
238                 <groupId>org.springframework.boot</groupId>
239                 <artifactId>spring-boot-maven-plugin</artifactId>
240                 <configuration>
241                     <executable>true</executable>
242                 </configuration>
243                 <executions>
244                     <execution>
245                         <goals>
246                             <goal>repackage</goal>
247                         </goals>
248                     </execution>
249                 </executions>
250             </plugin>
251             <plugin>
252                 <groupId>org.apache.maven.plugins</groupId>
253                 <artifactId>maven-compiler-plugin</artifactId>
254                 <version>3.3</version>
255                 <configuration>
256                     <source>1.8</source>
257                     <target>1.8</target>
258                 </configuration>
259             </plugin>
260             <plugin>
261               <groupId>org.apache.maven.plugins</groupId>
262               <artifactId>maven-antrun-plugin</artifactId>
263               <version>1.8</version>
264             </plugin>
265             <plugin>
266                 <groupId>org.apache.maven.plugins</groupId>
267                 <artifactId>maven-surefire-plugin</artifactId>
268                 <version>2.19</version>
269                 <configuration>
270                     <testFailureIgnore>true</testFailureIgnore>
271                     <includes>
272                         <include>**/*Spec*</include>
273                         <include>**/Test*.java</include>
274                         <include>**/*Test.java</include>
275                         <include>**/*TestCase.java</include>
276                         <include>**/Test*.scala</include>
277                         <include>**/*Test.scala</include>
278                         <include>**/*TestCase.scala</include>
279                     </includes>
280                 </configuration>
281             </plugin>
282         </plugins>
283     </build>
284
285     <repositories>
286         <repository>
287             <id>spring-milestones</id>
288             <name>Spring Milestones</name>
289             <url>https://repo.spring.io/milestone</url>
290             <snapshots>
291                 <enabled>false</enabled>
292             </snapshots>
293         </repository>
294     </repositories>
295
296     <pluginRepositories>
297         <pluginRepository>
298             <id>spring-milestones</id>
299             <name>Spring Milestones</name>
300             <url>https://repo.spring.io/milestone</url>
301             <snapshots>
302                 <enabled>false</enabled>
303             </snapshots>
304         </pluginRepository>
305     </pluginRepositories>
306 </project>