Update usecase-ui release version
[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
19     <parent>
20         <groupId>org.onap.oparent</groupId>
21         <artifactId>oparent</artifactId>
22         <version>0.1.1</version>
23     </parent>
24
25     <modelVersion>4.0.0</modelVersion>
26     <groupId>org.onap.usecase-ui.server</groupId>
27     <artifactId>usecase-ui-server-parent</artifactId>
28     <version>1.0.1-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.1</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         <dependency>
204             <groupId>org.onap.msb.java-sdk</groupId>
205             <artifactId>msb-java-sdk</artifactId>
206             <version>1.0.0</version>
207         </dependency>
208
209         <!-- UT coverage dependency start -->
210         <dependency>
211             <groupId>org.jmockit</groupId>
212             <artifactId>jmockit</artifactId>
213             <version>1.19</version>
214             <scope>test</scope>
215         </dependency>
216         <dependency>
217             <groupId>junit</groupId>
218             <artifactId>junit</artifactId>
219             <version>4.12</version>
220         </dependency>
221         <dependency>
222             <groupId>org.jmockit</groupId>
223             <artifactId>jmockit-coverage</artifactId>
224             <version>1.19</version>
225             <scope>test</scope>
226         </dependency>
227         <!-- UT coverage dependency end -->
228     </dependencies>
229
230     <build>
231         <plugins>
232             <plugin>
233                 <groupId>org.springframework.boot</groupId>
234                 <artifactId>spring-boot-maven-plugin</artifactId>
235                 <configuration>
236                     <executable>true</executable>
237                 </configuration>
238                 <executions>
239                     <execution>
240                         <goals>
241                             <goal>repackage</goal>
242                         </goals>
243                     </execution>
244                 </executions>
245             </plugin>
246             <plugin>
247                 <groupId>org.apache.maven.plugins</groupId>
248                 <artifactId>maven-compiler-plugin</artifactId>
249                 <version>3.3</version>
250                 <configuration>
251                     <source>1.8</source>
252                     <target>1.8</target>
253                 </configuration>
254             </plugin>
255             <plugin>
256               <groupId>org.apache.maven.plugins</groupId>
257               <artifactId>maven-antrun-plugin</artifactId>
258               <version>1.8</version>
259             </plugin>
260             <plugin>
261                 <groupId>org.apache.maven.plugins</groupId>
262                 <artifactId>maven-surefire-plugin</artifactId>
263                 <version>2.19</version>
264                 <configuration>
265                     <testFailureIgnore>true</testFailureIgnore>
266                     <includes>
267                         <include>**/*Spec*</include>
268                         <include>**/Test*.java</include>
269                         <include>**/*Test.java</include>
270                         <include>**/*TestCase.java</include>
271                         <include>**/Test*.scala</include>
272                         <include>**/*Test.scala</include>
273                         <include>**/*TestCase.scala</include>
274                     </includes>
275                 </configuration>
276             </plugin>
277         </plugins>
278     </build>
279
280     <repositories>
281         <repository>
282             <id>spring-milestones</id>
283             <name>Spring Milestones</name>
284             <url>https://repo.spring.io/milestone</url>
285             <snapshots>
286                 <enabled>false</enabled>
287             </snapshots>
288         </repository>
289     </repositories>
290
291     <pluginRepositories>
292         <pluginRepository>
293             <id>spring-milestones</id>
294             <name>Spring Milestones</name>
295             <url>https://repo.spring.io/milestone</url>
296             <snapshots>
297                 <enabled>false</enabled>
298             </snapshots>
299         </pluginRepository>
300     </pluginRepositories>
301 </project>