Upgrade springboot version to 1.5.6
[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>2.0.0</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>2.0.0</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.0.11.Final</hibernate.version>
38         <javax.persistence.version>1.0.2</javax.persistence.version>
39         <common.csv.version>1.4</common.csv.version>
40         <jackson.version>2.9.8</jackson.version>
41         <tomcat.version>9.0.16</tomcat.version>
42     </properties>
43
44     <dependencyManagement>
45         <dependencies>
46             <dependency>
47                 <!-- Import dependency management from Spring Boot -->
48                 <groupId>org.springframework.boot</groupId>
49                 <artifactId>spring-boot-starter-parent</artifactId>
50                 <version>1.5.6.RELEASE</version>
51                 <type>pom</type>
52                 <scope>import</scope>
53             </dependency>
54         </dependencies>
55     </dependencyManagement>
56
57     <dependencies>
58         <dependency>
59             <groupId>org.springframework.boot</groupId>
60             <artifactId>spring-boot-starter-actuator</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.springframework.boot</groupId>
64             <artifactId>spring-boot-starter-data-jpa</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.springframework.boot</groupId>
68             <artifactId>spring-boot-starter-data-redis</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>org.springframework.boot</groupId>
72             <artifactId>spring-boot-starter-data-rest</artifactId>
73         </dependency>
74         <dependency>
75             <groupId>org.elasticsearch.client</groupId>
76             <artifactId>elasticsearch-rest-high-level-client</artifactId>
77             <version>6.6.1</version>
78             <exclusions>
79                 <exclusion>
80                     <groupId>org.elasticsearch</groupId>
81                     <artifactId>elasticsearch</artifactId>
82                 </exclusion>
83             </exclusions>
84         </dependency>
85         <dependency>
86             <groupId>org.elasticsearch</groupId>
87             <artifactId>elasticsearch</artifactId>
88             <version>6.6.1</version>
89         </dependency>
90         <dependency>
91             <groupId>org.springframework.data</groupId>
92             <artifactId>spring-data-rest-hal-browser</artifactId>
93         </dependency>
94         <dependency>
95             <groupId>org.springframework.boot</groupId>
96             <artifactId>spring-boot-starter-jersey</artifactId>
97         </dependency>
98         <dependency>
99             <groupId>org.springframework.boot</groupId>
100             <artifactId>spring-boot-starter-web</artifactId>
101         </dependency>
102         <!-- postgresql  dependency-->
103         <dependency>
104             <groupId>postgresql</groupId>
105             <artifactId>postgresql</artifactId>
106             <version>9.1-901-1.jdbc4</version>
107         </dependency>
108
109         <dependency>
110             <groupId>org.projectlombok</groupId>
111             <artifactId>lombok</artifactId>
112             <optional>true</optional>
113         </dependency>
114         <dependency>
115             <groupId>org.springframework.boot</groupId>
116             <artifactId>spring-boot-starter-test</artifactId>
117             <scope>test</scope>
118             <exclusions>
119                 <exclusion>
120                     <groupId>org.mockito</groupId>
121                     <artifactId>mockito-core</artifactId>
122                 </exclusion>
123             </exclusions>
124         </dependency>
125         <dependency>
126             <groupId>org.springframework.restdocs</groupId>
127             <artifactId>spring-restdocs-mockmvc</artifactId>
128             <scope>test</scope>
129         </dependency>
130         <dependency>
131             <groupId>org.springframework.security</groupId>
132             <artifactId>spring-security-test</artifactId>
133             <scope>test</scope>
134         </dependency>
135         <dependency>
136             <groupId>org.springframework</groupId>
137             <artifactId>spring-core</artifactId>
138         </dependency>
139         <dependency>
140             <groupId>org.springframework</groupId>
141             <artifactId>spring-orm</artifactId>
142         </dependency>
143         <dependency>
144             <groupId>org.springframework</groupId>
145             <artifactId>spring-context</artifactId>
146         </dependency>
147         <dependency>
148             <groupId>org.springframework</groupId>
149             <artifactId>spring-jdbc</artifactId>
150         </dependency>
151         <dependency>
152             <groupId>org.springframework</groupId>
153             <artifactId>spring-webmvc</artifactId>
154         </dependency>
155         <dependency>
156             <groupId>org.hibernate</groupId>
157             <artifactId>hibernate-core</artifactId>
158             <version>${hibernate.version}</version>
159         </dependency>
160         <dependency>
161             <groupId>javax.persistence</groupId>
162             <artifactId>persistence-api</artifactId>
163             <version>${javax.persistence.version}</version>
164         </dependency>
165
166         <!-- commons-csv -->
167         <dependency>
168             <groupId>org.apache.commons</groupId>
169             <artifactId>commons-csv</artifactId>
170             <version>${common.csv.version}</version>
171         </dependency>
172
173         <!-- jackson-databind -->
174         <dependency>
175             <groupId>com.fasterxml.jackson.core</groupId>
176             <artifactId>jackson-databind</artifactId>
177             <version>${jackson.version}</version>
178         </dependency>
179
180         <!-- jackson-core -->
181         <dependency>
182             <groupId>com.fasterxml.jackson.core</groupId>
183             <artifactId>jackson-core</artifactId>
184             <version>${jackson.version}</version>
185         </dependency>
186
187         <!-- jackson-annotations -->
188         <dependency>
189             <groupId>com.fasterxml.jackson.core</groupId>
190             <artifactId>jackson-annotations</artifactId>
191             <version>${jackson.version}</version>
192         </dependency>
193
194         <dependency>
195             <groupId>com.squareup.retrofit2</groupId>
196             <artifactId>retrofit</artifactId>
197             <version>2.3.0</version>
198         </dependency>
199         <dependency>
200             <groupId>com.squareup.retrofit2</groupId>
201             <artifactId>converter-jackson</artifactId>
202             <version>2.3.0</version>
203         </dependency>
204
205         <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
206         <dependency>
207             <groupId>com.alibaba</groupId>
208             <artifactId>fastjson</artifactId>
209             <version>1.2.29</version>
210         </dependency>
211
212         <dependency>
213             <groupId>com.alibaba</groupId>
214             <artifactId>dubbo</artifactId>
215             <version>2.6.5</version>
216         </dependency>
217         <dependency>
218             <groupId>org.openecomp.sdc.jtosca</groupId>
219             <artifactId>jtosca</artifactId>
220             <version>1.1.1</version>
221         </dependency>
222
223         <dependency>
224             <groupId>com.google.guava</groupId>
225             <artifactId>guava</artifactId>
226             <version>23.0</version>
227         </dependency>
228
229         <dependency>
230             <groupId>org.onap.msb.java-sdk</groupId>
231             <artifactId>msb-java-sdk</artifactId>
232             <version>1.0.0</version>
233         </dependency>
234
235         <dependency>
236             <groupId>org.powermock</groupId>
237             <artifactId>powermock-api-mockito</artifactId>
238             <version>1.6.5</version>
239         </dependency>
240         <dependency>
241             <groupId>org.mockito</groupId>
242             <artifactId>mockito-all</artifactId>
243             <version>1.9.5</version>
244         </dependency>
245         <dependency>
246             <groupId>org.powermock</groupId>
247             <artifactId>powermock-module-junit4</artifactId>
248             <version>1.6.5</version>
249             <type>jar</type>
250             <scope>compile</scope>
251         </dependency>
252         <dependency>
253             <groupId>org.jmockit</groupId>
254             <artifactId>jmockit</artifactId>
255             <version>1.19</version>
256             <scope>test</scope>
257         </dependency>
258         <dependency>
259             <groupId>junit</groupId>
260             <artifactId>junit</artifactId>
261             <version>4.12</version>
262         </dependency>
263         <dependency>
264             <groupId>org.jmockit</groupId>
265             <artifactId>jmockit-coverage</artifactId>
266             <version>1.19</version>
267             <scope>test</scope>
268         </dependency>
269     </dependencies>
270
271     <build>
272         <plugins>
273             <plugin>
274                 <groupId>org.springframework.boot</groupId>
275                 <artifactId>spring-boot-maven-plugin</artifactId>
276                 <configuration>
277                     <executable>true</executable>
278                 </configuration>
279                 <executions>
280                     <execution>
281                         <goals>
282                             <goal>repackage</goal>
283                         </goals>
284                     </execution>
285                 </executions>
286             </plugin>
287             <plugin>
288                 <groupId>org.apache.maven.plugins</groupId>
289                 <artifactId>maven-compiler-plugin</artifactId>
290                 <version>3.3</version>
291                 <configuration>
292                     <source>1.8</source>
293                     <target>1.8</target>
294                 </configuration>
295             </plugin>
296             <plugin>
297                 <groupId>org.apache.maven.plugins</groupId>
298                 <artifactId>maven-antrun-plugin</artifactId>
299                 <version>1.8</version>
300             </plugin>
301             <plugin>
302                 <groupId>org.apache.maven.plugins</groupId>
303                 <artifactId>maven-surefire-plugin</artifactId>
304                 <version>2.19</version>
305                 <configuration>
306                     <testFailureIgnore>true</testFailureIgnore>
307                     <includes>
308                         <include>**/*Spec*</include>
309                         <include>**/Test*.java</include>
310                         <include>**/*Test.java</include>
311                         <include>**/*TestCase.java</include>
312                         <include>**/Test*.scala</include>
313                         <include>**/*Test.scala</include>
314                         <include>**/*TestCase.scala</include>
315                     </includes>
316                 </configuration>
317             </plugin>
318         </plugins>
319     </build>
320
321     <repositories>
322         <repository>
323             <id>spring-milestones</id>
324             <name>Spring Milestones</name>
325             <url>https://repo.spring.io/milestone</url>
326             <snapshots>
327                 <enabled>false</enabled>
328             </snapshots>
329         </repository>
330     </repositories>
331
332     <pluginRepositories>
333         <pluginRepository>
334             <id>spring-milestones</id>
335             <name>Spring Milestones</name>
336             <url>https://repo.spring.io/milestone</url>
337             <snapshots>
338                 <enabled>false</enabled>
339             </snapshots>
340         </pluginRepository>
341     </pluginRepositories>
342 </project>