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>11</java.version>
34 <hibernate.version>5.4.31.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.11.0</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 <groupId>org.springframework</groupId>
51 <artifactId>spring-framework-bom</artifactId>
52 <version>5.3.13</version>
57 <!-- Import dependency management from Spring Boot -->
58 <groupId>org.springframework.boot</groupId>
59 <artifactId>spring-boot-starter-parent</artifactId>
60 <version>2.3.4.RELEASE</version>
65 </dependencyManagement>
69 <groupId>org.springframework.boot</groupId>
70 <artifactId>spring-boot-starter-actuator</artifactId>
73 <groupId>org.springframework.boot</groupId>
74 <artifactId>spring-boot-starter-data-jpa</artifactId>
77 <groupId>org.apache.tomcat</groupId>
78 <artifactId>tomcat-jdbc</artifactId>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-starter-data-redis</artifactId>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-starter-data-rest</artifactId>
91 <groupId>org.elasticsearch.client</groupId>
92 <artifactId>elasticsearch-rest-high-level-client</artifactId>
93 <version>7.12.1</version>
96 <groupId>org.elasticsearch</groupId>
97 <artifactId>elasticsearch</artifactId>
102 <groupId>org.elasticsearch</groupId>
103 <artifactId>elasticsearch</artifactId>
104 <version>7.12.1</version>
107 <groupId>org.elasticsearch.client</groupId>
108 <artifactId>elasticsearch-rest-client</artifactId>
109 <version>7.12.1</version>
112 <groupId>org.springframework.data</groupId>
113 <artifactId>spring-data-rest-hal-browser</artifactId>
114 <version>3.3.9.RELEASE</version>
117 <groupId>org.springframework.boot</groupId>
118 <artifactId>spring-boot-starter-jersey</artifactId>
121 <artifactId>tomcat-embed-websocket</artifactId>
122 <groupId>org.apache.tomcat.embed</groupId>
126 <!-- postgresql dependency-->
128 <groupId>org.postgresql</groupId>
129 <artifactId>postgresql</artifactId>
130 <version>42.3.6</version>
134 <groupId>org.projectlombok</groupId>
135 <artifactId>lombok</artifactId>
136 <version>1.18.2</version>
137 <optional>true</optional>
140 <groupId>org.springframework.boot</groupId>
141 <artifactId>spring-boot-starter-test</artifactId>
145 <groupId>org.mockito</groupId>
146 <artifactId>mockito-core</artifactId>
151 <groupId>org.springframework.restdocs</groupId>
152 <artifactId>spring-restdocs-mockmvc</artifactId>
156 <groupId>org.springframework.security</groupId>
157 <artifactId>spring-security-test</artifactId>
161 <groupId>org.springframework</groupId>
162 <artifactId>spring-orm</artifactId>
165 <groupId>org.springframework</groupId>
166 <artifactId>spring-context</artifactId>
167 <version>5.3.20</version>
170 <groupId>org.springframework</groupId>
171 <artifactId>spring-jdbc</artifactId>
174 <groupId>org.hibernate</groupId>
175 <artifactId>hibernate-core</artifactId>
176 <version>${hibernate.version}</version>
179 <groupId>javax.persistence</groupId>
180 <artifactId>persistence-api</artifactId>
181 <version>${javax.persistence.version}</version>
184 <!-- security vulnerabilities -->
186 <groupId>org.apache.tomcat.embed</groupId>
187 <artifactId>tomcat-embed-websocket</artifactId>
188 <version>8.5.58</version>
191 <artifactId>tomcat-annotations-api</artifactId>
192 <groupId>org.apache.tomcat</groupId>
197 <groupId>ch.qos.logback</groupId>
198 <artifactId>logback-classic</artifactId>
199 <version>1.2.3</version>
202 <groupId>org.eclipse.jetty</groupId>
203 <artifactId>jetty-http</artifactId>
204 <version>11.0.7</version>
207 <groupId>org.eclipse.jetty</groupId>
208 <artifactId>jetty-server</artifactId>
209 <version>11.0.7</version>
212 <groupId>org.springframework</groupId>
213 <artifactId>spring-expression</artifactId>
216 <groupId>org.springframework.data</groupId>
217 <artifactId>spring-data-commons</artifactId>
218 <version>2.3.4.RELEASE</version>
221 <groupId>org.springframework</groupId>
222 <artifactId>spring-core</artifactId>
225 <groupId>org.springframework.data</groupId>
226 <artifactId>spring-data-rest-webmvc</artifactId>
227 <version>3.7.0</version>
230 <artifactId>spring-data-rest-core</artifactId>
231 <groupId>org.springframework.data</groupId>
232 <version>3.7.0</version>
235 <groupId>org.springframework</groupId>
236 <artifactId>spring-web</artifactId>
237 <version>5.3.20</version>
240 <groupId>org.springframework.data</groupId>
241 <artifactId>spring-data-jpa</artifactId>
242 <version>2.3.4.RELEASE</version>
245 <groupId>org.springframework</groupId>
246 <artifactId>spring-webmvc</artifactId>
247 <version>5.3.20</version>
250 <groupId>org.hibernate</groupId>
251 <artifactId>hibernate-validator</artifactId>
252 <version>6.1.6.Final</version>
255 <groupId>org.eclipse.jetty</groupId>
256 <artifactId>jetty-util</artifactId>
257 <version>9.4.17.v20190418</version>
260 <groupId>com.squareup.okio</groupId>
261 <artifactId>okio</artifactId>
262 <version>3.2.0</version>
265 <groupId>com.google.guava</groupId>
266 <artifactId>guava</artifactId>
267 <version>25.0-jre</version>
270 <groupId>org.jetbrains.kotlin</groupId>
271 <artifactId>kotlin-stdlib</artifactId>
272 <version>1.7.10</version>
275 <groupId>com.squareup.okhttp3</groupId>
276 <artifactId>okhttp</artifactId>
277 <version>4.9.3</version>
280 <artifactId>kotlin-stdlib</artifactId>
281 <groupId>org.jetbrains.kotlin</groupId>
286 <groupId>commons-beanutils</groupId>
287 <artifactId>commons-beanutils</artifactId>
288 <version>1.9.4</version>
292 <groupId>org.apache.commons</groupId>
293 <artifactId>commons-csv</artifactId>
294 <version>${common.csv.version}</version>
297 <!-- jackson-databind -->
299 <groupId>com.fasterxml.jackson.core</groupId>
300 <artifactId>jackson-databind</artifactId>
301 <version>2.13.3</version>
304 <!-- jackson-core -->
306 <groupId>com.fasterxml.jackson.core</groupId>
307 <artifactId>jackson-core</artifactId>
308 <version>2.13.3</version>
311 <!-- jackson-annotations -->
313 <groupId>com.fasterxml.jackson.core</groupId>
314 <artifactId>jackson-annotations</artifactId>
315 <version>2.13.3</version>
319 <groupId>com.squareup.retrofit2</groupId>
320 <artifactId>retrofit</artifactId>
321 <version>2.7.2</version>
324 <artifactId>okhttp</artifactId>
325 <groupId>com.squareup.okhttp3</groupId>
330 <groupId>com.squareup.retrofit2</groupId>
331 <artifactId>converter-jackson</artifactId>
332 <version>2.3.0</version>
335 <groupId>org.apache.httpcomponents</groupId>
336 <artifactId>httpclient</artifactId>
337 <version>4.5.13</version>
340 <groupId>com.google.code.gson</groupId>
341 <artifactId>gson</artifactId>
342 <version>2.8.9</version>
344 <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
346 <groupId>com.alibaba</groupId>
347 <artifactId>fastjson</artifactId>
348 <version>2.0.6</version>
352 <groupId>org.openecomp.sdc.jtosca</groupId>
353 <artifactId>jtosca</artifactId>
354 <version>1.1.1</version>
358 <groupId>org.onap.msb.java-sdk</groupId>
359 <artifactId>msb-java-sdk</artifactId>
360 <version>1.0.0</version>
364 <groupId>org.powermock</groupId>
365 <artifactId>powermock-api-mockito2</artifactId>
366 <version>2.0.7</version>
369 <groupId>org.mockito</groupId>
370 <artifactId>mockito-all</artifactId>
371 <version>1.9.5</version>
374 <groupId>org.powermock</groupId>
375 <artifactId>powermock-module-junit4</artifactId>
376 <version>2.0.2</version>
378 <scope>compile</scope>
381 <groupId>org.jmockit</groupId>
382 <artifactId>jmockit</artifactId>
383 <version>1.19</version>
387 <groupId>junit</groupId>
388 <artifactId>junit</artifactId>
389 <version>4.13.2</version>
392 <groupId>org.jmockit</groupId>
393 <artifactId>jmockit-coverage</artifactId>
394 <version>1.19</version>
398 <groupId>com.googlecode.json-simple</groupId>
399 <artifactId>json-simple</artifactId>
400 <version>1.1.1</version>
403 <groupId>javax.xml.bind</groupId>
404 <artifactId>jaxb-api</artifactId>
405 <version>2.3.0</version>
408 <groupId>com.sun.xml.bind</groupId>
409 <artifactId>jaxb-impl</artifactId>
410 <version>2.3.0</version>
413 <groupId>com.sun.xml.bind</groupId>
414 <artifactId>jaxb-core</artifactId>
415 <version>2.3.0</version>
418 <groupId>com.sun.activation</groupId>
419 <artifactId>javax.activation</artifactId>
420 <version>1.2.0</version>
423 <groupId>commons-io</groupId>
424 <artifactId>commons-io</artifactId>
425 <version>2.8.0</version>
429 <groupId>org.apache.ant</groupId>
430 <artifactId>ant</artifactId>
431 <version>1.10.12</version>
434 <groupId>com.sun</groupId>
435 <artifactId>tools</artifactId>
445 <groupId>org.codehaus.mojo</groupId>
446 <artifactId>versions-maven-plugin</artifactId>
447 <version>1.3.1</version>
450 <groupId>org.springframework.boot</groupId>
451 <artifactId>spring-boot-maven-plugin</artifactId>
452 <version>1.5.3.RELEASE</version>
454 <executable>true</executable>
459 <goal>repackage</goal>
465 <groupId>org.apache.maven.plugins</groupId>
466 <artifactId>maven-compiler-plugin</artifactId>
467 <version>3.3</version>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-antrun-plugin</artifactId>
476 <version>1.8</version>
479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-deploy-plugin</artifactId>
481 <version>2.8</version>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-surefire-plugin</artifactId>
486 <version>2.19</version>
488 <testFailureIgnore>true</testFailureIgnore>
490 <include>**/*Spec*</include>
491 <include>**/Test*.java</include>
492 <include>**/*Test.java</include>
493 <include>**/*TestCase.java</include>
494 <include>**/Test*.scala</include>
495 <include>**/*Test.scala</include>
496 <include>**/*TestCase.scala</include>
501 <groupId>org.jacoco</groupId>
502 <artifactId>jacoco-maven-plugin</artifactId>
503 <version>0.8.5</version>
506 <id>prepare-agent</id>
508 <goal>prepare-agent</goal>
517 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
518 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
528 <id>spring-milestones</id>
529 <name>Spring Milestones</name>
530 <url>https://repo.spring.io/milestone</url>
532 <enabled>false</enabled>
539 <id>spring-milestones</id>
540 <name>Spring Milestones</name>
541 <url>https://repo.spring.io/milestone</url>
543 <enabled>false</enabled>
546 </pluginRepositories>