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>2.0.2-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 <optional>true</optional>
121 <groupId>org.springframework.boot</groupId>
122 <artifactId>spring-boot-starter-test</artifactId>
126 <groupId>org.mockito</groupId>
127 <artifactId>mockito-core</artifactId>
132 <groupId>org.springframework.restdocs</groupId>
133 <artifactId>spring-restdocs-mockmvc</artifactId>
137 <groupId>org.springframework.security</groupId>
138 <artifactId>spring-security-test</artifactId>
142 <groupId>org.springframework</groupId>
143 <artifactId>spring-orm</artifactId>
146 <groupId>org.springframework</groupId>
147 <artifactId>spring-context</artifactId>
150 <groupId>org.springframework</groupId>
151 <artifactId>spring-jdbc</artifactId>
154 <groupId>org.hibernate</groupId>
155 <artifactId>hibernate-core</artifactId>
156 <version>${hibernate.version}</version>
159 <groupId>javax.persistence</groupId>
160 <artifactId>persistence-api</artifactId>
161 <version>${javax.persistence.version}</version>
164 <!-- security vulnerabilities -->
166 <groupId>org.apache.tomcat.embed</groupId>
167 <artifactId>tomcat-embed-websocket</artifactId>
168 <version>8.5.32</version>
171 <groupId>ch.qos.logback</groupId>
172 <artifactId>logback-classic</artifactId>
173 <version>1.2.3</version>
176 <groupId>org.eclipse.jetty</groupId>
177 <artifactId>jetty-http</artifactId>
178 <version>9.4.14.v20181114</version>
181 <groupId>org.eclipse.jetty</groupId>
182 <artifactId>jetty-server</artifactId>
183 <version>9.4.17.v20190418</version>
186 <groupId>org.springframework</groupId>
187 <artifactId>spring-expression</artifactId>
188 <version>5.1.5.RELEASE</version>
191 <groupId>org.springframework.data</groupId>
192 <artifactId>spring-data-commons</artifactId>
193 <version>1.13.18.RELEASE</version>
196 <groupId>org.springframework</groupId>
197 <artifactId>spring-core</artifactId>
198 <version>4.3.22.RELEASE</version>
201 <groupId>org.springframework.data</groupId>
202 <artifactId>spring-data-rest-webmvc</artifactId>
203 <version>2.6.9.RELEASE</version>
206 <groupId>org.springframework</groupId>
207 <artifactId>spring-web</artifactId>
208 <version>4.3.22.RELEASE</version>
211 <groupId>org.springframework.data</groupId>
212 <artifactId>spring-data-jpa</artifactId>
213 <version>1.11.20.RELEASE</version>
216 <groupId>org.springframework</groupId>
217 <artifactId>spring-webmvc</artifactId>
218 <version>4.3.18.RELEASE</version>
221 <groupId>org.hibernate</groupId>
222 <artifactId>hibernate-validator</artifactId>
223 <version>5.3.6.Final</version>
226 <groupId>org.eclipse.jetty</groupId>
227 <artifactId>jetty-util</artifactId>
228 <version>9.4.17.v20190418</version>
231 <groupId>com.google.guava</groupId>
232 <artifactId>guava</artifactId>
233 <version>25.0-jre</version>
236 <groupId>com.squareup.okhttp3</groupId>
237 <artifactId>okhttp</artifactId>
238 <version>3.12.1</version>
241 <groupId>commons-beanutils</groupId>
242 <artifactId>commons-beanutils</artifactId>
243 <version>1.9.4</version>
247 <groupId>org.apache.commons</groupId>
248 <artifactId>commons-csv</artifactId>
249 <version>${common.csv.version}</version>
252 <!-- jackson-databind -->
254 <groupId>com.fasterxml.jackson.core</groupId>
255 <artifactId>jackson-databind</artifactId>
256 <version>${jackson.version}</version>
259 <!-- jackson-core -->
261 <groupId>com.fasterxml.jackson.core</groupId>
262 <artifactId>jackson-core</artifactId>
263 <version>${jackson.version}</version>
266 <!-- jackson-annotations -->
268 <groupId>com.fasterxml.jackson.core</groupId>
269 <artifactId>jackson-annotations</artifactId>
270 <version>${jackson.version}</version>
274 <groupId>com.squareup.retrofit2</groupId>
275 <artifactId>retrofit</artifactId>
276 <version>2.3.0</version>
279 <groupId>com.squareup.retrofit2</groupId>
280 <artifactId>converter-jackson</artifactId>
281 <version>2.3.0</version>
284 <groupId>org.apache.httpcomponents</groupId>
285 <artifactId>httpclient</artifactId>
286 <version>4.5.4</version>
289 <groupId>com.google.code.gson</groupId>
290 <artifactId>gson</artifactId>
291 <version>2.2.4</version>
293 <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
295 <groupId>com.alibaba</groupId>
296 <artifactId>fastjson</artifactId>
297 <version>1.2.29</version>
301 <groupId>com.alibaba</groupId>
302 <artifactId>dubbo</artifactId>
303 <version>2.6.5</version>
306 <groupId>org.openecomp.sdc.jtosca</groupId>
307 <artifactId>jtosca</artifactId>
308 <version>1.1.1</version>
312 <groupId>org.onap.msb.java-sdk</groupId>
313 <artifactId>msb-java-sdk</artifactId>
314 <version>1.0.0</version>
318 <groupId>org.powermock</groupId>
319 <artifactId>powermock-api-mockito</artifactId>
320 <version>1.6.5</version>
323 <groupId>org.mockito</groupId>
324 <artifactId>mockito-all</artifactId>
325 <version>1.9.5</version>
328 <groupId>org.powermock</groupId>
329 <artifactId>powermock-module-junit4</artifactId>
330 <version>1.6.5</version>
332 <scope>compile</scope>
335 <groupId>org.jmockit</groupId>
336 <artifactId>jmockit</artifactId>
337 <version>1.19</version>
341 <groupId>junit</groupId>
342 <artifactId>junit</artifactId>
343 <version>4.12</version>
346 <groupId>org.jmockit</groupId>
347 <artifactId>jmockit-coverage</artifactId>
348 <version>1.19</version>
352 <groupId>com.googlecode.json-simple</groupId>
353 <artifactId>json-simple</artifactId>
354 <version>1.1.1</version>
361 <groupId>org.codehaus.mojo</groupId>
362 <artifactId>versions-maven-plugin</artifactId>
363 <version>1.3.1</version>
366 <groupId>org.springframework.boot</groupId>
367 <artifactId>spring-boot-maven-plugin</artifactId>
369 <executable>true</executable>
374 <goal>repackage</goal>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-surefire-plugin</artifactId>
382 <version>2.19.1</version>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-compiler-plugin</artifactId>
387 <version>3.3</version>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-antrun-plugin</artifactId>
396 <version>1.8</version>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-deploy-plugin</artifactId>
401 <version>2.8</version>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-surefire-plugin</artifactId>
406 <version>2.19</version>
408 <testFailureIgnore>true</testFailureIgnore>
410 <include>**/*Spec*</include>
411 <include>**/Test*.java</include>
412 <include>**/*Test.java</include>
413 <include>**/*TestCase.java</include>
414 <include>**/Test*.scala</include>
415 <include>**/*Test.scala</include>
416 <include>**/*TestCase.scala</include>
421 <groupId>org.jacoco</groupId>
422 <artifactId>jacoco-maven-plugin</artifactId>
425 <id>prepare-agent</id>
427 <goal>prepare-agent</goal>
436 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
437 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
447 <id>spring-milestones</id>
448 <name>Spring Milestones</name>
449 <url>https://repo.spring.io/milestone</url>
451 <enabled>false</enabled>
458 <id>spring-milestones</id>
459 <name>Spring Milestones</name>
460 <url>https://repo.spring.io/milestone</url>
462 <enabled>false</enabled>
465 </pluginRepositories>