Java11 and lombok version issue
[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>1.8</java.version>
34         <hibernate.version>5.0.11.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.9.8</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>1.5.6.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>6.6.1</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>6.6.1</version>
98         </dependency>
99         <dependency>
100             <groupId>org.springframework.data</groupId>
101             <artifactId>spring-data-rest-hal-browser</artifactId>
102             <version>2.6.21.RELEASE</version>
103         </dependency>
104         <dependency>
105             <groupId>org.springframework.boot</groupId>
106             <artifactId>spring-boot-starter-jersey</artifactId>
107         </dependency>
108         <!-- postgresql  dependency-->
109         <dependency>
110             <groupId>postgresql</groupId>
111             <artifactId>postgresql</artifactId>
112             <version>9.1-901-1.jdbc4</version>
113         </dependency>
114
115         <dependency>
116             <groupId>org.projectlombok</groupId>
117             <artifactId>lombok</artifactId>
118             <version>1.18.2</version>
119             <optional>true</optional>
120         </dependency>
121         <dependency>
122             <groupId>org.springframework.boot</groupId>
123             <artifactId>spring-boot-starter-test</artifactId>
124             <scope>test</scope>
125             <exclusions>
126                 <exclusion>
127                     <groupId>org.mockito</groupId>
128                     <artifactId>mockito-core</artifactId>
129                 </exclusion>
130             </exclusions>
131         </dependency>
132         <dependency>
133             <groupId>org.springframework.restdocs</groupId>
134             <artifactId>spring-restdocs-mockmvc</artifactId>
135             <scope>test</scope>
136         </dependency>
137         <dependency>
138             <groupId>org.springframework.security</groupId>
139             <artifactId>spring-security-test</artifactId>
140             <scope>test</scope>
141         </dependency>
142         <dependency>
143             <groupId>org.springframework</groupId>
144             <artifactId>spring-orm</artifactId>
145         </dependency>
146         <dependency>
147             <groupId>org.springframework</groupId>
148             <artifactId>spring-context</artifactId>
149         </dependency>
150         <dependency>
151             <groupId>org.springframework</groupId>
152             <artifactId>spring-jdbc</artifactId>
153         </dependency>
154         <dependency>
155             <groupId>org.hibernate</groupId>
156             <artifactId>hibernate-core</artifactId>
157             <version>${hibernate.version}</version>
158         </dependency>
159         <dependency>
160             <groupId>javax.persistence</groupId>
161             <artifactId>persistence-api</artifactId>
162             <version>${javax.persistence.version}</version>
163         </dependency>
164
165         <!-- security vulnerabilities -->
166         <dependency>
167             <groupId>org.apache.tomcat.embed</groupId>
168             <artifactId>tomcat-embed-websocket</artifactId>
169             <version>8.5.32</version>
170         </dependency>
171         <dependency>
172             <groupId>ch.qos.logback</groupId>
173             <artifactId>logback-classic</artifactId>
174             <version>1.2.3</version>
175         </dependency>
176         <dependency>
177             <groupId>org.eclipse.jetty</groupId>
178             <artifactId>jetty-http</artifactId>
179             <version>9.4.14.v20181114</version>
180         </dependency>
181         <dependency>
182             <groupId>org.eclipse.jetty</groupId>
183             <artifactId>jetty-server</artifactId>
184             <version>9.4.17.v20190418</version>
185         </dependency>
186         <dependency>
187             <groupId>org.springframework</groupId>
188             <artifactId>spring-expression</artifactId>
189             <version>5.1.5.RELEASE</version>
190         </dependency>
191         <dependency>
192             <groupId>org.springframework.data</groupId>
193             <artifactId>spring-data-commons</artifactId>
194             <version>1.13.18.RELEASE</version>
195         </dependency>
196         <dependency>
197             <groupId>org.springframework</groupId>
198             <artifactId>spring-core</artifactId>
199             <version>4.3.22.RELEASE</version>
200         </dependency>
201         <dependency>
202             <groupId>org.springframework.data</groupId>
203             <artifactId>spring-data-rest-webmvc</artifactId>
204             <version>2.6.9.RELEASE</version>
205         </dependency>
206         <dependency>
207             <groupId>org.springframework</groupId>
208             <artifactId>spring-web</artifactId>
209             <version>4.3.22.RELEASE</version>
210         </dependency>
211         <dependency>
212             <groupId>org.springframework.data</groupId>
213             <artifactId>spring-data-jpa</artifactId>
214             <version>1.11.20.RELEASE</version>
215         </dependency>
216         <dependency>
217             <groupId>org.springframework</groupId>
218             <artifactId>spring-webmvc</artifactId>
219             <version>4.3.18.RELEASE</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.17.v20190418</version>
230         </dependency>
231         <dependency>
232             <groupId>com.google.guava</groupId>
233             <artifactId>guava</artifactId>
234             <version>25.0-jre</version>
235         </dependency>
236         <dependency>
237             <groupId>com.squareup.okhttp3</groupId>
238             <artifactId>okhttp</artifactId>
239             <version>3.12.1</version>
240         </dependency>
241         <dependency>
242             <groupId>commons-beanutils</groupId>
243             <artifactId>commons-beanutils</artifactId>
244             <version>1.9.4</version>
245         </dependency>
246         <!-- commons-csv -->
247         <dependency>
248             <groupId>org.apache.commons</groupId>
249             <artifactId>commons-csv</artifactId>
250             <version>${common.csv.version}</version>
251         </dependency>
252
253         <!-- jackson-databind -->
254         <dependency>
255             <groupId>com.fasterxml.jackson.core</groupId>
256             <artifactId>jackson-databind</artifactId>
257             <version>${jackson.version}</version>
258         </dependency>
259
260         <!-- jackson-core -->
261         <dependency>
262             <groupId>com.fasterxml.jackson.core</groupId>
263             <artifactId>jackson-core</artifactId>
264             <version>${jackson.version}</version>
265         </dependency>
266
267         <!-- jackson-annotations -->
268         <dependency>
269             <groupId>com.fasterxml.jackson.core</groupId>
270             <artifactId>jackson-annotations</artifactId>
271             <version>${jackson.version}</version>
272         </dependency>
273
274         <dependency>
275             <groupId>com.squareup.retrofit2</groupId>
276             <artifactId>retrofit</artifactId>
277             <version>2.3.0</version>
278         </dependency>
279         <dependency>
280             <groupId>com.squareup.retrofit2</groupId>
281             <artifactId>converter-jackson</artifactId>
282             <version>2.3.0</version>
283         </dependency>
284         <dependency>
285             <groupId>org.apache.httpcomponents</groupId>
286             <artifactId>httpclient</artifactId>
287             <version>4.5.4</version>
288         </dependency>
289         <dependency>
290             <groupId>com.google.code.gson</groupId>
291             <artifactId>gson</artifactId>
292             <version>2.2.4</version>
293         </dependency>
294         <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
295         <dependency>
296             <groupId>com.alibaba</groupId>
297             <artifactId>fastjson</artifactId>
298             <version>1.2.29</version>
299         </dependency>
300
301         <dependency>
302             <groupId>com.alibaba</groupId>
303             <artifactId>dubbo</artifactId>
304             <version>2.6.5</version>
305         </dependency>
306         <dependency>
307             <groupId>org.openecomp.sdc.jtosca</groupId>
308             <artifactId>jtosca</artifactId>
309             <version>1.1.1</version>
310         </dependency>
311
312         <dependency>
313             <groupId>org.onap.msb.java-sdk</groupId>
314             <artifactId>msb-java-sdk</artifactId>
315             <version>1.0.0</version>
316         </dependency>
317
318         <dependency>
319             <groupId>org.powermock</groupId>
320             <artifactId>powermock-api-mockito</artifactId>
321             <version>1.6.5</version>
322         </dependency>
323         <dependency>
324             <groupId>org.mockito</groupId>
325             <artifactId>mockito-all</artifactId>
326             <version>1.9.5</version>
327         </dependency>
328         <dependency>
329             <groupId>org.powermock</groupId>
330             <artifactId>powermock-module-junit4</artifactId>
331             <version>1.6.5</version>
332             <type>jar</type>
333             <scope>compile</scope>
334         </dependency>
335         <dependency>
336             <groupId>org.jmockit</groupId>
337             <artifactId>jmockit</artifactId>
338             <version>1.19</version>
339             <scope>test</scope>
340         </dependency>
341         <dependency>
342             <groupId>junit</groupId>
343             <artifactId>junit</artifactId>
344             <version>4.12</version>
345         </dependency>
346         <dependency>
347             <groupId>org.jmockit</groupId>
348             <artifactId>jmockit-coverage</artifactId>
349             <version>1.19</version>
350             <scope>test</scope>
351         </dependency>
352         <dependency>
353             <groupId>com.googlecode.json-simple</groupId>
354             <artifactId>json-simple</artifactId>
355             <version>1.1.1</version>
356         </dependency>
357     </dependencies>
358
359     <build>
360         <plugins>
361             <plugin>
362                 <groupId>org.codehaus.mojo</groupId>
363                 <artifactId>versions-maven-plugin</artifactId>
364                 <version>1.3.1</version>
365             </plugin>
366             <plugin>
367                 <groupId>org.springframework.boot</groupId>
368                 <artifactId>spring-boot-maven-plugin</artifactId>
369                 <configuration>
370                     <executable>true</executable>
371                 </configuration>
372                 <executions>
373                     <execution>
374                         <goals>
375                             <goal>repackage</goal>
376                         </goals>
377                     </execution>
378                 </executions>
379             </plugin>
380             <plugin>
381                 <groupId>org.apache.maven.plugins</groupId>
382                 <artifactId>maven-surefire-plugin</artifactId>
383                 <version>2.19.1</version>
384             </plugin>
385             <plugin>
386                 <groupId>org.apache.maven.plugins</groupId>
387                 <artifactId>maven-compiler-plugin</artifactId>
388                 <version>3.3</version>
389                 <configuration>
390                     <source>1.8</source>
391                     <target>1.8</target>
392                 </configuration>
393             </plugin>
394             <plugin>
395                 <groupId>org.apache.maven.plugins</groupId>
396                 <artifactId>maven-antrun-plugin</artifactId>
397                 <version>1.8</version>
398             </plugin>
399             <plugin>
400                 <groupId>org.apache.maven.plugins</groupId>
401                 <artifactId>maven-deploy-plugin</artifactId>
402                 <version>2.8</version>
403             </plugin>
404             <plugin>
405                 <groupId>org.apache.maven.plugins</groupId>
406                 <artifactId>maven-surefire-plugin</artifactId>
407                 <version>2.19</version>
408                 <configuration>
409                     <testFailureIgnore>true</testFailureIgnore>
410                     <includes>
411                         <include>**/*Spec*</include>
412                         <include>**/Test*.java</include>
413                         <include>**/*Test.java</include>
414                         <include>**/*TestCase.java</include>
415                         <include>**/Test*.scala</include>
416                         <include>**/*Test.scala</include>
417                         <include>**/*TestCase.scala</include>
418                     </includes>
419                 </configuration>
420             </plugin>
421             <plugin>
422                 <groupId>org.jacoco</groupId>
423                 <artifactId>jacoco-maven-plugin</artifactId>
424                 <executions>
425                     <execution>
426                         <id>prepare-agent</id>
427                         <goals>
428                             <goal>prepare-agent</goal>
429                         </goals>
430                     </execution>
431                     <execution>
432                         <id>report</id>
433                         <goals>
434                             <goal>report</goal>
435                         </goals>
436                         <configuration>
437                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
438                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
439                         </configuration>
440                     </execution>
441                 </executions>
442             </plugin>
443         </plugins>
444     </build>
445
446     <repositories>
447         <repository>
448             <id>spring-milestones</id>
449             <name>Spring Milestones</name>
450             <url>https://repo.spring.io/milestone</url>
451             <snapshots>
452                 <enabled>false</enabled>
453             </snapshots>
454         </repository>
455     </repositories>
456
457     <pluginRepositories>
458         <pluginRepository>
459             <id>spring-milestones</id>
460             <name>Spring Milestones</name>
461             <url>https://repo.spring.io/milestone</url>
462             <snapshots>
463                 <enabled>false</enabled>
464             </snapshots>
465         </pluginRepository>
466     </pluginRepositories>
467 </project>