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