Modify monitor function code for usecase-ui server
[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     </dependencies>
203
204     <build>
205         <plugins>
206             <plugin>
207                 <groupId>org.springframework.boot</groupId>
208                 <artifactId>spring-boot-maven-plugin</artifactId>
209                 <configuration>
210                     <executable>true</executable>
211                 </configuration>
212                 <executions>
213                     <execution>
214                         <goals>
215                             <goal>repackage</goal>
216                         </goals>
217                     </execution>
218                 </executions>
219             </plugin>
220             <plugin>
221                 <groupId>org.apache.maven.plugins</groupId>
222                 <artifactId>maven-compiler-plugin</artifactId>
223                 <version>3.3</version>
224                 <configuration>
225                     <source>1.8</source>
226                     <target>1.8</target>
227                 </configuration>
228             </plugin>
229             <plugin>
230               <groupId>org.apache.maven.plugins</groupId>
231               <artifactId>maven-antrun-plugin</artifactId>
232               <version>1.8</version>
233             </plugin>
234             <plugin>
235                 <groupId>org.apache.maven.plugins</groupId>
236                 <artifactId>maven-surefire-plugin</artifactId>
237                 <version>2.19</version>
238                 <configuration>
239                     <skipTests>true</skipTests>
240                 </configuration>
241             </plugin>
242         </plugins>
243     </build>
244
245     <repositories>
246         <repository>
247             <id>spring-snapshots</id>
248             <name>Spring Snapshots</name>
249             <url>https://repo.spring.io/snapshot</url>
250             <snapshots>
251                 <enabled>true</enabled>
252             </snapshots>
253         </repository>
254         <repository>
255             <id>spring-milestones</id>
256             <name>Spring Milestones</name>
257             <url>https://repo.spring.io/milestone</url>
258             <snapshots>
259                 <enabled>false</enabled>
260             </snapshots>
261         </repository>
262     </repositories>
263
264     <pluginRepositories>
265         <pluginRepository>
266             <id>spring-snapshots</id>
267             <name>Spring Snapshots</name>
268             <url>https://repo.spring.io/snapshot</url>
269             <snapshots>
270                 <enabled>true</enabled>
271             </snapshots>
272         </pluginRepository>
273         <pluginRepository>
274             <id>spring-milestones</id>
275             <name>Spring Milestones</name>
276             <url>https://repo.spring.io/milestone</url>
277             <snapshots>
278                 <enabled>false</enabled>
279             </snapshots>
280         </pluginRepository>
281     </pluginRepositories>
282 </project>