1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2023 Nordix Foundation
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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===================================
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>
26 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
27 <artifactId>rappmanager</artifactId>
28 <version>0.1.0-SNAPSHOT</version>
31 <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
32 <artifactId>rapp-manager-sme</artifactId>
35 <maven.compiler.source>${java.version}</maven.compiler.source>
36 <maven.compiler.target>${java.version}</maven.compiler.target>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46 <family>Windows</family>
50 <script.extension>.bat</script.extension>
51 <file.separator>\</file.separator>
62 <script.extension>.sh</script.extension>
63 <file.separator>/</file.separator>
70 <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
71 <artifactId>rapp-manager-models</artifactId>
72 <version>${project.version}</version>
75 <groupId>org.springframework.boot</groupId>
76 <artifactId>spring-boot-starter-web</artifactId>
79 <groupId>org.projectlombok</groupId>
80 <artifactId>lombok</artifactId>
81 <optional>true</optional>
84 <groupId>org.openapitools</groupId>
85 <artifactId>jackson-databind-nullable</artifactId>
86 <version>${openapi.jackson.databind.nullable.version}</version>
89 <groupId>org.springframework.boot</groupId>
90 <artifactId>spring-boot-starter-test</artifactId>
94 <groupId>org.apache.httpcomponents</groupId>
95 <artifactId>httpcore</artifactId>
96 <version>${apache.httpcore.version}</version>
104 <groupId>org.codehaus.mojo</groupId>
105 <artifactId>exec-maven-plugin</artifactId>
106 <version>${exec-maven-plugin.version}</version>
109 <id>git submodule update</id>
110 <phase>initialize</phase>
112 <executable>git</executable>
114 <argument>submodule</argument>
115 <argument>update</argument>
116 <argument>--init</argument>
117 <argument>--recursive</argument>
125 <id>initialize-sme-openapi-specs</id>
126 <phase>initialize</phase>
132 ..${file.separator}scripts${file.separator}init${file.separator}init-sme-spec${script.extension}
139 <groupId>org.openapitools</groupId>
140 <artifactId>openapi-generator-maven-plugin</artifactId>
141 <version>${openapi.maven.version}</version>
144 <id>provider-spec-generator</id>
146 <goal>generate</goal>
150 ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_API_Provider_Management_API.yaml
152 <generatorName>java</generatorName>
153 <library>resttemplate</library>
154 <generateApiTests>false</generateApiTests>
155 <generateModelTests>false</generateModelTests>
156 <generateApiDocumentation>false</generateApiDocumentation>
157 <generateModelDocumentation>false</generateModelDocumentation>
158 <generateModels>true</generateModels>
159 <additionalProperties>
160 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
161 </additionalProperties>
163 <sourceFolder>src/main/java</sourceFolder>
164 <useJakartaEe>true</useJakartaEe>
165 <invokerPackage>com.oransc.rappmanager.sme.provider</invokerPackage>
166 <apiPackage>com.oransc.rappmanager.sme.provider.rest</apiPackage>
167 <modelPackage>com.oransc.rappmanager.sme.provider.data</modelPackage>
168 <generateClientAsBean>false</generateClientAsBean>
173 <id>publish-service-spec-generator</id>
175 <goal>generate</goal>
179 ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_Publish_Service_API.yaml
181 <generatorName>java</generatorName>
182 <library>resttemplate</library>
183 <generateApiTests>false</generateApiTests>
184 <generateModelTests>false</generateModelTests>
185 <generateApiDocumentation>false</generateApiDocumentation>
186 <generateModelDocumentation>false</generateModelDocumentation>
187 <generateModels>true</generateModels>
188 <additionalProperties>
189 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
190 </additionalProperties>
192 <sourceFolder>src/main/java</sourceFolder>
193 <useJakartaEe>true</useJakartaEe>
194 <invokerPackage>com.oransc.rappmanager.sme.publishservice</invokerPackage>
195 <apiPackage>com.oransc.rappmanager.sme.publishservice.rest</apiPackage>
196 <modelPackage>com.oransc.rappmanager.sme.publishservice.data</modelPackage>
197 <generateClientAsBean>false</generateClientAsBean>
202 <id>invoker-spec-generator</id>
204 <goal>generate</goal>
208 ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_API_Invoker_Management_API.yaml
210 <generatorName>java</generatorName>
211 <library>resttemplate</library>
212 <generateApiTests>false</generateApiTests>
213 <generateModelTests>false</generateModelTests>
214 <generateApiDocumentation>false</generateApiDocumentation>
215 <generateModelDocumentation>false</generateModelDocumentation>
216 <generateModels>true</generateModels>
217 <additionalProperties>
218 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
219 </additionalProperties>
221 <sourceFolder>src/main/java</sourceFolder>
222 <useJakartaEe>true</useJakartaEe>
223 <invokerPackage>com.oransc.rappmanager.sme.invoker</invokerPackage>
224 <apiPackage>com.oransc.rappmanager.sme.invoker.rest</apiPackage>
225 <modelPackage>com.oransc.rappmanager.sme.invoker.data</modelPackage>
226 <generateClientAsBean>false</generateClientAsBean>