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 <!-- Import dependency management from Spring Boot -->
51 <groupId>org.springframework.boot</groupId>
52 <artifactId>spring-boot-starter-parent</artifactId>
53 <version>2.3.4.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>7.12.1</version>
89 <groupId>org.elasticsearch</groupId>
90 <artifactId>elasticsearch</artifactId>
95 <groupId>org.elasticsearch</groupId>
96 <artifactId>elasticsearch</artifactId>
97 <version>7.12.1</version>
100 <groupId>org.elasticsearch.client</groupId>
101 <artifactId>elasticsearch-rest-client</artifactId>
102 <version>7.12.1</version>
105 <groupId>org.springframework.data</groupId>
106 <artifactId>spring-data-rest-hal-browser</artifactId>
107 <version>3.3.9.RELEASE</version>
110 <groupId>org.springframework.boot</groupId>
111 <artifactId>spring-boot-starter-jersey</artifactId>
113 <!-- postgresql dependency-->
115 <groupId>postgresql</groupId>
116 <artifactId>postgresql</artifactId>
117 <version>9.3-1102.jdbc4</version>
121 <groupId>org.projectlombok</groupId>
122 <artifactId>lombok</artifactId>
123 <version>1.18.2</version>
124 <optional>true</optional>
127 <groupId>org.springframework.boot</groupId>
128 <artifactId>spring-boot-starter-test</artifactId>
132 <groupId>org.mockito</groupId>
133 <artifactId>mockito-core</artifactId>
138 <groupId>org.springframework.restdocs</groupId>
139 <artifactId>spring-restdocs-mockmvc</artifactId>
143 <groupId>org.springframework.security</groupId>
144 <artifactId>spring-security-test</artifactId>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-orm</artifactId>
152 <groupId>org.springframework</groupId>
153 <artifactId>spring-context</artifactId>
156 <groupId>org.springframework</groupId>
157 <artifactId>spring-jdbc</artifactId>
160 <groupId>org.hibernate</groupId>
161 <artifactId>hibernate-core</artifactId>
162 <version>${hibernate.version}</version>
165 <groupId>javax.persistence</groupId>
166 <artifactId>persistence-api</artifactId>
167 <version>${javax.persistence.version}</version>
170 <!-- security vulnerabilities -->
172 <groupId>org.apache.tomcat.embed</groupId>
173 <artifactId>tomcat-embed-websocket</artifactId>
174 <version>8.5.58</version>
177 <groupId>ch.qos.logback</groupId>
178 <artifactId>logback-classic</artifactId>
179 <version>1.2.3</version>
182 <groupId>org.eclipse.jetty</groupId>
183 <artifactId>jetty-http</artifactId>
184 <version>9.4.14.v20181114</version>
187 <groupId>org.eclipse.jetty</groupId>
188 <artifactId>jetty-server</artifactId>
189 <version>9.4.17.v20190418</version>
192 <groupId>org.springframework</groupId>
193 <artifactId>spring-expression</artifactId>
194 <version>5.2.9.RELEASE</version>
197 <groupId>org.springframework.data</groupId>
198 <artifactId>spring-data-commons</artifactId>
199 <version>2.3.4.RELEASE</version>
202 <groupId>org.springframework</groupId>
203 <artifactId>spring-core</artifactId>
204 <version>5.2.9.RELEASE</version>
207 <groupId>org.springframework.data</groupId>
208 <artifactId>spring-data-rest-webmvc</artifactId>
209 <version>3.3.4.RELEASE</version>
212 <groupId>org.springframework</groupId>
213 <artifactId>spring-web</artifactId>
214 <version>5.2.14.RELEASE</version>
217 <groupId>org.springframework.data</groupId>
218 <artifactId>spring-data-jpa</artifactId>
219 <version>2.3.4.RELEASE</version>
222 <groupId>org.springframework</groupId>
223 <artifactId>spring-webmvc</artifactId>
224 <version>5.2.9.RELEASE</version>
227 <groupId>org.hibernate</groupId>
228 <artifactId>hibernate-validator</artifactId>
229 <version>6.1.6.Final</version>
232 <groupId>org.eclipse.jetty</groupId>
233 <artifactId>jetty-util</artifactId>
234 <version>9.4.17.v20190418</version>
237 <groupId>com.google.guava</groupId>
238 <artifactId>guava</artifactId>
239 <version>25.0-jre</version>
242 <groupId>com.squareup.okhttp3</groupId>
243 <artifactId>okhttp</artifactId>
244 <version>3.12.1</version>
247 <groupId>commons-beanutils</groupId>
248 <artifactId>commons-beanutils</artifactId>
249 <version>1.9.4</version>
253 <groupId>org.apache.commons</groupId>
254 <artifactId>commons-csv</artifactId>
255 <version>${common.csv.version}</version>
258 <!-- jackson-databind -->
260 <groupId>com.fasterxml.jackson.core</groupId>
261 <artifactId>jackson-databind</artifactId>
262 <version>${jackson.version}</version>
265 <!-- jackson-core -->
267 <groupId>com.fasterxml.jackson.core</groupId>
268 <artifactId>jackson-core</artifactId>
269 <version>${jackson.version}</version>
272 <!-- jackson-annotations -->
274 <groupId>com.fasterxml.jackson.core</groupId>
275 <artifactId>jackson-annotations</artifactId>
276 <version>${jackson.version}</version>
280 <groupId>com.squareup.retrofit2</groupId>
281 <artifactId>retrofit</artifactId>
282 <version>2.7.2</version>
285 <groupId>com.squareup.retrofit2</groupId>
286 <artifactId>converter-jackson</artifactId>
287 <version>2.3.0</version>
290 <groupId>org.apache.httpcomponents</groupId>
291 <artifactId>httpclient</artifactId>
292 <version>4.5.13</version>
295 <groupId>com.google.code.gson</groupId>
296 <artifactId>gson</artifactId>
297 <version>2.8.6</version>
299 <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
301 <groupId>com.alibaba</groupId>
302 <artifactId>fastjson</artifactId>
303 <version>1.2.74</version>
307 <groupId>com.alibaba</groupId>
308 <artifactId>dubbo</artifactId>
309 <version>2.6.9</version>
312 <groupId>org.openecomp.sdc.jtosca</groupId>
313 <artifactId>jtosca</artifactId>
314 <version>1.1.1</version>
318 <groupId>org.onap.msb.java-sdk</groupId>
319 <artifactId>msb-java-sdk</artifactId>
320 <version>1.0.0</version>
324 <groupId>org.powermock</groupId>
325 <artifactId>powermock-api-mockito2</artifactId>
326 <version>2.0.7</version>
329 <groupId>org.mockito</groupId>
330 <artifactId>mockito-all</artifactId>
331 <version>1.9.5</version>
334 <groupId>org.powermock</groupId>
335 <artifactId>powermock-module-junit4</artifactId>
336 <version>2.0.2</version>
338 <scope>compile</scope>
341 <groupId>org.jmockit</groupId>
342 <artifactId>jmockit</artifactId>
343 <version>1.19</version>
347 <groupId>junit</groupId>
348 <artifactId>junit</artifactId>
349 <version>4.12</version>
352 <groupId>org.jmockit</groupId>
353 <artifactId>jmockit-coverage</artifactId>
354 <version>1.19</version>
358 <groupId>com.googlecode.json-simple</groupId>
359 <artifactId>json-simple</artifactId>
360 <version>1.1.1</version>
363 <groupId>javax.xml.bind</groupId>
364 <artifactId>jaxb-api</artifactId>
365 <version>2.3.0</version>
368 <groupId>com.sun.xml.bind</groupId>
369 <artifactId>jaxb-impl</artifactId>
370 <version>2.3.0</version>
373 <groupId>com.sun.xml.bind</groupId>
374 <artifactId>jaxb-core</artifactId>
375 <version>2.3.0</version>
378 <groupId>com.sun.activation</groupId>
379 <artifactId>javax.activation</artifactId>
380 <version>1.2.0</version>
383 <groupId>commons-io</groupId>
384 <artifactId>commons-io</artifactId>
385 <version>2.8.0</version>
389 <groupId>org.apache.ant</groupId>
390 <artifactId>ant</artifactId>
391 <version>1.10.0</version>
399 <groupId>org.codehaus.mojo</groupId>
400 <artifactId>versions-maven-plugin</artifactId>
401 <version>1.3.1</version>
404 <groupId>org.springframework.boot</groupId>
405 <artifactId>spring-boot-maven-plugin</artifactId>
407 <executable>true</executable>
412 <goal>repackage</goal>
418 <groupId>org.apache.maven.plugins</groupId>
419 <artifactId>maven-compiler-plugin</artifactId>
420 <version>3.3</version>
427 <groupId>org.apache.maven.plugins</groupId>
428 <artifactId>maven-antrun-plugin</artifactId>
429 <version>1.8</version>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-deploy-plugin</artifactId>
434 <version>2.8</version>
437 <groupId>org.apache.maven.plugins</groupId>
438 <artifactId>maven-surefire-plugin</artifactId>
439 <version>2.19</version>
441 <testFailureIgnore>true</testFailureIgnore>
443 <include>**/*Spec*</include>
444 <include>**/Test*.java</include>
445 <include>**/*Test.java</include>
446 <include>**/*TestCase.java</include>
447 <include>**/Test*.scala</include>
448 <include>**/*Test.scala</include>
449 <include>**/*TestCase.scala</include>
454 <groupId>org.jacoco</groupId>
455 <artifactId>jacoco-maven-plugin</artifactId>
458 <id>prepare-agent</id>
460 <goal>prepare-agent</goal>
469 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
470 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
480 <id>spring-milestones</id>
481 <name>Spring Milestones</name>
482 <url>https://repo.spring.io/milestone</url>
484 <enabled>false</enabled>
491 <id>spring-milestones</id>
492 <name>Spring Milestones</name>
493 <url>https://repo.spring.io/milestone</url>
495 <enabled>false</enabled>
498 </pluginRepositories>