Update springframework version to 5.3.13.
[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>3.0.1-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>11</java.version>
34         <hibernate.version>5.4.31.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.11.0</jackson.version>
38         <tomcat.version>9.0.16</tomcat.version>
39         <sonar.language>java</sonar.language>
40         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
41         <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
42         <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
43         <sonar.projectVersion>${project.version}</sonar.projectVersion>
44         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
45     </properties>
46
47     <dependencyManagement>
48         <dependencies>
49             <dependency>
50                 <groupId>org.springframework</groupId>
51                 <artifactId>spring-framework-bom</artifactId>
52                 <version>5.3.13</version>
53                 <type>pom</type>
54                 <scope>import</scope>
55             </dependency>
56             <dependency>
57                 <!-- Import dependency management from Spring Boot -->
58                 <groupId>org.springframework.boot</groupId>
59                 <artifactId>spring-boot-starter-parent</artifactId>
60                 <version>2.3.4.RELEASE</version>
61                 <type>pom</type>
62                 <scope>import</scope>
63             </dependency>
64         </dependencies>
65     </dependencyManagement>
66
67     <dependencies>
68         <dependency>
69             <groupId>org.springframework.boot</groupId>
70             <artifactId>spring-boot-starter-actuator</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>org.springframework.boot</groupId>
74             <artifactId>spring-boot-starter-data-jpa</artifactId>
75             <exclusions>
76                 <exclusion>
77                     <groupId>org.apache.tomcat</groupId>
78                     <artifactId>tomcat-jdbc</artifactId>
79                 </exclusion>
80             </exclusions>
81         </dependency>
82         <dependency>
83             <groupId>org.springframework.boot</groupId>
84             <artifactId>spring-boot-starter-data-redis</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>org.springframework.boot</groupId>
88             <artifactId>spring-boot-starter-data-rest</artifactId>
89         </dependency>
90         <dependency>
91             <groupId>org.elasticsearch.client</groupId>
92             <artifactId>elasticsearch-rest-high-level-client</artifactId>
93             <version>7.12.1</version>
94             <exclusions>
95                 <exclusion>
96                     <groupId>org.elasticsearch</groupId>
97                     <artifactId>elasticsearch</artifactId>
98                 </exclusion>
99             </exclusions>
100         </dependency>
101         <dependency>
102             <groupId>org.elasticsearch</groupId>
103             <artifactId>elasticsearch</artifactId>
104             <version>7.12.1</version>
105         </dependency>
106         <dependency>
107             <groupId>org.elasticsearch.client</groupId>
108             <artifactId>elasticsearch-rest-client</artifactId>
109             <version>7.12.1</version>
110         </dependency>
111         <dependency>
112             <groupId>org.springframework.data</groupId>
113             <artifactId>spring-data-rest-hal-browser</artifactId>
114             <version>3.3.9.RELEASE</version>
115         </dependency>
116         <dependency>
117             <groupId>org.springframework.boot</groupId>
118             <artifactId>spring-boot-starter-jersey</artifactId>
119         </dependency>
120         <!-- postgresql  dependency-->
121         <dependency>
122             <groupId>org.postgresql</groupId>
123             <artifactId>postgresql</artifactId>
124             <version>42.3.1</version>
125         </dependency>
126
127         <dependency>
128             <groupId>org.projectlombok</groupId>
129             <artifactId>lombok</artifactId>
130             <version>1.18.2</version>
131             <optional>true</optional>
132         </dependency>
133         <dependency>
134             <groupId>org.springframework.boot</groupId>
135             <artifactId>spring-boot-starter-test</artifactId>
136             <scope>test</scope>
137             <exclusions>
138                 <exclusion>
139                     <groupId>org.mockito</groupId>
140                     <artifactId>mockito-core</artifactId>
141                 </exclusion>
142             </exclusions>
143         </dependency>
144         <dependency>
145             <groupId>org.springframework.restdocs</groupId>
146             <artifactId>spring-restdocs-mockmvc</artifactId>
147             <scope>test</scope>
148         </dependency>
149         <dependency>
150             <groupId>org.springframework.security</groupId>
151             <artifactId>spring-security-test</artifactId>
152             <scope>test</scope>
153         </dependency>
154         <dependency>
155             <groupId>org.springframework</groupId>
156             <artifactId>spring-orm</artifactId>
157         </dependency>
158         <dependency>
159             <groupId>org.springframework</groupId>
160             <artifactId>spring-context</artifactId>
161         </dependency>
162         <dependency>
163             <groupId>org.springframework</groupId>
164             <artifactId>spring-jdbc</artifactId>
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
177         <!-- security vulnerabilities -->
178         <dependency>
179             <groupId>org.apache.tomcat.embed</groupId>
180             <artifactId>tomcat-embed-websocket</artifactId>
181             <version>8.5.58</version>
182         </dependency>
183         <dependency>
184             <groupId>ch.qos.logback</groupId>
185             <artifactId>logback-classic</artifactId>
186             <version>1.2.3</version>
187         </dependency>
188         <dependency>
189             <groupId>org.eclipse.jetty</groupId>
190             <artifactId>jetty-http</artifactId>
191             <version>11.0.7</version>
192         </dependency>
193         <dependency>
194             <groupId>org.eclipse.jetty</groupId>
195             <artifactId>jetty-server</artifactId>
196             <version>11.0.7</version>
197         </dependency>
198         <dependency>
199             <groupId>org.springframework</groupId>
200             <artifactId>spring-expression</artifactId>
201         </dependency>
202         <dependency>
203             <groupId>org.springframework.data</groupId>
204             <artifactId>spring-data-commons</artifactId>
205             <version>2.3.4.RELEASE</version>
206         </dependency>
207         <dependency>
208             <groupId>org.springframework</groupId>
209             <artifactId>spring-core</artifactId>
210         </dependency>
211         <dependency>
212             <groupId>org.springframework.data</groupId>
213             <artifactId>spring-data-rest-webmvc</artifactId>
214             <version>3.3.4.RELEASE</version>
215         </dependency>
216         <dependency>
217             <groupId>org.springframework</groupId>
218             <artifactId>spring-web</artifactId>
219         </dependency>
220         <dependency>
221             <groupId>org.springframework.data</groupId>
222             <artifactId>spring-data-jpa</artifactId>
223             <version>2.3.4.RELEASE</version>
224         </dependency>
225         <dependency>
226             <groupId>org.springframework</groupId>
227             <artifactId>spring-webmvc</artifactId>
228         </dependency>
229         <dependency>
230             <groupId>org.hibernate</groupId>
231             <artifactId>hibernate-validator</artifactId>
232             <version>6.1.6.Final</version>
233         </dependency>
234         <dependency>
235             <groupId>org.eclipse.jetty</groupId>
236             <artifactId>jetty-util</artifactId>
237             <version>9.4.17.v20190418</version>
238         </dependency>
239         <dependency>
240             <groupId>com.google.guava</groupId>
241             <artifactId>guava</artifactId>
242             <version>25.0-jre</version>
243         </dependency>
244         <dependency>
245             <groupId>com.squareup.okhttp3</groupId>
246             <artifactId>okhttp</artifactId>
247             <version>3.12.1</version>
248         </dependency>
249         <dependency>
250             <groupId>commons-beanutils</groupId>
251             <artifactId>commons-beanutils</artifactId>
252             <version>1.9.4</version>
253         </dependency>
254         <!-- commons-csv -->
255         <dependency>
256             <groupId>org.apache.commons</groupId>
257             <artifactId>commons-csv</artifactId>
258             <version>${common.csv.version}</version>
259         </dependency>
260
261         <!-- jackson-databind -->
262         <dependency>
263             <groupId>com.fasterxml.jackson.core</groupId>
264             <artifactId>jackson-databind</artifactId>
265             <version>${jackson.version}</version>
266         </dependency>
267
268         <!-- jackson-core -->
269         <dependency>
270             <groupId>com.fasterxml.jackson.core</groupId>
271             <artifactId>jackson-core</artifactId>
272             <version>${jackson.version}</version>
273         </dependency>
274
275         <!-- jackson-annotations -->
276         <dependency>
277             <groupId>com.fasterxml.jackson.core</groupId>
278             <artifactId>jackson-annotations</artifactId>
279             <version>${jackson.version}</version>
280         </dependency>
281
282         <dependency>
283             <groupId>com.squareup.retrofit2</groupId>
284             <artifactId>retrofit</artifactId>
285             <version>2.7.2</version>
286         </dependency>
287         <dependency>
288             <groupId>com.squareup.retrofit2</groupId>
289             <artifactId>converter-jackson</artifactId>
290             <version>2.3.0</version>
291         </dependency>
292         <dependency>
293             <groupId>org.apache.httpcomponents</groupId>
294             <artifactId>httpclient</artifactId>
295             <version>4.5.13</version>
296         </dependency>
297         <dependency>
298             <groupId>com.google.code.gson</groupId>
299             <artifactId>gson</artifactId>
300             <version>2.8.9</version>
301         </dependency>
302         <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
303         <dependency>
304             <groupId>com.alibaba</groupId>
305             <artifactId>fastjson</artifactId>
306             <version>1.2.74</version>
307         </dependency>
308
309         <dependency>
310             <groupId>org.openecomp.sdc.jtosca</groupId>
311             <artifactId>jtosca</artifactId>
312             <version>1.1.1</version>
313         </dependency>
314
315         <dependency>
316             <groupId>org.onap.msb.java-sdk</groupId>
317             <artifactId>msb-java-sdk</artifactId>
318             <version>1.0.0</version>
319         </dependency>
320
321         <dependency>
322             <groupId>org.powermock</groupId>
323             <artifactId>powermock-api-mockito2</artifactId>
324             <version>2.0.7</version>
325         </dependency>
326         <dependency>
327             <groupId>org.mockito</groupId>
328             <artifactId>mockito-all</artifactId>
329             <version>1.9.5</version>
330         </dependency>
331         <dependency>
332             <groupId>org.powermock</groupId>
333             <artifactId>powermock-module-junit4</artifactId>
334             <version>2.0.2</version>
335             <type>jar</type>
336             <scope>compile</scope>
337         </dependency>
338         <dependency>
339             <groupId>org.jmockit</groupId>
340             <artifactId>jmockit</artifactId>
341             <version>1.19</version>
342             <scope>test</scope>
343         </dependency>
344         <dependency>
345             <groupId>junit</groupId>
346             <artifactId>junit</artifactId>
347             <version>4.13.2</version>
348         </dependency>
349         <dependency>
350             <groupId>org.jmockit</groupId>
351             <artifactId>jmockit-coverage</artifactId>
352             <version>1.19</version>
353             <scope>test</scope>
354         </dependency>
355         <dependency>
356             <groupId>com.googlecode.json-simple</groupId>
357             <artifactId>json-simple</artifactId>
358             <version>1.1.1</version>
359         </dependency>
360         <dependency>
361             <groupId>javax.xml.bind</groupId>
362             <artifactId>jaxb-api</artifactId>
363             <version>2.3.0</version>
364         </dependency>
365         <dependency>
366             <groupId>com.sun.xml.bind</groupId>
367             <artifactId>jaxb-impl</artifactId>
368             <version>2.3.0</version>
369         </dependency>
370         <dependency>
371             <groupId>com.sun.xml.bind</groupId>
372             <artifactId>jaxb-core</artifactId>
373             <version>2.3.0</version>
374         </dependency>
375         <dependency>
376             <groupId>com.sun.activation</groupId>
377             <artifactId>javax.activation</artifactId>
378             <version>1.2.0</version>
379         </dependency>
380         <dependency>
381             <groupId>commons-io</groupId>
382             <artifactId>commons-io</artifactId>
383             <version>2.8.0</version>
384         </dependency>
385
386         <dependency>
387             <groupId>org.apache.ant</groupId>
388             <artifactId>ant</artifactId>
389             <version>1.10.12</version>
390             <exclusions>
391                 <exclusion>
392                     <groupId>com.sun</groupId>
393                     <artifactId>tools</artifactId>
394                 </exclusion>
395             </exclusions>
396         </dependency>
397
398     </dependencies>
399
400     <build>
401         <plugins>
402             <plugin>
403                 <groupId>org.codehaus.mojo</groupId>
404                 <artifactId>versions-maven-plugin</artifactId>
405                 <version>1.3.1</version>
406             </plugin>
407             <plugin>
408                 <groupId>org.springframework.boot</groupId>
409                 <artifactId>spring-boot-maven-plugin</artifactId>
410                 <version>1.5.3.RELEASE</version>
411                 <configuration>
412                     <executable>true</executable>
413                 </configuration>
414                 <executions>
415                     <execution>
416                         <goals>
417                             <goal>repackage</goal>
418                         </goals>
419                     </execution>
420                 </executions>
421             </plugin>
422             <plugin>
423                 <groupId>org.apache.maven.plugins</groupId>
424                 <artifactId>maven-compiler-plugin</artifactId>
425                 <version>3.3</version>
426                 <configuration>
427                     <source>1.8</source>
428                     <target>1.8</target>
429                 </configuration>
430             </plugin>
431             <plugin>
432                 <groupId>org.apache.maven.plugins</groupId>
433                 <artifactId>maven-antrun-plugin</artifactId>
434                 <version>1.8</version>
435             </plugin>
436             <plugin>
437                 <groupId>org.apache.maven.plugins</groupId>
438                 <artifactId>maven-deploy-plugin</artifactId>
439                 <version>2.8</version>
440             </plugin>
441             <plugin>
442                 <groupId>org.apache.maven.plugins</groupId>
443                 <artifactId>maven-surefire-plugin</artifactId>
444                 <version>2.19</version>
445                 <configuration>
446                     <testFailureIgnore>true</testFailureIgnore>
447                     <includes>
448                         <include>**/*Spec*</include>
449                         <include>**/Test*.java</include>
450                         <include>**/*Test.java</include>
451                         <include>**/*TestCase.java</include>
452                         <include>**/Test*.scala</include>
453                         <include>**/*Test.scala</include>
454                         <include>**/*TestCase.scala</include>
455                     </includes>
456                 </configuration>
457             </plugin>
458             <plugin>
459                 <groupId>org.jacoco</groupId>
460                 <artifactId>jacoco-maven-plugin</artifactId>
461                 <executions>
462                     <execution>
463                         <id>prepare-agent</id>
464                         <goals>
465                             <goal>prepare-agent</goal>
466                         </goals>
467                     </execution>
468                     <execution>
469                         <id>report</id>
470                         <goals>
471                             <goal>report</goal>
472                         </goals>
473                         <configuration>
474                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
475                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
476                         </configuration>
477                     </execution>
478                 </executions>
479             </plugin>
480         </plugins>
481     </build>
482
483     <repositories>
484         <repository>
485             <id>spring-milestones</id>
486             <name>Spring Milestones</name>
487             <url>https://repo.spring.io/milestone</url>
488             <snapshots>
489                 <enabled>false</enabled>
490             </snapshots>
491         </repository>
492     </repositories>
493
494     <pluginRepositories>
495         <pluginRepository>
496             <id>spring-milestones</id>
497             <name>Spring Milestones</name>
498             <url>https://repo.spring.io/milestone</url>
499             <snapshots>
500                 <enabled>false</enabled>
501             </snapshots>
502         </pluginRepository>
503     </pluginRepositories>
504 </project>