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