Upgrade dependencies version
[nonrtric/plt/rappmanager.git] / rapp-manager-dme / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * ========================LICENSE_START=================================
4 * O-RAN-SC
5 * %%
6 * Copyright (C) 2023 Nordix Foundation
7 * %%
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ========================LICENSE_END===================================
20 -->
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <groupId>org.o-ran-sc.nonrtric.plt</groupId>
27         <artifactId>rappmanager</artifactId>
28         <version>0.1.0-SNAPSHOT</version>
29     </parent>
30
31     <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
32     <artifactId>rapp-manager-dme</artifactId>
33
34     <properties>
35         <maven.compiler.source>17</maven.compiler.source>
36         <maven.compiler.target>17</maven.compiler.target>
37         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38     </properties>
39
40     <dependencies>
41         <dependency>
42             <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
43             <artifactId>rapp-manager-models</artifactId>
44             <version>${project.version}</version>
45         </dependency>
46         <dependency>
47             <groupId>org.springframework.boot</groupId>
48             <artifactId>spring-boot-starter-web</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.openapitools</groupId>
52             <artifactId>jackson-databind-nullable</artifactId>
53             <version>${openapi.jackson.databind.nullable.version}</version>
54         </dependency>
55         <dependency>
56             <groupId>org.projectlombok</groupId>
57             <artifactId>lombok</artifactId>
58             <optional>true</optional>
59         </dependency>
60         <dependency>
61             <groupId>org.springframework.boot</groupId>
62             <artifactId>spring-boot-starter-test</artifactId>
63             <scope>test</scope>
64         </dependency>
65     </dependencies>
66
67     <build>
68         <plugins>
69             <plugin>
70                 <groupId>org.openapitools</groupId>
71                 <artifactId>openapi-generator-maven-plugin</artifactId>
72                 <version>${openapi.maven.version}</version>
73                 <executions>
74                     <execution>
75                         <id>dme-spec-generator</id>
76                         <goals>
77                             <goal>generate</goal>
78                         </goals>
79                         <configuration>
80                             <inputSpec>${project.parent.basedir}/openapi/dme/ics-api.yaml</inputSpec>
81                             <generatorName>java</generatorName>
82                             <library>resttemplate</library>
83                             <generateApiTests>false</generateApiTests>
84                             <generateModelTests>false</generateModelTests>
85                             <generateApiDocumentation>false</generateApiDocumentation>
86                             <generateModelDocumentation>false</generateModelDocumentation>
87                             <generateModels>true</generateModels>
88                             <additionalProperties>
89                                 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
90                             </additionalProperties>
91                             <configOptions>
92                                 <sourceFolder>src/main/java</sourceFolder>
93                                 <useJakartaEe>true</useJakartaEe>
94                                 <invokerPackage>com.oransc.rappmanager.dme</invokerPackage>
95                                 <apiPackage>com.oransc.rappmanager.dme.rest</apiPackage>
96                                 <modelPackage>com.oransc.rappmanager.dme.data</modelPackage>
97                                 <generateClientAsBean>false</generateClientAsBean>
98                             </configOptions>
99                         </configuration>
100                     </execution>
101                 </executions>
102             </plugin>
103         </plugins>
104     </build>
105
106 </project>