1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (C) 2017 CMCC, Inc. and others. All rights reserved.
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
9 http://www.apache.org/licenses/LICENSE-2.0
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.
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>
20 <groupId>org.onap.usecase-ui.server</groupId>
21 <artifactId>usecase-ui-server-parent</artifactId>
22 <version>3.0.1-SNAPSHOT</version>
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>
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>
47 <dependencyManagement>
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>
58 </dependencyManagement>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-actuator</artifactId>
66 <groupId>org.springframework.boot</groupId>
67 <artifactId>spring-boot-starter-data-jpa</artifactId>
70 <groupId>org.apache.tomcat</groupId>
71 <artifactId>tomcat-jdbc</artifactId>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-data-redis</artifactId>
80 <groupId>org.springframework.boot</groupId>
81 <artifactId>spring-boot-starter-data-rest</artifactId>
84 <groupId>org.elasticsearch.client</groupId>
85 <artifactId>elasticsearch-rest-high-level-client</artifactId>
86 <version>6.6.1</version>
89 <groupId>org.elasticsearch</groupId>
90 <artifactId>elasticsearch</artifactId>
95 <groupId>org.elasticsearch</groupId>
96 <artifactId>elasticsearch</artifactId>
97 <version>6.6.1</version>
100 <groupId>org.springframework.data</groupId>
101 <artifactId>spring-data-rest-hal-browser</artifactId>
102 <version>2.6.21.RELEASE</version>
105 <groupId>org.springframework.boot</groupId>
106 <artifactId>spring-boot-starter-jersey</artifactId>
108 <!-- postgresql dependency-->
110 <groupId>postgresql</groupId>
111 <artifactId>postgresql</artifactId>
112 <version>9.1-901-1.jdbc4</version>
116 <groupId>org.projectlombok</groupId>
117 <artifactId>lombok</artifactId>
118 <version>1.18.2</version>
119 <optional>true</optional>
122 <groupId>org.springframework.boot</groupId>
123 <artifactId>spring-boot-starter-test</artifactId>
127 <groupId>org.mockito</groupId>
128 <artifactId>mockito-core</artifactId>
133 <groupId>org.springframework.restdocs</groupId>
134 <artifactId>spring-restdocs-mockmvc</artifactId>
138 <groupId>org.springframework.security</groupId>
139 <artifactId>spring-security-test</artifactId>
143 <groupId>org.springframework</groupId>
144 <artifactId>spring-orm</artifactId>
147 <groupId>org.springframework</groupId>
148 <artifactId>spring-context</artifactId>
151 <groupId>org.springframework</groupId>
152 <artifactId>spring-jdbc</artifactId>
155 <groupId>org.hibernate</groupId>
156 <artifactId>hibernate-core</artifactId>
157 <version>${hibernate.version}</version>
160 <groupId>javax.persistence</groupId>
161 <artifactId>persistence-api</artifactId>
162 <version>${javax.persistence.version}</version>
165 <!-- security vulnerabilities -->
167 <groupId>org.apache.tomcat.embed</groupId>
168 <artifactId>tomcat-embed-websocket</artifactId>
169 <version>8.5.32</version>
172 <groupId>ch.qos.logback</groupId>
173 <artifactId>logback-classic</artifactId>
174 <version>1.2.3</version>
177 <groupId>org.eclipse.jetty</groupId>
178 <artifactId>jetty-http</artifactId>
179 <version>9.4.14.v20181114</version>
182 <groupId>org.eclipse.jetty</groupId>
183 <artifactId>jetty-server</artifactId>
184 <version>9.4.17.v20190418</version>
187 <groupId>org.springframework</groupId>
188 <artifactId>spring-expression</artifactId>
189 <version>5.1.5.RELEASE</version>
192 <groupId>org.springframework.data</groupId>
193 <artifactId>spring-data-commons</artifactId>
194 <version>1.13.18.RELEASE</version>
197 <groupId>org.springframework</groupId>
198 <artifactId>spring-core</artifactId>
199 <version>4.3.22.RELEASE</version>
202 <groupId>org.springframework.data</groupId>
203 <artifactId>spring-data-rest-webmvc</artifactId>
204 <version>2.6.9.RELEASE</version>
207 <groupId>org.springframework</groupId>
208 <artifactId>spring-web</artifactId>
209 <version>4.3.22.RELEASE</version>
212 <groupId>org.springframework.data</groupId>
213 <artifactId>spring-data-jpa</artifactId>
214 <version>1.11.20.RELEASE</version>
217 <groupId>org.springframework</groupId>
218 <artifactId>spring-webmvc</artifactId>
219 <version>4.3.18.RELEASE</version>
222 <groupId>org.hibernate</groupId>
223 <artifactId>hibernate-validator</artifactId>
224 <version>5.3.6.Final</version>
227 <groupId>org.eclipse.jetty</groupId>
228 <artifactId>jetty-util</artifactId>
229 <version>9.4.17.v20190418</version>
232 <groupId>com.google.guava</groupId>
233 <artifactId>guava</artifactId>
234 <version>25.0-jre</version>
237 <groupId>com.squareup.okhttp3</groupId>
238 <artifactId>okhttp</artifactId>
239 <version>3.12.1</version>
242 <groupId>commons-beanutils</groupId>
243 <artifactId>commons-beanutils</artifactId>
244 <version>1.9.4</version>
248 <groupId>org.apache.commons</groupId>
249 <artifactId>commons-csv</artifactId>
250 <version>${common.csv.version}</version>
253 <!-- jackson-databind -->
255 <groupId>com.fasterxml.jackson.core</groupId>
256 <artifactId>jackson-databind</artifactId>
257 <version>${jackson.version}</version>
260 <!-- jackson-core -->
262 <groupId>com.fasterxml.jackson.core</groupId>
263 <artifactId>jackson-core</artifactId>
264 <version>${jackson.version}</version>
267 <!-- jackson-annotations -->
269 <groupId>com.fasterxml.jackson.core</groupId>
270 <artifactId>jackson-annotations</artifactId>
271 <version>${jackson.version}</version>
275 <groupId>com.squareup.retrofit2</groupId>
276 <artifactId>retrofit</artifactId>
277 <version>2.3.0</version>
280 <groupId>com.squareup.retrofit2</groupId>
281 <artifactId>converter-jackson</artifactId>
282 <version>2.3.0</version>
285 <groupId>org.apache.httpcomponents</groupId>
286 <artifactId>httpclient</artifactId>
287 <version>4.5.4</version>
290 <groupId>com.google.code.gson</groupId>
291 <artifactId>gson</artifactId>
292 <version>2.2.4</version>
294 <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
296 <groupId>com.alibaba</groupId>
297 <artifactId>fastjson</artifactId>
298 <version>1.2.29</version>
302 <groupId>com.alibaba</groupId>
303 <artifactId>dubbo</artifactId>
304 <version>2.6.5</version>
307 <groupId>org.openecomp.sdc.jtosca</groupId>
308 <artifactId>jtosca</artifactId>
309 <version>1.1.1</version>
313 <groupId>org.onap.msb.java-sdk</groupId>
314 <artifactId>msb-java-sdk</artifactId>
315 <version>1.0.0</version>
319 <groupId>org.powermock</groupId>
320 <artifactId>powermock-api-mockito</artifactId>
321 <version>1.6.5</version>
324 <groupId>org.mockito</groupId>
325 <artifactId>mockito-all</artifactId>
326 <version>1.9.5</version>
329 <groupId>org.powermock</groupId>
330 <artifactId>powermock-module-junit4</artifactId>
331 <version>1.6.5</version>
333 <scope>compile</scope>
336 <groupId>org.jmockit</groupId>
337 <artifactId>jmockit</artifactId>
338 <version>1.19</version>
342 <groupId>junit</groupId>
343 <artifactId>junit</artifactId>
344 <version>4.12</version>
347 <groupId>org.jmockit</groupId>
348 <artifactId>jmockit-coverage</artifactId>
349 <version>1.19</version>
353 <groupId>com.googlecode.json-simple</groupId>
354 <artifactId>json-simple</artifactId>
355 <version>1.1.1</version>
362 <groupId>org.codehaus.mojo</groupId>
363 <artifactId>versions-maven-plugin</artifactId>
364 <version>1.3.1</version>
367 <groupId>org.springframework.boot</groupId>
368 <artifactId>spring-boot-maven-plugin</artifactId>
370 <executable>true</executable>
375 <goal>repackage</goal>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-surefire-plugin</artifactId>
383 <version>2.19.1</version>
386 <groupId>org.apache.maven.plugins</groupId>
387 <artifactId>maven-compiler-plugin</artifactId>
388 <version>3.3</version>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-antrun-plugin</artifactId>
397 <version>1.8</version>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-deploy-plugin</artifactId>
402 <version>2.8</version>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-surefire-plugin</artifactId>
407 <version>2.19</version>
409 <testFailureIgnore>true</testFailureIgnore>
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>
422 <groupId>org.jacoco</groupId>
423 <artifactId>jacoco-maven-plugin</artifactId>
426 <id>prepare-agent</id>
428 <goal>prepare-agent</goal>
437 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
438 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
448 <id>spring-milestones</id>
449 <name>Spring Milestones</name>
450 <url>https://repo.spring.io/milestone</url>
452 <enabled>false</enabled>
459 <id>spring-milestones</id>
460 <name>Spring Milestones</name>
461 <url>https://repo.spring.io/milestone</url>
463 <enabled>false</enabled>
466 </pluginRepositories>