Change the release version to 13.0.0
[usecase-ui/server.git] / server / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (C) 2017 CMCC, Inc. and others. All rights reserved.
4
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
8
9         http://www.apache.org/licenses/LICENSE-2.0
10
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.
16  -->
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>
19     <parent>
20         <groupId>org.onap.usecase-ui.server</groupId>
21         <artifactId>usecase-ui-server-parent</artifactId>
22         <version>13.0.0-SNAPSHOT</version>
23     </parent>
24
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>
29
30     <properties>
31         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
33         <java.version>17</java.version>
34         <sonar.language>java</sonar.language>
35         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
36         <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
37         </sonar.coverage.jacoco.xmlReportPaths>
38         <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
39         <sonar.projectVersion>${project.version}</sonar.projectVersion>
40         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
41     </properties>
42
43     <dependencyManagement>
44         <dependencies>
45             <dependency>
46                 <groupId>org.springframework</groupId>
47                 <artifactId>spring-framework-bom</artifactId>
48                 <version>6.0.12</version>
49                 <type>pom</type>
50                 <scope>import</scope>
51             </dependency>
52             <dependency>
53                 <!-- Import dependency management from Spring Boot -->
54                 <groupId>org.springframework.boot</groupId>
55                 <artifactId>spring-boot-dependencies</artifactId>
56                 <version>3.0.11</version>
57                 <type>pom</type>
58                 <scope>import</scope>
59             </dependency>
60         </dependencies>
61     </dependencyManagement>
62
63     <dependencies>
64         <dependency>
65             <groupId>org.springframework.boot</groupId>
66             <artifactId>spring-boot-starter-actuator</artifactId>
67             <exclusions>
68                 <exclusion>
69                     <groupId>org.yaml</groupId>
70                     <artifactId>snakeyaml</artifactId>
71                 </exclusion>
72             </exclusions>
73         </dependency>
74         <dependency>
75             <groupId>org.springframework.boot</groupId>
76             <artifactId>spring-boot-starter-data-jpa</artifactId>
77             <exclusions>
78                 <exclusion>
79                     <groupId>org.apache.tomcat</groupId>
80                     <artifactId>tomcat-jdbc</artifactId>
81                 </exclusion>
82             </exclusions>
83         </dependency>
84         <dependency>
85             <groupId>org.postgresql</groupId>
86             <artifactId>postgresql</artifactId>
87             <version>42.6.0</version>
88         </dependency>
89         <dependency>
90             <groupId>org.springframework.boot</groupId>
91             <artifactId>spring-boot-starter-data-rest</artifactId>
92         </dependency>
93         <dependency>
94             <groupId>org.projectlombok</groupId>
95             <artifactId>lombok</artifactId>
96             <version>1.18.30</version>
97             <optional>true</optional>
98         </dependency>
99
100         <dependency>
101             <groupId>ch.qos.logback</groupId>
102             <artifactId>logback-classic</artifactId>
103         </dependency>
104
105         <dependency>
106             <groupId>com.squareup.okio</groupId>
107             <artifactId>okio</artifactId>
108             <version>3.5.0</version>
109         </dependency>
110         <dependency>
111             <groupId>com.google.guava</groupId>
112             <artifactId>guava</artifactId>
113             <version>32.1.2-jre</version>
114         </dependency>
115         <dependency>
116             <groupId>com.squareup.okhttp3</groupId>
117             <artifactId>okhttp</artifactId>
118             <version>4.9.3</version>
119             <exclusions>
120                 <exclusion>
121                     <artifactId>kotlin-stdlib</artifactId>
122                     <groupId>org.jetbrains.kotlin</groupId>
123                 </exclusion>
124             </exclusions>
125         </dependency>
126         <dependency>
127             <groupId>commons-beanutils</groupId>
128             <artifactId>commons-beanutils</artifactId>
129             <version>1.9.4</version>
130             <exclusions>
131                 <exclusion>
132                     <groupId>commons-logging</groupId>
133                     <artifactId>commons-logging</artifactId>
134                 </exclusion>
135             </exclusions>
136         </dependency>
137
138         <!-- jackson-databind -->
139         <dependency>
140             <groupId>com.fasterxml.jackson.core</groupId>
141             <artifactId>jackson-databind</artifactId>
142             <version>2.15.2</version>
143         </dependency>
144
145         <!-- jackson-core -->
146         <dependency>
147             <groupId>com.fasterxml.jackson.core</groupId>
148             <artifactId>jackson-core</artifactId>
149             <version>2.15.2</version>
150         </dependency>
151
152         <!-- jackson-annotations -->
153         <dependency>
154             <groupId>com.fasterxml.jackson.core</groupId>
155             <artifactId>jackson-annotations</artifactId>
156             <version>2.15.2</version>
157         </dependency>
158
159         <dependency>
160             <groupId>com.squareup.retrofit2</groupId>
161             <artifactId>retrofit</artifactId>
162             <version>2.7.2</version>
163             <exclusions>
164                 <exclusion>
165                     <artifactId>okhttp</artifactId>
166                     <groupId>com.squareup.okhttp3</groupId>
167                 </exclusion>
168             </exclusions>
169         </dependency>
170         <dependency>
171             <groupId>com.squareup.retrofit2</groupId>
172             <artifactId>converter-jackson</artifactId>
173             <version>2.3.0</version>
174         </dependency>
175         <dependency>
176             <groupId>com.google.code.gson</groupId>
177             <artifactId>gson</artifactId>
178             <version>2.8.9</version>
179         </dependency>
180         <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
181         <dependency>
182             <groupId>com.alibaba</groupId>
183             <artifactId>fastjson</artifactId>
184             <version>2.0.6</version>
185         </dependency>
186
187         <dependency>
188             <groupId>org.openecomp.sdc.jtosca</groupId>
189             <artifactId>jtosca</artifactId>
190             <version>1.1.1</version>
191         </dependency>
192
193         <dependency>
194             <groupId>org.onap.msb.java-sdk</groupId>
195             <artifactId>msb-java-sdk</artifactId>
196             <version>1.0.0</version>
197         </dependency>
198         <dependency>
199             <groupId>org.powermock</groupId>
200             <artifactId>powermock-api-mockito2</artifactId>
201             <version>2.0.2</version>
202             <exclusions>
203                 <exclusion>
204                     <groupId>org.mockito</groupId>
205                     <artifactId>mockito-core</artifactId>
206                 </exclusion>
207             </exclusions>
208         </dependency>
209         <dependency>
210             <groupId>org.mockito</groupId>
211             <artifactId>mockito-core</artifactId>
212             <version>2.23.0</version>
213             <scope>compile</scope>
214         </dependency>
215
216         <dependency>
217             <groupId>org.powermock</groupId>
218             <artifactId>powermock-module-junit4</artifactId>
219             <version>2.0.2</version>
220             <type>jar</type>
221             <scope>compile</scope>
222         </dependency>
223         <dependency>
224             <groupId>junit</groupId>
225             <artifactId>junit</artifactId>
226             <version>4.13.1</version>
227         </dependency>
228
229         <dependency>
230             <groupId>com.googlecode.json-simple</groupId>
231             <artifactId>json-simple</artifactId>
232             <version>1.1.1</version>
233         </dependency>
234         <dependency>
235             <groupId>com.sun.activation</groupId>
236             <artifactId>jakarta.activation</artifactId>
237             <version>2.0.0</version>
238         </dependency>
239         <dependency>
240             <groupId>commons-io</groupId>
241             <artifactId>commons-io</artifactId>
242             <version>2.8.0</version>
243         </dependency>
244         <dependency>
245             <groupId>org.apache.ant</groupId>
246             <artifactId>ant</artifactId>
247             <version>1.10.12</version>
248             <exclusions>
249                 <exclusion>
250                     <groupId>com.sun</groupId>
251                     <artifactId>tools</artifactId>
252                 </exclusion>
253             </exclusions>
254         </dependency>
255
256     </dependencies>
257
258     <build>
259         <plugins>
260             <plugin>
261                 <groupId>org.codehaus.mojo</groupId>
262                 <artifactId>versions-maven-plugin</artifactId>
263                 <version>1.3.1</version>
264             </plugin>
265             <plugin>
266                 <groupId>org.springframework.boot</groupId>
267                 <artifactId>spring-boot-maven-plugin</artifactId>
268                 <version>3.0.11</version>
269                 <configuration>
270                     <executable>true</executable>
271                 </configuration>
272                 <executions>
273                     <execution>
274                         <goals>
275                             <goal>repackage</goal>
276                         </goals>
277                     </execution>
278                 </executions>
279             </plugin>
280             <plugin>
281                 <groupId>org.apache.maven.plugins</groupId>
282                 <artifactId>maven-compiler-plugin</artifactId>
283                 <version>3.11.0</version>
284                 <configuration>
285                     <source>17</source>
286                     <target>17</target>
287                 </configuration>
288             </plugin>
289             <plugin>
290                 <groupId>org.apache.maven.plugins</groupId>
291                 <artifactId>maven-antrun-plugin</artifactId>
292                 <version>3.1.0</version>
293             </plugin>
294             <plugin>
295                 <groupId>org.apache.maven.plugins</groupId>
296                 <artifactId>maven-deploy-plugin</artifactId>
297                 <version>3.0.0</version>
298             </plugin>
299             <plugin>
300                 <groupId>org.apache.maven.plugins</groupId>
301                 <artifactId>maven-surefire-plugin</artifactId>
302                 <version>2.22.2</version>
303                 <configuration>
304                     <testFailureIgnore>true</testFailureIgnore>
305                     <includes>
306                         <include>**/*Spec*</include>
307                         <include>**/Test*.java</include>
308                         <include>**/*Test.java</include>
309                         <include>**/*TestCase.java</include>
310                         <include>**/Test*.scala</include>
311                         <include>**/*Test.scala</include>
312                         <include>**/*TestCase.scala</include>
313                     </includes>
314                 </configuration>
315             </plugin>
316             <plugin>
317                 <groupId>org.jacoco</groupId>
318                 <artifactId>jacoco-maven-plugin</artifactId>
319                 <version>0.8.5</version>
320                 <executions>
321                     <execution>
322                         <id>prepare-agent</id>
323                         <goals>
324                             <goal>prepare-agent</goal>
325                         </goals>
326                     </execution>
327                     <execution>
328                         <id>report</id>
329                         <goals>
330                             <goal>report</goal>
331                         </goals>
332                         <configuration>
333                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
334                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
335                         </configuration>
336                     </execution>
337                 </executions>
338             </plugin>
339         </plugins>
340     </build>
341
342     <repositories>
343         <repository>
344             <id>spring-milestones</id>
345             <name>Spring Milestones</name>
346             <url>https://repo.spring.io/milestone</url>
347             <snapshots>
348                 <enabled>false</enabled>
349             </snapshots>
350         </repository>
351     </repositories>
352
353     <pluginRepositories>
354         <pluginRepository>
355             <id>spring-milestones</id>
356             <name>Spring Milestones</name>
357             <url>https://repo.spring.io/milestone</url>
358             <snapshots>
359                 <enabled>false</enabled>
360             </snapshots>
361         </pluginRepository>
362     </pluginRepositories>
363 </project>