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