1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2023 Nordix Foundation
7 * Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved.
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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===================================
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>
27 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
28 <artifactId>rappmanager</artifactId>
29 <version>0.2.0-SNAPSHOT</version>
32 <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
33 <artifactId>rapp-manager-sme</artifactId>
36 <maven.compiler.source>${java.version}</maven.compiler.source>
37 <maven.compiler.target>${java.version}</maven.compiler.target>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
44 <artifactId>rapp-manager-models</artifactId>
45 <version>${project.version}</version>
48 <groupId>org.springframework.boot</groupId>
49 <artifactId>spring-boot-starter-web</artifactId>
52 <groupId>org.projectlombok</groupId>
53 <artifactId>lombok</artifactId>
54 <optional>true</optional>
57 <groupId>org.openapitools</groupId>
58 <artifactId>jackson-databind-nullable</artifactId>
59 <version>${openapi.jackson.databind.nullable.version}</version>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-test</artifactId>
67 <groupId>org.apache.httpcomponents</groupId>
68 <artifactId>httpcore</artifactId>
69 <version>${apache.httpcore.version}</version>
77 <groupId>org.codehaus.mojo</groupId>
78 <artifactId>exec-maven-plugin</artifactId>
79 <version>${exec-maven-plugin.version}</version>
82 <id>git submodule update</id>
83 <phase>initialize</phase>
85 <executable>git</executable>
87 <argument>submodule</argument>
88 <argument>update</argument>
89 <argument>--init</argument>
90 <argument>--recursive</argument>
98 <id>initialize-sme-openapi-specs</id>
99 <phase>generate-sources</phase>
105 ${project.parent.basedir}/sme/capifcore
111 <argument>run</argument>
112 <argument>getsmeswagger.go</argument>
119 <artifactId>maven-resources-plugin</artifactId>
120 <version>${copy-resources-maven-plugin.version}</version>
123 <id>copy-swagger-generator</id>
124 <phase>initialize</phase>
126 <goal>copy-resources</goal>
129 <outputDirectory>${project.parent.basedir}/sme/capifcore</outputDirectory>
132 <directory>${project.parent.basedir}/scripts/init/</directory>
134 <include>getsmeswagger.go</include>
136 <filtering>false</filtering>
144 <groupId>org.openapitools</groupId>
145 <artifactId>openapi-generator-maven-plugin</artifactId>
146 <version>${openapi.maven.version}</version>
149 <id>provider-spec-generator</id>
151 <goal>generate</goal>
155 ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_API_Provider_Management_API.yaml
157 <generatorName>java</generatorName>
158 <library>resttemplate</library>
159 <generateApiTests>false</generateApiTests>
160 <generateModelTests>false</generateModelTests>
161 <generateApiDocumentation>false</generateApiDocumentation>
162 <generateModelDocumentation>false</generateModelDocumentation>
163 <generateModels>true</generateModels>
164 <additionalProperties>
165 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
166 </additionalProperties>
168 <sourceFolder>src/main/java</sourceFolder>
169 <useJakartaEe>true</useJakartaEe>
170 <invokerPackage>org.oransc.rappmanager.sme.provider</invokerPackage>
171 <apiPackage>org.oransc.rappmanager.sme.provider.rest</apiPackage>
172 <modelPackage>org.oransc.rappmanager.sme.provider.data</modelPackage>
173 <generateClientAsBean>false</generateClientAsBean>
178 <id>publish-service-spec-generator</id>
180 <goal>generate</goal>
184 ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_Publish_Service_API.yaml
186 <generatorName>java</generatorName>
187 <library>resttemplate</library>
188 <generateApiTests>false</generateApiTests>
189 <generateModelTests>false</generateModelTests>
190 <generateApiDocumentation>false</generateApiDocumentation>
191 <generateModelDocumentation>false</generateModelDocumentation>
192 <generateModels>true</generateModels>
193 <additionalProperties>
194 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
195 </additionalProperties>
197 <sourceFolder>src/main/java</sourceFolder>
198 <useJakartaEe>true</useJakartaEe>
199 <invokerPackage>org.oransc.rappmanager.sme.publishservice</invokerPackage>
200 <apiPackage>org.oransc.rappmanager.sme.publishservice.rest</apiPackage>
201 <modelPackage>org.oransc.rappmanager.sme.publishservice.data</modelPackage>
202 <generateClientAsBean>false</generateClientAsBean>
207 <id>invoker-spec-generator</id>
209 <goal>generate</goal>
213 ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_API_Invoker_Management_API.yaml
215 <generatorName>java</generatorName>
216 <library>resttemplate</library>
217 <generateApiTests>false</generateApiTests>
218 <generateModelTests>false</generateModelTests>
219 <generateApiDocumentation>false</generateApiDocumentation>
220 <generateModelDocumentation>false</generateModelDocumentation>
221 <generateModels>true</generateModels>
222 <additionalProperties>
223 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
224 </additionalProperties>
226 <sourceFolder>src/main/java</sourceFolder>
227 <useJakartaEe>true</useJakartaEe>
228 <invokerPackage>org.oransc.rappmanager.sme.invoker</invokerPackage>
229 <apiPackage>org.oransc.rappmanager.sme.invoker.rest</apiPackage>
230 <modelPackage>org.oransc.rappmanager.sme.invoker.data</modelPackage>
231 <generateClientAsBean>false</generateClientAsBean>