Fix usecase-ui code merge failure
[usecase-ui/server.git] / server / 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.usecase-ui.server</groupId>
21         <artifactId>usecase-ui-server-parent</artifactId>
22         <version>2.0.0</version>
23     </parent>
24
25     <modelVersion>4.0.0</modelVersion>
26     <groupId>org.onap.usecase-ui.server</groupId>
27     <artifactId>usecase-ui-server</artifactId>
28     <packaging>jar</packaging>
29     <name>usecase-ui-server/server</name>
30     <description>project for usecase-ui server</description>
31
32     <properties>
33         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
35         <java.version>1.8</java.version>
36         <hibernate.version>5.0.11.Final</hibernate.version>
37         <javax.persistence.version>1.0.2</javax.persistence.version>
38         <common.csv.version>1.4</common.csv.version>
39         <jackson.version>2.9.8</jackson.version>
40         <tomcat.version>9.0.16</tomcat.version>
41     </properties>
42
43     <dependencyManagement>
44         <dependencies>
45             <dependency>
46                 <!-- Import dependency management from Spring Boot -->
47                 <groupId>org.springframework.boot</groupId>
48                 <artifactId>spring-boot-starter-parent</artifactId>
49                 <version>1.5.6.RELEASE</version>
50                 <type>pom</type>
51                 <scope>import</scope>
52             </dependency>
53         </dependencies>
54     </dependencyManagement>
55
56     <dependencies>
57         <dependency>
58             <groupId>org.springframework.boot</groupId>
59             <artifactId>spring-boot-starter-actuator</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>org.springframework.boot</groupId>
63             <artifactId>spring-boot-starter-data-jpa</artifactId>
64             <exclusions>
65                 <exclusion>
66                     <groupId>org.apache.tomcat</groupId>
67                     <artifactId>tomcat-jdbc</artifactId>
68                 </exclusion>
69             </exclusions>
70         </dependency>
71         <dependency>
72             <groupId>org.springframework.boot</groupId>
73             <artifactId>spring-boot-starter-data-redis</artifactId>
74         </dependency>
75         <dependency>
76             <groupId>org.springframework.boot</groupId>
77             <artifactId>spring-boot-starter-data-rest</artifactId>
78         </dependency>
79         <dependency>
80             <groupId>org.elasticsearch.client</groupId>
81             <artifactId>elasticsearch-rest-high-level-client</artifactId>
82             <version>6.6.1</version>
83             <exclusions>
84                 <exclusion>
85                     <groupId>org.elasticsearch</groupId>
86                     <artifactId>elasticsearch</artifactId>
87                 </exclusion>
88             </exclusions>
89         </dependency>
90         <dependency>
91             <groupId>org.elasticsearch</groupId>
92             <artifactId>elasticsearch</artifactId>
93             <version>6.6.1</version>
94         </dependency>
95         <dependency>
96             <groupId>org.springframework.data</groupId>
97             <artifactId>spring-data-rest-hal-browser</artifactId>
98         </dependency>
99         <dependency>
100             <groupId>org.springframework.boot</groupId>
101             <artifactId>spring-boot-starter-jersey</artifactId>
102         </dependency>
103         <!-- postgresql  dependency-->
104         <dependency>
105             <groupId>postgresql</groupId>
106             <artifactId>postgresql</artifactId>
107             <version>9.1-901-1.jdbc4</version>
108         </dependency>
109
110         <dependency>
111             <groupId>org.projectlombok</groupId>
112             <artifactId>lombok</artifactId>
113             <optional>true</optional>
114         </dependency>
115         <dependency>
116             <groupId>org.springframework.boot</groupId>
117             <artifactId>spring-boot-starter-test</artifactId>
118             <scope>test</scope>
119             <exclusions>
120                 <exclusion>
121                     <groupId>org.mockito</groupId>
122                     <artifactId>mockito-core</artifactId>
123                 </exclusion>
124             </exclusions>
125         </dependency>
126         <dependency>
127             <groupId>org.springframework.restdocs</groupId>
128             <artifactId>spring-restdocs-mockmvc</artifactId>
129             <scope>test</scope>
130         </dependency>
131         <dependency>
132             <groupId>org.springframework.security</groupId>
133             <artifactId>spring-security-test</artifactId>
134             <scope>test</scope>
135         </dependency>
136         <dependency>
137             <groupId>org.springframework</groupId>
138             <artifactId>spring-orm</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>org.springframework</groupId>
142             <artifactId>spring-context</artifactId>
143         </dependency>
144         <dependency>
145             <groupId>org.springframework</groupId>
146             <artifactId>spring-jdbc</artifactId>
147         </dependency>
148         <dependency>
149             <groupId>org.hibernate</groupId>
150             <artifactId>hibernate-core</artifactId>
151             <version>${hibernate.version}</version>
152         </dependency>
153         <dependency>
154             <groupId>javax.persistence</groupId>
155             <artifactId>persistence-api</artifactId>
156             <version>${javax.persistence.version}</version>
157         </dependency>
158
159         <!-- security vulnerabilities -->
160         <dependency>
161             <groupId>ch.qos.logback</groupId>
162             <artifactId>logback-classic</artifactId>
163             <version>1.2.3</version>
164         </dependency>
165         <dependency>
166             <groupId>org.eclipse.jetty</groupId>
167             <artifactId>jetty-http</artifactId>
168             <version>9.4.14.v20181114</version>
169         </dependency>
170         <dependency>
171             <groupId>org.eclipse.jetty</groupId>
172             <artifactId>jetty-server</artifactId>
173             <version>9.4.17.v20190418</version>
174         </dependency>
175         <dependency>
176             <groupId>org.springframework</groupId>
177             <artifactId>spring-expression</artifactId>
178             <version>5.1.5.RELEASE</version>
179         </dependency>
180         <dependency>
181             <groupId>org.springframework.data</groupId>
182             <artifactId>spring-data-commons</artifactId>
183             <version>1.13.18.RELEASE</version>
184         </dependency>
185         <dependency>
186             <groupId>org.springframework</groupId>
187             <artifactId>spring-core</artifactId>
188             <version>4.3.22.RELEASE</version>
189         </dependency>
190         <dependency>
191             <groupId>org.springframework.data</groupId>
192             <artifactId>spring-data-rest-webmvc</artifactId>
193             <version>2.6.9.RELEASE</version>
194         </dependency>
195         <dependency>
196             <groupId>org.springframework</groupId>
197             <artifactId>spring-web</artifactId>
198             <version>4.3.22.RELEASE</version>
199         </dependency>
200         <dependency>
201             <groupId>org.springframework.data</groupId>
202             <artifactId>spring-data-jpa</artifactId>
203             <version>1.11.20.RELEASE</version>
204         </dependency>
205         <dependency>
206             <groupId>org.springframework</groupId>
207             <artifactId>spring-webmvc</artifactId>
208             <version>4.3.18.RELEASE</version>
209         </dependency>
210         <dependency>
211             <groupId>org.hibernate</groupId>
212             <artifactId>hibernate-validator</artifactId>
213             <version>5.3.6.Final</version>
214         </dependency>
215         <dependency>
216             <groupId>org.eclipse.jetty</groupId>
217             <artifactId>jetty-util</artifactId>
218             <version>9.4.17.v20190418</version>
219         </dependency>
220         <dependency>
221             <groupId>com.google.guava</groupId>
222             <artifactId>guava</artifactId>
223             <version>25.0-jre</version>
224         </dependency>
225         <dependency>
226             <groupId>com.squareup.okhttp3</groupId>
227             <artifactId>okhttp</artifactId>
228             <version>3.12.1</version>
229         </dependency>
230
231         <!-- commons-csv -->
232         <dependency>
233             <groupId>org.apache.commons</groupId>
234             <artifactId>commons-csv</artifactId>
235             <version>${common.csv.version}</version>
236         </dependency>
237
238         <!-- jackson-databind -->
239         <dependency>
240             <groupId>com.fasterxml.jackson.core</groupId>
241             <artifactId>jackson-databind</artifactId>
242             <version>${jackson.version}</version>
243         </dependency>
244
245         <!-- jackson-core -->
246         <dependency>
247             <groupId>com.fasterxml.jackson.core</groupId>
248             <artifactId>jackson-core</artifactId>
249             <version>${jackson.version}</version>
250         </dependency>
251
252         <!-- jackson-annotations -->
253         <dependency>
254             <groupId>com.fasterxml.jackson.core</groupId>
255             <artifactId>jackson-annotations</artifactId>
256             <version>${jackson.version}</version>
257         </dependency>
258
259         <dependency>
260             <groupId>com.squareup.retrofit2</groupId>
261             <artifactId>retrofit</artifactId>
262             <version>2.3.0</version>
263         </dependency>
264         <dependency>
265             <groupId>com.squareup.retrofit2</groupId>
266             <artifactId>converter-jackson</artifactId>
267             <version>2.3.0</version>
268         </dependency>
269
270         <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
271         <dependency>
272             <groupId>com.alibaba</groupId>
273             <artifactId>fastjson</artifactId>
274             <version>1.2.29</version>
275         </dependency>
276
277         <dependency>
278             <groupId>com.alibaba</groupId>
279             <artifactId>dubbo</artifactId>
280             <version>2.6.5</version>
281         </dependency>
282         <dependency>
283             <groupId>org.openecomp.sdc.jtosca</groupId>
284             <artifactId>jtosca</artifactId>
285             <version>1.1.1</version>
286         </dependency>
287
288         <dependency>
289             <groupId>com.google.guava</groupId>
290             <artifactId>guava</artifactId>
291             <version>23.0</version>
292         </dependency>
293
294         <dependency>
295             <groupId>org.onap.msb.java-sdk</groupId>
296             <artifactId>msb-java-sdk</artifactId>
297             <version>1.0.0</version>
298         </dependency>
299
300         <dependency>
301             <groupId>org.powermock</groupId>
302             <artifactId>powermock-api-mockito</artifactId>
303             <version>1.6.5</version>
304         </dependency>
305         <dependency>
306             <groupId>org.mockito</groupId>
307             <artifactId>mockito-all</artifactId>
308             <version>1.9.5</version>
309         </dependency>
310         <dependency>
311             <groupId>org.powermock</groupId>
312             <artifactId>powermock-module-junit4</artifactId>
313             <version>1.6.5</version>
314             <type>jar</type>
315             <scope>compile</scope>
316         </dependency>
317         <dependency>
318             <groupId>org.jmockit</groupId>
319             <artifactId>jmockit</artifactId>
320             <version>1.19</version>
321             <scope>test</scope>
322         </dependency>
323         <dependency>
324             <groupId>junit</groupId>
325             <artifactId>junit</artifactId>
326             <version>4.12</version>
327         </dependency>
328         <dependency>
329             <groupId>org.jmockit</groupId>
330             <artifactId>jmockit-coverage</artifactId>
331             <version>1.19</version>
332             <scope>test</scope>
333         </dependency>
334     </dependencies>
335
336     <build>
337         <plugins>
338             <plugin>
339                 <groupId>org.springframework.boot</groupId>
340                 <artifactId>spring-boot-maven-plugin</artifactId>
341                 <configuration>
342                     <executable>true</executable>
343                 </configuration>
344                 <executions>
345                     <execution>
346                         <goals>
347                             <goal>repackage</goal>
348                         </goals>
349                     </execution>
350                 </executions>
351             </plugin>
352             <plugin>
353                 <groupId>org.apache.maven.plugins</groupId>
354                 <artifactId>maven-compiler-plugin</artifactId>
355                 <version>3.3</version>
356                 <configuration>
357                     <source>1.8</source>
358                     <target>1.8</target>
359                 </configuration>
360             </plugin>
361             <plugin>
362                 <groupId>org.apache.maven.plugins</groupId>
363                 <artifactId>maven-antrun-plugin</artifactId>
364                 <version>1.8</version>
365             </plugin>
366             <plugin>
367                 <groupId>org.apache.maven.plugins</groupId>
368                 <artifactId>maven-surefire-plugin</artifactId>
369                 <version>2.19</version>
370                 <configuration>
371                     <testFailureIgnore>true</testFailureIgnore>
372                     <includes>
373                         <include>**/*Spec*</include>
374                         <include>**/Test*.java</include>
375                         <include>**/*Test.java</include>
376                         <include>**/*TestCase.java</include>
377                         <include>**/Test*.scala</include>
378                         <include>**/*Test.scala</include>
379                         <include>**/*TestCase.scala</include>
380                     </includes>
381                 </configuration>
382             </plugin>
383         </plugins>
384     </build>
385
386     <repositories>
387         <repository>
388             <id>spring-milestones</id>
389             <name>Spring Milestones</name>
390             <url>https://repo.spring.io/milestone</url>
391             <snapshots>
392                 <enabled>false</enabled>
393             </snapshots>
394         </repository>
395     </repositories>
396
397     <pluginRepositories>
398         <pluginRepository>
399             <id>spring-milestones</id>
400             <name>Spring Milestones</name>
401             <url>https://repo.spring.io/milestone</url>
402             <snapshots>
403                 <enabled>false</enabled>
404             </snapshots>
405         </pluginRepository>
406     </pluginRepositories>
407 </project>