ff99452a2775afafbbbbeceb7383227483c5bbe2
[usecase-ui/server.git] / 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
20     <parent>
21         <groupId>org.onap.oparent</groupId>
22         <artifactId>oparent</artifactId>
23         <version>1.0.0-SNAPSHOT</version>
24     </parent>
25
26     <groupId>org.onap.usecase-ui.server</groupId>
27     <artifactId>usecase-ui-server-parent</artifactId>
28     <version>1.0.0-SNAPSHOT</version>
29     <packaging>pom</packaging>
30     <name>usecase-ui-server</name>
31     <description>project for usecase-ui server</description>
32
33     <modules>
34       <module>server</module>
35       <module>standalone</module>
36     </modules>
37
38     <properties>
39         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
41         <java.version>1.8</java.version>
42         <hibernate.version>5.0.11.Final</hibernate.version>
43         <spring.version>4.3.4.RELEASE</spring.version>
44         <javax.persistence.version>1.0.2</javax.persistence.version>
45         <common.csv.version>1.4</common.csv.version>
46         <jackson.version>2.9.0</jackson.version>
47     </properties>
48
49     <dependencyManagement>
50         <dependencies>
51             <dependency>
52                 <!-- Import dependency management from Spring Boot -->
53                 <groupId>org.springframework.boot</groupId>
54                 <artifactId>spring-boot-starter-parent</artifactId>
55                 <version>1.4.2.RELEASE</version>
56                 <type>pom</type>
57                 <scope>import</scope>
58             </dependency>
59         </dependencies>
60     </dependencyManagement>
61
62     <dependencies>
63         <dependency>
64             <groupId>org.springframework.boot</groupId>
65             <artifactId>spring-boot-starter-data-jpa</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>org.springframework.boot</groupId>
69             <artifactId>spring-boot-starter-data-redis</artifactId>
70         </dependency>
71         <dependency>
72             <groupId>org.springframework.boot</groupId>
73             <artifactId>spring-boot-starter-data-rest</artifactId>
74         </dependency>
75         <dependency>
76             <groupId>org.springframework.data</groupId>
77             <artifactId>spring-data-rest-hal-browser</artifactId>
78         </dependency>
79         <dependency>
80             <groupId>org.springframework.boot</groupId>
81             <artifactId>spring-boot-starter-jersey</artifactId>
82         </dependency>
83         <dependency>
84             <groupId>org.springframework.boot</groupId>
85             <artifactId>spring-boot-starter-security</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>org.springframework.boot</groupId>
89             <artifactId>spring-boot-starter-web</artifactId>
90         </dependency>
91         <dependency>
92             <groupId>mysql</groupId>
93             <artifactId>mysql-connector-java</artifactId>
94             <scope>runtime</scope>
95         </dependency>
96         <dependency>
97             <groupId>org.projectlombok</groupId>
98             <artifactId>lombok</artifactId>
99             <optional>true</optional>
100         </dependency>
101         <dependency>
102             <groupId>org.springframework.boot</groupId>
103             <artifactId>spring-boot-starter-test</artifactId>
104             <scope>test</scope>
105         </dependency>
106         <dependency>
107             <groupId>org.springframework.restdocs</groupId>
108             <artifactId>spring-restdocs-mockmvc</artifactId>
109             <scope>test</scope>
110         </dependency>
111         <dependency>
112             <groupId>org.springframework.security</groupId>
113             <artifactId>spring-security-test</artifactId>
114             <scope>test</scope>
115         </dependency>
116         <dependency>
117             <groupId>org.springframework</groupId>
118             <artifactId>spring-core</artifactId>
119             <version>${spring.version}</version>
120         </dependency>
121         <dependency>
122             <groupId>org.springframework</groupId>
123             <artifactId>spring-orm</artifactId>
124             <version>${spring.version}</version>
125         </dependency>
126         <dependency>
127             <groupId>org.springframework</groupId>
128             <artifactId>spring-context</artifactId>
129             <version>${spring.version}</version>
130         </dependency>
131         <dependency>
132             <groupId>org.springframework</groupId>
133             <artifactId>spring-jdbc</artifactId>
134             <version>${spring.version}</version>
135         </dependency>
136         <dependency>
137             <groupId>org.springframework</groupId>
138             <artifactId>spring-webmvc</artifactId>
139             <version>${spring.version}</version>
140         </dependency>
141         <dependency>
142             <groupId>org.hibernate</groupId>
143             <artifactId>hibernate-core</artifactId>
144             <version>${hibernate.version}</version>
145         </dependency>
146         <dependency>
147             <groupId>javax.persistence</groupId>
148             <artifactId>persistence-api</artifactId>
149             <version>${javax.persistence.version}</version>
150         </dependency>
151
152         <!-- commons-csv -->
153         <dependency>
154             <groupId>org.apache.commons</groupId>
155             <artifactId>commons-csv</artifactId>
156             <version>${common.csv.version}</version>
157         </dependency>
158
159         <!-- jackson-databind -->
160         <dependency>
161             <groupId>com.fasterxml.jackson.core</groupId>
162             <artifactId>jackson-databind</artifactId>
163             <version>${jackson.version}</version>
164         </dependency>
165
166         <!-- jackson-core -->
167         <dependency>
168             <groupId>com.fasterxml.jackson.core</groupId>
169             <artifactId>jackson-core</artifactId>
170             <version>${jackson.version}</version>
171         </dependency>
172
173         <!-- jackson-annotations -->
174         <dependency>
175             <groupId>com.fasterxml.jackson.core</groupId>
176             <artifactId>jackson-annotations</artifactId>
177             <version>${jackson.version}</version>
178         </dependency>
179
180         <dependency>
181             <groupId>com.squareup.retrofit2</groupId>
182             <artifactId>retrofit</artifactId>
183             <version>2.3.0</version>
184         </dependency>
185         <dependency>
186             <groupId>com.squareup.retrofit2</groupId>
187             <artifactId>converter-jackson</artifactId>
188             <version>2.3.0</version>
189         </dependency>
190
191         <dependency>
192             <groupId>org.openecomp.sdc.jtosca</groupId>
193             <artifactId>jtosca</artifactId>
194             <version>1.1.11-SNAPSHOT</version>
195         </dependency>
196
197         <dependency>
198             <groupId>com.google.guava</groupId>
199             <artifactId>guava</artifactId>
200             <version>23.0</version>
201         </dependency>
202
203         <!-- UT coverage dependency start -->
204         <dependency>
205             <groupId>org.jmockit</groupId>
206             <artifactId>jmockit</artifactId>
207             <version>1.19</version>
208             <scope>test</scope>
209         </dependency>
210         <dependency>
211             <groupId>junit</groupId>
212             <artifactId>junit</artifactId>
213             <version>4.12</version>
214         </dependency>
215         <dependency>
216             <groupId>org.jmockit</groupId>
217             <artifactId>jmockit-coverage</artifactId>
218             <version>1.19</version>
219             <scope>test</scope>
220         </dependency>
221         <!-- UT coverage dependency end -->
222     </dependencies>
223
224     <build>
225         <plugins>
226             <plugin>
227                 <groupId>org.springframework.boot</groupId>
228                 <artifactId>spring-boot-maven-plugin</artifactId>
229                 <configuration>
230                     <executable>true</executable>
231                 </configuration>
232                 <executions>
233                     <execution>
234                         <goals>
235                             <goal>repackage</goal>
236                         </goals>
237                     </execution>
238                 </executions>
239             </plugin>
240             <plugin>
241                 <groupId>org.apache.maven.plugins</groupId>
242                 <artifactId>maven-compiler-plugin</artifactId>
243                 <version>3.3</version>
244                 <configuration>
245                     <source>1.8</source>
246                     <target>1.8</target>
247                 </configuration>
248             </plugin>
249             <plugin>
250               <groupId>org.apache.maven.plugins</groupId>
251               <artifactId>maven-antrun-plugin</artifactId>
252               <version>1.8</version>
253             </plugin>
254             <plugin>
255                 <groupId>org.apache.maven.plugins</groupId>
256                 <artifactId>maven-surefire-plugin</artifactId>
257                 <version>2.19</version>
258                 <configuration>
259                     <testFailureIgnore>true</testFailureIgnore>
260                     <includes>
261                         <include>**/*Spec*</include>
262                         <include>**/Test*.java</include>
263                         <include>**/*Test.java</include>
264                         <include>**/*TestCase.java</include>
265                         <include>**/Test*.scala</include>
266                         <include>**/*Test.scala</include>
267                         <include>**/*TestCase.scala</include>
268                     </includes>
269                 </configuration>
270             </plugin>
271         </plugins>
272     </build>
273
274     <repositories>
275         <repository>
276             <id>spring-snapshots</id>
277             <name>Spring Snapshots</name>
278             <url>https://repo.spring.io/snapshot</url>
279             <snapshots>
280                 <enabled>true</enabled>
281             </snapshots>
282         </repository>
283         <repository>
284             <id>spring-milestones</id>
285             <name>Spring Milestones</name>
286             <url>https://repo.spring.io/milestone</url>
287             <snapshots>
288                 <enabled>false</enabled>
289             </snapshots>
290         </repository>
291     </repositories>
292
293     <pluginRepositories>
294         <pluginRepository>
295             <id>spring-snapshots</id>
296             <name>Spring Snapshots</name>
297             <url>https://repo.spring.io/snapshot</url>
298             <snapshots>
299                 <enabled>true</enabled>
300             </snapshots>
301         </pluginRepository>
302         <pluginRepository>
303             <id>spring-milestones</id>
304             <name>Spring Milestones</name>
305             <url>https://repo.spring.io/milestone</url>
306             <snapshots>
307                 <enabled>false</enabled>
308             </snapshots>
309         </pluginRepository>
310     </pluginRepositories>
311 </project>