PACKAGES UPGRADES IN DIRECT DEPENDENCIES FOR KOHN.
[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             <exclusions>
120                 <exclusion>
121                     <artifactId>tomcat-embed-websocket</artifactId>
122                     <groupId>org.apache.tomcat.embed</groupId>
123                 </exclusion>
124             </exclusions>
125         </dependency>
126         <!-- postgresql  dependency-->
127         <dependency>
128             <groupId>org.postgresql</groupId>
129             <artifactId>postgresql</artifactId>
130                 <version>42.3.6</version>
131         </dependency>
132
133         <dependency>
134             <groupId>org.projectlombok</groupId>
135             <artifactId>lombok</artifactId>
136             <version>1.18.2</version>
137             <optional>true</optional>
138         </dependency>
139         <dependency>
140             <groupId>org.springframework.boot</groupId>
141             <artifactId>spring-boot-starter-test</artifactId>
142             <scope>test</scope>
143             <exclusions>
144                 <exclusion>
145                     <groupId>org.mockito</groupId>
146                     <artifactId>mockito-core</artifactId>
147                 </exclusion>
148             </exclusions>
149         </dependency>
150         <dependency>
151             <groupId>org.springframework.restdocs</groupId>
152             <artifactId>spring-restdocs-mockmvc</artifactId>
153             <scope>test</scope>
154         </dependency>
155         <dependency>
156             <groupId>org.springframework.security</groupId>
157             <artifactId>spring-security-test</artifactId>
158             <scope>test</scope>
159         </dependency>
160         <dependency>
161             <groupId>org.springframework</groupId>
162             <artifactId>spring-orm</artifactId>
163         </dependency>
164         <dependency>
165             <groupId>org.springframework</groupId>
166             <artifactId>spring-context</artifactId>
167             <version>5.3.20</version>
168         </dependency>
169         <dependency>
170             <groupId>org.springframework</groupId>
171             <artifactId>spring-jdbc</artifactId>
172         </dependency>
173         <dependency>
174             <groupId>org.hibernate</groupId>
175             <artifactId>hibernate-core</artifactId>
176             <version>${hibernate.version}</version>
177         </dependency>
178         <dependency>
179             <groupId>javax.persistence</groupId>
180             <artifactId>persistence-api</artifactId>
181             <version>${javax.persistence.version}</version>
182         </dependency>
183
184         <!-- security vulnerabilities -->
185         <dependency>
186             <groupId>org.apache.tomcat.embed</groupId>
187             <artifactId>tomcat-embed-websocket</artifactId>
188             <version>8.5.58</version>
189             <exclusions>
190                 <exclusion>
191                     <artifactId>tomcat-annotations-api</artifactId>
192                     <groupId>org.apache.tomcat</groupId>
193                 </exclusion>
194             </exclusions>
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>11.0.7</version>
205         </dependency>
206         <dependency>
207             <groupId>org.eclipse.jetty</groupId>
208             <artifactId>jetty-server</artifactId>
209             <version>11.0.7</version>
210         </dependency>
211         <dependency>
212             <groupId>org.springframework</groupId>
213             <artifactId>spring-expression</artifactId>
214         </dependency>
215         <dependency>
216             <groupId>org.springframework.data</groupId>
217             <artifactId>spring-data-commons</artifactId>
218             <version>2.3.4.RELEASE</version>
219         </dependency>
220         <dependency>
221             <groupId>org.springframework</groupId>
222             <artifactId>spring-core</artifactId>
223         </dependency>
224         <dependency>
225             <groupId>org.springframework.data</groupId>
226             <artifactId>spring-data-rest-webmvc</artifactId>
227             <version>3.7.0</version>
228         </dependency>
229         <dependency>
230             <artifactId>spring-data-rest-core</artifactId>
231             <groupId>org.springframework.data</groupId>
232             <version>3.7.0</version>
233         </dependency>
234         <dependency>
235             <groupId>org.springframework</groupId>
236             <artifactId>spring-web</artifactId>
237             <version>5.3.20</version>
238         </dependency>
239         <dependency>
240             <groupId>org.springframework.data</groupId>
241             <artifactId>spring-data-jpa</artifactId>
242             <version>2.3.4.RELEASE</version>
243         </dependency>
244         <dependency>
245             <groupId>org.springframework</groupId>
246             <artifactId>spring-webmvc</artifactId>
247             <version>5.3.20</version>
248         </dependency>
249         <dependency>
250             <groupId>org.hibernate</groupId>
251             <artifactId>hibernate-validator</artifactId>
252             <version>6.1.6.Final</version>
253         </dependency>
254         <dependency>
255             <groupId>org.eclipse.jetty</groupId>
256             <artifactId>jetty-util</artifactId>
257             <version>9.4.17.v20190418</version>
258         </dependency>
259         <dependency>
260             <groupId>com.squareup.okio</groupId>
261             <artifactId>okio</artifactId>
262             <version>3.2.0</version>
263         </dependency>
264         <dependency>
265             <groupId>com.google.guava</groupId>
266             <artifactId>guava</artifactId>
267             <version>25.0-jre</version>
268         </dependency>
269         <dependency>
270             <groupId>org.jetbrains.kotlin</groupId>
271             <artifactId>kotlin-stdlib</artifactId>
272             <version>1.7.10</version>
273         </dependency>
274         <dependency>
275             <groupId>com.squareup.okhttp3</groupId>
276             <artifactId>okhttp</artifactId>
277             <version>4.9.3</version>
278             <exclusions>
279                 <exclusion>
280                     <artifactId>kotlin-stdlib</artifactId>
281                     <groupId>org.jetbrains.kotlin</groupId>
282                 </exclusion>
283             </exclusions>
284         </dependency>
285         <dependency>
286             <groupId>commons-beanutils</groupId>
287             <artifactId>commons-beanutils</artifactId>
288             <version>1.9.4</version>
289         </dependency>
290         <!-- commons-csv -->
291         <dependency>
292             <groupId>org.apache.commons</groupId>
293             <artifactId>commons-csv</artifactId>
294             <version>${common.csv.version}</version>
295         </dependency>
296
297         <!-- jackson-databind -->
298         <dependency>
299             <groupId>com.fasterxml.jackson.core</groupId>
300             <artifactId>jackson-databind</artifactId>
301             <version>2.13.3</version>
302         </dependency>
303
304         <!-- jackson-core -->
305         <dependency>
306             <groupId>com.fasterxml.jackson.core</groupId>
307             <artifactId>jackson-core</artifactId>
308             <version>2.13.3</version>
309         </dependency>
310
311         <!-- jackson-annotations -->
312         <dependency>
313             <groupId>com.fasterxml.jackson.core</groupId>
314             <artifactId>jackson-annotations</artifactId>
315             <version>2.13.3</version>
316         </dependency>
317
318         <dependency>
319             <groupId>com.squareup.retrofit2</groupId>
320             <artifactId>retrofit</artifactId>
321             <version>2.7.2</version>
322             <exclusions>
323                 <exclusion>
324                     <artifactId>okhttp</artifactId>
325                     <groupId>com.squareup.okhttp3</groupId>
326                 </exclusion>
327             </exclusions>
328         </dependency>
329         <dependency>
330             <groupId>com.squareup.retrofit2</groupId>
331             <artifactId>converter-jackson</artifactId>
332             <version>2.3.0</version>
333         </dependency>
334         <dependency>
335             <groupId>org.apache.httpcomponents</groupId>
336             <artifactId>httpclient</artifactId>
337             <version>4.5.13</version>
338         </dependency>
339         <dependency>
340             <groupId>com.google.code.gson</groupId>
341             <artifactId>gson</artifactId>
342             <version>2.8.9</version>
343         </dependency>
344         <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
345         <dependency>
346             <groupId>com.alibaba</groupId>
347             <artifactId>fastjson</artifactId>
348             <version>2.0.6</version>
349         </dependency>
350
351         <dependency>
352             <groupId>org.openecomp.sdc.jtosca</groupId>
353             <artifactId>jtosca</artifactId>
354             <version>1.1.1</version>
355         </dependency>
356
357         <dependency>
358             <groupId>org.onap.msb.java-sdk</groupId>
359             <artifactId>msb-java-sdk</artifactId>
360             <version>1.0.0</version>
361         </dependency>
362
363         <dependency>
364             <groupId>org.powermock</groupId>
365             <artifactId>powermock-api-mockito2</artifactId>
366             <version>2.0.7</version>
367         </dependency>
368         <dependency>
369             <groupId>org.mockito</groupId>
370             <artifactId>mockito-all</artifactId>
371             <version>1.9.5</version>
372         </dependency>
373         <dependency>
374             <groupId>org.powermock</groupId>
375             <artifactId>powermock-module-junit4</artifactId>
376             <version>2.0.2</version>
377             <type>jar</type>
378             <scope>compile</scope>
379         </dependency>
380         <dependency>
381             <groupId>org.jmockit</groupId>
382             <artifactId>jmockit</artifactId>
383             <version>1.19</version>
384             <scope>test</scope>
385         </dependency>
386         <dependency>
387             <groupId>junit</groupId>
388             <artifactId>junit</artifactId>
389             <version>4.13.2</version>
390         </dependency>
391         <dependency>
392             <groupId>org.jmockit</groupId>
393             <artifactId>jmockit-coverage</artifactId>
394             <version>1.19</version>
395             <scope>test</scope>
396         </dependency>
397         <dependency>
398             <groupId>com.googlecode.json-simple</groupId>
399             <artifactId>json-simple</artifactId>
400             <version>1.1.1</version>
401         </dependency>
402         <dependency>
403             <groupId>javax.xml.bind</groupId>
404             <artifactId>jaxb-api</artifactId>
405             <version>2.3.0</version>
406         </dependency>
407         <dependency>
408             <groupId>com.sun.xml.bind</groupId>
409             <artifactId>jaxb-impl</artifactId>
410             <version>2.3.0</version>
411         </dependency>
412         <dependency>
413             <groupId>com.sun.xml.bind</groupId>
414             <artifactId>jaxb-core</artifactId>
415             <version>2.3.0</version>
416         </dependency>
417         <dependency>
418             <groupId>com.sun.activation</groupId>
419             <artifactId>javax.activation</artifactId>
420             <version>1.2.0</version>
421         </dependency>
422         <dependency>
423             <groupId>commons-io</groupId>
424             <artifactId>commons-io</artifactId>
425             <version>2.8.0</version>
426         </dependency>
427
428         <dependency>
429             <groupId>org.apache.ant</groupId>
430             <artifactId>ant</artifactId>
431             <version>1.10.12</version>
432             <exclusions>
433                 <exclusion>
434                     <groupId>com.sun</groupId>
435                     <artifactId>tools</artifactId>
436                 </exclusion>
437             </exclusions>
438         </dependency>
439
440     </dependencies>
441
442     <build>
443         <plugins>
444             <plugin>
445                 <groupId>org.codehaus.mojo</groupId>
446                 <artifactId>versions-maven-plugin</artifactId>
447                 <version>1.3.1</version>
448             </plugin>
449             <plugin>
450                 <groupId>org.springframework.boot</groupId>
451                 <artifactId>spring-boot-maven-plugin</artifactId>
452                 <version>1.5.3.RELEASE</version>
453                 <configuration>
454                     <executable>true</executable>
455                 </configuration>
456                 <executions>
457                     <execution>
458                         <goals>
459                             <goal>repackage</goal>
460                         </goals>
461                     </execution>
462                 </executions>
463             </plugin>
464             <plugin>
465                 <groupId>org.apache.maven.plugins</groupId>
466                 <artifactId>maven-compiler-plugin</artifactId>
467                 <version>3.3</version>
468                 <configuration>
469                     <source>1.8</source>
470                     <target>1.8</target>
471                 </configuration>
472             </plugin>
473             <plugin>
474                 <groupId>org.apache.maven.plugins</groupId>
475                 <artifactId>maven-antrun-plugin</artifactId>
476                 <version>1.8</version>
477             </plugin>
478             <plugin>
479                 <groupId>org.apache.maven.plugins</groupId>
480                 <artifactId>maven-deploy-plugin</artifactId>
481                 <version>2.8</version>
482             </plugin>
483             <plugin>
484                 <groupId>org.apache.maven.plugins</groupId>
485                 <artifactId>maven-surefire-plugin</artifactId>
486                 <version>2.19</version>
487                 <configuration>
488                     <testFailureIgnore>true</testFailureIgnore>
489                     <includes>
490                         <include>**/*Spec*</include>
491                         <include>**/Test*.java</include>
492                         <include>**/*Test.java</include>
493                         <include>**/*TestCase.java</include>
494                         <include>**/Test*.scala</include>
495                         <include>**/*Test.scala</include>
496                         <include>**/*TestCase.scala</include>
497                     </includes>
498                 </configuration>
499             </plugin>
500             <plugin>
501                 <groupId>org.jacoco</groupId>
502                 <artifactId>jacoco-maven-plugin</artifactId>
503                 <version>0.8.5</version>
504                 <executions>
505                     <execution>
506                         <id>prepare-agent</id>
507                         <goals>
508                             <goal>prepare-agent</goal>
509                         </goals>
510                     </execution>
511                     <execution>
512                         <id>report</id>
513                         <goals>
514                             <goal>report</goal>
515                         </goals>
516                         <configuration>
517                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
518                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
519                         </configuration>
520                     </execution>
521                 </executions>
522             </plugin>
523         </plugins>
524     </build>
525
526     <repositories>
527         <repository>
528             <id>spring-milestones</id>
529             <name>Spring Milestones</name>
530             <url>https://repo.spring.io/milestone</url>
531             <snapshots>
532                 <enabled>false</enabled>
533             </snapshots>
534         </repository>
535     </repositories>
536
537     <pluginRepositories>
538         <pluginRepository>
539             <id>spring-milestones</id>
540             <name>Spring Milestones</name>
541             <url>https://repo.spring.io/milestone</url>
542             <snapshots>
543                 <enabled>false</enabled>
544             </snapshots>
545         </pluginRepository>
546     </pluginRepositories>
547 </project>