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>
120 <!-- postgresql dependency-->
122 <groupId>org.postgresql</groupId>
123 <artifactId>postgresql</artifactId>
124 <version>42.3.1</version>
128 <groupId>org.projectlombok</groupId>
129 <artifactId>lombok</artifactId>
130 <version>1.18.2</version>
131 <optional>true</optional>
134 <groupId>org.springframework.boot</groupId>
135 <artifactId>spring-boot-starter-test</artifactId>
139 <groupId>org.mockito</groupId>
140 <artifactId>mockito-core</artifactId>
145 <groupId>org.springframework.restdocs</groupId>
146 <artifactId>spring-restdocs-mockmvc</artifactId>
150 <groupId>org.springframework.security</groupId>
151 <artifactId>spring-security-test</artifactId>
155 <groupId>org.springframework</groupId>
156 <artifactId>spring-orm</artifactId>
159 <groupId>org.springframework</groupId>
160 <artifactId>spring-context</artifactId>
163 <groupId>org.springframework</groupId>
164 <artifactId>spring-jdbc</artifactId>
167 <groupId>org.hibernate</groupId>
168 <artifactId>hibernate-core</artifactId>
169 <version>${hibernate.version}</version>
172 <groupId>javax.persistence</groupId>
173 <artifactId>persistence-api</artifactId>
174 <version>${javax.persistence.version}</version>
177 <!-- security vulnerabilities -->
179 <groupId>org.apache.tomcat.embed</groupId>
180 <artifactId>tomcat-embed-websocket</artifactId>
181 <version>8.5.58</version>
184 <groupId>ch.qos.logback</groupId>
185 <artifactId>logback-classic</artifactId>
186 <version>1.2.3</version>
189 <groupId>org.eclipse.jetty</groupId>
190 <artifactId>jetty-http</artifactId>
191 <version>11.0.7</version>
194 <groupId>org.eclipse.jetty</groupId>
195 <artifactId>jetty-server</artifactId>
196 <version>11.0.7</version>
199 <groupId>org.springframework</groupId>
200 <artifactId>spring-expression</artifactId>
203 <groupId>org.springframework.data</groupId>
204 <artifactId>spring-data-commons</artifactId>
205 <version>2.3.4.RELEASE</version>
208 <groupId>org.springframework</groupId>
209 <artifactId>spring-core</artifactId>
212 <groupId>org.springframework.data</groupId>
213 <artifactId>spring-data-rest-webmvc</artifactId>
214 <version>3.3.4.RELEASE</version>
217 <groupId>org.springframework</groupId>
218 <artifactId>spring-web</artifactId>
221 <groupId>org.springframework.data</groupId>
222 <artifactId>spring-data-jpa</artifactId>
223 <version>2.3.4.RELEASE</version>
226 <groupId>org.springframework</groupId>
227 <artifactId>spring-webmvc</artifactId>
230 <groupId>org.hibernate</groupId>
231 <artifactId>hibernate-validator</artifactId>
232 <version>6.1.6.Final</version>
235 <groupId>org.eclipse.jetty</groupId>
236 <artifactId>jetty-util</artifactId>
237 <version>9.4.17.v20190418</version>
240 <groupId>com.google.guava</groupId>
241 <artifactId>guava</artifactId>
242 <version>25.0-jre</version>
245 <groupId>com.squareup.okhttp3</groupId>
246 <artifactId>okhttp</artifactId>
247 <version>3.12.1</version>
250 <groupId>commons-beanutils</groupId>
251 <artifactId>commons-beanutils</artifactId>
252 <version>1.9.4</version>
256 <groupId>org.apache.commons</groupId>
257 <artifactId>commons-csv</artifactId>
258 <version>${common.csv.version}</version>
261 <!-- jackson-databind -->
263 <groupId>com.fasterxml.jackson.core</groupId>
264 <artifactId>jackson-databind</artifactId>
265 <version>${jackson.version}</version>
268 <!-- jackson-core -->
270 <groupId>com.fasterxml.jackson.core</groupId>
271 <artifactId>jackson-core</artifactId>
272 <version>${jackson.version}</version>
275 <!-- jackson-annotations -->
277 <groupId>com.fasterxml.jackson.core</groupId>
278 <artifactId>jackson-annotations</artifactId>
279 <version>${jackson.version}</version>
283 <groupId>com.squareup.retrofit2</groupId>
284 <artifactId>retrofit</artifactId>
285 <version>2.7.2</version>
288 <groupId>com.squareup.retrofit2</groupId>
289 <artifactId>converter-jackson</artifactId>
290 <version>2.3.0</version>
293 <groupId>org.apache.httpcomponents</groupId>
294 <artifactId>httpclient</artifactId>
295 <version>4.5.13</version>
298 <groupId>com.google.code.gson</groupId>
299 <artifactId>gson</artifactId>
300 <version>2.8.9</version>
302 <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
304 <groupId>com.alibaba</groupId>
305 <artifactId>fastjson</artifactId>
306 <version>1.2.74</version>
310 <groupId>org.openecomp.sdc.jtosca</groupId>
311 <artifactId>jtosca</artifactId>
312 <version>1.1.1</version>
316 <groupId>org.onap.msb.java-sdk</groupId>
317 <artifactId>msb-java-sdk</artifactId>
318 <version>1.0.0</version>
322 <groupId>org.powermock</groupId>
323 <artifactId>powermock-api-mockito2</artifactId>
324 <version>2.0.7</version>
327 <groupId>org.mockito</groupId>
328 <artifactId>mockito-all</artifactId>
329 <version>1.9.5</version>
332 <groupId>org.powermock</groupId>
333 <artifactId>powermock-module-junit4</artifactId>
334 <version>2.0.2</version>
336 <scope>compile</scope>
339 <groupId>org.jmockit</groupId>
340 <artifactId>jmockit</artifactId>
341 <version>1.19</version>
345 <groupId>junit</groupId>
346 <artifactId>junit</artifactId>
347 <version>4.13.2</version>
350 <groupId>org.jmockit</groupId>
351 <artifactId>jmockit-coverage</artifactId>
352 <version>1.19</version>
356 <groupId>com.googlecode.json-simple</groupId>
357 <artifactId>json-simple</artifactId>
358 <version>1.1.1</version>
361 <groupId>javax.xml.bind</groupId>
362 <artifactId>jaxb-api</artifactId>
363 <version>2.3.0</version>
366 <groupId>com.sun.xml.bind</groupId>
367 <artifactId>jaxb-impl</artifactId>
368 <version>2.3.0</version>
371 <groupId>com.sun.xml.bind</groupId>
372 <artifactId>jaxb-core</artifactId>
373 <version>2.3.0</version>
376 <groupId>com.sun.activation</groupId>
377 <artifactId>javax.activation</artifactId>
378 <version>1.2.0</version>
381 <groupId>commons-io</groupId>
382 <artifactId>commons-io</artifactId>
383 <version>2.8.0</version>
387 <groupId>org.apache.ant</groupId>
388 <artifactId>ant</artifactId>
389 <version>1.10.12</version>
392 <groupId>com.sun</groupId>
393 <artifactId>tools</artifactId>
403 <groupId>org.codehaus.mojo</groupId>
404 <artifactId>versions-maven-plugin</artifactId>
405 <version>1.3.1</version>
408 <groupId>org.springframework.boot</groupId>
409 <artifactId>spring-boot-maven-plugin</artifactId>
410 <version>1.5.3.RELEASE</version>
412 <executable>true</executable>
417 <goal>repackage</goal>
423 <groupId>org.apache.maven.plugins</groupId>
424 <artifactId>maven-compiler-plugin</artifactId>
425 <version>3.3</version>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-antrun-plugin</artifactId>
434 <version>1.8</version>
437 <groupId>org.apache.maven.plugins</groupId>
438 <artifactId>maven-deploy-plugin</artifactId>
439 <version>2.8</version>
442 <groupId>org.apache.maven.plugins</groupId>
443 <artifactId>maven-surefire-plugin</artifactId>
444 <version>2.19</version>
446 <testFailureIgnore>true</testFailureIgnore>
448 <include>**/*Spec*</include>
449 <include>**/Test*.java</include>
450 <include>**/*Test.java</include>
451 <include>**/*TestCase.java</include>
452 <include>**/Test*.scala</include>
453 <include>**/*Test.scala</include>
454 <include>**/*TestCase.scala</include>
459 <groupId>org.jacoco</groupId>
460 <artifactId>jacoco-maven-plugin</artifactId>
463 <id>prepare-agent</id>
465 <goal>prepare-agent</goal>
474 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
475 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
485 <id>spring-milestones</id>
486 <name>Spring Milestones</name>
487 <url>https://repo.spring.io/milestone</url>
489 <enabled>false</enabled>
496 <id>spring-milestones</id>
497 <name>Spring Milestones</name>
498 <url>https://repo.spring.io/milestone</url>
500 <enabled>false</enabled>
503 </pluginRepositories>