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
232         <!-- commons-csv -->
233         <dependency>
234             <groupId>org.apache.commons</groupId>
235             <artifactId>commons-csv</artifactId>
236             <version>${common.csv.version}</version>
237         </dependency>
238
239         <!-- jackson-databind -->
240         <dependency>
241             <groupId>com.fasterxml.jackson.core</groupId>
242             <artifactId>jackson-databind</artifactId>
243             <version>${jackson.version}</version>
244         </dependency>
245
246         <!-- jackson-core -->
247         <dependency>
248             <groupId>com.fasterxml.jackson.core</groupId>
249             <artifactId>jackson-core</artifactId>
250             <version>${jackson.version}</version>
251         </dependency>
252
253         <!-- jackson-annotations -->
254         <dependency>
255             <groupId>com.fasterxml.jackson.core</groupId>
256             <artifactId>jackson-annotations</artifactId>
257             <version>${jackson.version}</version>
258         </dependency>
259
260         <dependency>
261             <groupId>com.squareup.retrofit2</groupId>
262             <artifactId>retrofit</artifactId>
263             <version>2.3.0</version>
264         </dependency>
265         <dependency>
266             <groupId>com.squareup.retrofit2</groupId>
267             <artifactId>converter-jackson</artifactId>
268             <version>2.3.0</version>
269         </dependency>
270
271         <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
272         <dependency>
273             <groupId>com.alibaba</groupId>
274             <artifactId>fastjson</artifactId>
275             <version>1.2.29</version>
276         </dependency>
277
278         <dependency>
279             <groupId>com.alibaba</groupId>
280             <artifactId>dubbo</artifactId>
281             <version>2.6.5</version>
282         </dependency>
283         <dependency>
284             <groupId>org.openecomp.sdc.jtosca</groupId>
285             <artifactId>jtosca</artifactId>
286             <version>1.1.1</version>
287         </dependency>
288
289         <dependency>
290             <groupId>com.google.guava</groupId>
291             <artifactId>guava</artifactId>
292             <version>23.0</version>
293         </dependency>
294
295         <dependency>
296             <groupId>org.onap.msb.java-sdk</groupId>
297             <artifactId>msb-java-sdk</artifactId>
298             <version>1.0.0</version>
299         </dependency>
300
301         <dependency>
302             <groupId>org.powermock</groupId>
303             <artifactId>powermock-api-mockito</artifactId>
304             <version>1.6.5</version>
305         </dependency>
306         <dependency>
307             <groupId>org.mockito</groupId>
308             <artifactId>mockito-all</artifactId>
309             <version>1.9.5</version>
310         </dependency>
311         <dependency>
312             <groupId>org.powermock</groupId>
313             <artifactId>powermock-module-junit4</artifactId>
314             <version>1.6.5</version>
315             <type>jar</type>
316             <scope>compile</scope>
317         </dependency>
318         <dependency>
319             <groupId>org.jmockit</groupId>
320             <artifactId>jmockit</artifactId>
321             <version>1.19</version>
322             <scope>test</scope>
323         </dependency>
324         <dependency>
325             <groupId>junit</groupId>
326             <artifactId>junit</artifactId>
327             <version>4.12</version>
328         </dependency>
329         <dependency>
330             <groupId>org.jmockit</groupId>
331             <artifactId>jmockit-coverage</artifactId>
332             <version>1.19</version>
333             <scope>test</scope>
334         </dependency>
335     </dependencies>
336
337     <build>
338         <plugins>
339             <plugin>
340                 <groupId>org.springframework.boot</groupId>
341                 <artifactId>spring-boot-maven-plugin</artifactId>
342                 <configuration>
343                     <executable>true</executable>
344                 </configuration>
345                 <executions>
346                     <execution>
347                         <goals>
348                             <goal>repackage</goal>
349                         </goals>
350                     </execution>
351                 </executions>
352             </plugin>
353             <plugin>
354                 <groupId>org.apache.maven.plugins</groupId>
355                 <artifactId>maven-compiler-plugin</artifactId>
356                 <version>3.3</version>
357                 <configuration>
358                     <source>1.8</source>
359                     <target>1.8</target>
360                 </configuration>
361             </plugin>
362             <plugin>
363                 <groupId>org.apache.maven.plugins</groupId>
364                 <artifactId>maven-antrun-plugin</artifactId>
365                 <version>1.8</version>
366             </plugin>
367             <plugin>
368                 <groupId>org.apache.maven.plugins</groupId>
369                 <artifactId>maven-surefire-plugin</artifactId>
370                 <version>2.19</version>
371                 <configuration>
372                     <testFailureIgnore>true</testFailureIgnore>
373                     <includes>
374                         <include>**/*Spec*</include>
375                         <include>**/Test*.java</include>
376                         <include>**/*Test.java</include>
377                         <include>**/*TestCase.java</include>
378                         <include>**/Test*.scala</include>
379                         <include>**/*Test.scala</include>
380                         <include>**/*TestCase.scala</include>
381                     </includes>
382                 </configuration>
383             </plugin>
384         </plugins>
385     </build>
386
387     <repositories>
388         <repository>
389             <id>spring-milestones</id>
390             <name>Spring Milestones</name>
391             <url>https://repo.spring.io/milestone</url>
392             <snapshots>
393                 <enabled>false</enabled>
394             </snapshots>
395         </repository>
396     </repositories>
397
398     <pluginRepositories>
399         <pluginRepository>
400             <id>spring-milestones</id>
401             <name>Spring Milestones</name>
402             <url>https://repo.spring.io/milestone</url>
403             <snapshots>
404                 <enabled>false</enabled>
405             </snapshots>
406         </pluginRepository>
407     </pluginRepositories>
408 </project>