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