blob: eb82cfa4e0771d3733883ea1ef86434856083b20 [file] [log] [blame]
aravind.est347f1782023-07-14 09:53:41 +01001<?xml version="1.0" encoding="UTF-8"?>
aravind.estc7d8cf92023-08-22 17:50:58 +01002<!--
3* ========================LICENSE_START=================================
4* O-RAN-SC
5* %%
6* Copyright (C) 2023 Nordix Foundation
aravind.est1eda1b72024-03-06 09:27:03 +00007* Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved.
aravind.estc7d8cf92023-08-22 17:50:58 +01008* %%
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-->
aravind.est347f1782023-07-14 09:53:41 +010022<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>
aravind.estc7d8cf92023-08-22 17:50:58 +010027 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
aravind.est347f1782023-07-14 09:53:41 +010028 <artifactId>rappmanager</artifactId>
JohnKeeneya6b6c732023-12-15 14:38:01 +000029 <version>0.1.0-SNAPSHOT</version>
aravind.est347f1782023-07-14 09:53:41 +010030 </parent>
31
aravind.estc7d8cf92023-08-22 17:50:58 +010032 <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
aravind.est347f1782023-07-14 09:53:41 +010033 <artifactId>rapp-manager-sme</artifactId>
34
35 <properties>
aravind.estfbe22212023-08-09 11:11:15 +010036 <maven.compiler.source>${java.version}</maven.compiler.source>
37 <maven.compiler.target>${java.version}</maven.compiler.target>
aravind.est347f1782023-07-14 09:53:41 +010038 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
aravind.estfbe22212023-08-09 11:11:15 +010039
aravind.est347f1782023-07-14 09:53:41 +010040 </properties>
aravind.est347f1782023-07-14 09:53:41 +010041 <dependencies>
42 <dependency>
aravind.estc7d8cf92023-08-22 17:50:58 +010043 <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
aravind.est347f1782023-07-14 09:53:41 +010044 <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.projectlombok</groupId>
53 <artifactId>lombok</artifactId>
54 <optional>true</optional>
55 </dependency>
56 <dependency>
57 <groupId>org.openapitools</groupId>
58 <artifactId>jackson-databind-nullable</artifactId>
aravind.estfbe22212023-08-09 11:11:15 +010059 <version>${openapi.jackson.databind.nullable.version}</version>
aravind.est347f1782023-07-14 09:53:41 +010060 </dependency>
aravind.esta071d6b2023-07-26 12:24:30 +010061 <dependency>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-test</artifactId>
64 <scope>test</scope>
65 </dependency>
66 <dependency>
67 <groupId>org.apache.httpcomponents</groupId>
68 <artifactId>httpcore</artifactId>
aravind.estfbe22212023-08-09 11:11:15 +010069 <version>${apache.httpcore.version}</version>
aravind.esta071d6b2023-07-26 12:24:30 +010070 <scope>test</scope>
71 </dependency>
aravind.est347f1782023-07-14 09:53:41 +010072 </dependencies>
73
74 <build>
75 <plugins>
76 <plugin>
77 <groupId>org.codehaus.mojo</groupId>
78 <artifactId>exec-maven-plugin</artifactId>
79 <version>${exec-maven-plugin.version}</version>
80 <executions>
81 <execution>
82 <id>git submodule update</id>
83 <phase>initialize</phase>
84 <configuration>
85 <executable>git</executable>
86 <arguments>
87 <argument>submodule</argument>
88 <argument>update</argument>
89 <argument>--init</argument>
90 <argument>--recursive</argument>
91 </arguments>
92 </configuration>
93 <goals>
94 <goal>exec</goal>
95 </goals>
96 </execution>
97 <execution>
98 <id>initialize-sme-openapi-specs</id>
99 <phase>initialize</phase>
100 <goals>
101 <goal>exec</goal>
102 </goals>
103 <configuration>
aravind.est3ba4f282023-07-28 14:48:29 +0100104 <executable>
105 ..${file.separator}scripts${file.separator}init${file.separator}init-sme-spec${script.extension}
106 </executable>
aravind.est347f1782023-07-14 09:53:41 +0100107 </configuration>
108 </execution>
109 </executions>
110 </plugin>
111 <plugin>
112 <groupId>org.openapitools</groupId>
113 <artifactId>openapi-generator-maven-plugin</artifactId>
114 <version>${openapi.maven.version}</version>
115 <executions>
116 <execution>
117 <id>provider-spec-generator</id>
118 <goals>
119 <goal>generate</goal>
120 </goals>
121 <configuration>
122 <inputSpec>
aravind.estdcd17662023-10-12 15:23:09 +0100123 ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_API_Provider_Management_API.yaml
aravind.est347f1782023-07-14 09:53:41 +0100124 </inputSpec>
125 <generatorName>java</generatorName>
126 <library>resttemplate</library>
127 <generateApiTests>false</generateApiTests>
128 <generateModelTests>false</generateModelTests>
129 <generateApiDocumentation>false</generateApiDocumentation>
130 <generateModelDocumentation>false</generateModelDocumentation>
131 <generateModels>true</generateModels>
132 <additionalProperties>
133 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
134 </additionalProperties>
135 <configOptions>
136 <sourceFolder>src/main/java</sourceFolder>
137 <useJakartaEe>true</useJakartaEe>
138 <invokerPackage>com.oransc.rappmanager.sme.provider</invokerPackage>
139 <apiPackage>com.oransc.rappmanager.sme.provider.rest</apiPackage>
140 <modelPackage>com.oransc.rappmanager.sme.provider.data</modelPackage>
141 <generateClientAsBean>false</generateClientAsBean>
142 </configOptions>
143 </configuration>
144 </execution>
145 <execution>
146 <id>publish-service-spec-generator</id>
147 <goals>
148 <goal>generate</goal>
149 </goals>
150 <configuration>
151 <inputSpec>
aravind.estdcd17662023-10-12 15:23:09 +0100152 ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_Publish_Service_API.yaml
aravind.est347f1782023-07-14 09:53:41 +0100153 </inputSpec>
154 <generatorName>java</generatorName>
155 <library>resttemplate</library>
156 <generateApiTests>false</generateApiTests>
157 <generateModelTests>false</generateModelTests>
158 <generateApiDocumentation>false</generateApiDocumentation>
159 <generateModelDocumentation>false</generateModelDocumentation>
160 <generateModels>true</generateModels>
161 <additionalProperties>
162 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
163 </additionalProperties>
164 <configOptions>
165 <sourceFolder>src/main/java</sourceFolder>
166 <useJakartaEe>true</useJakartaEe>
167 <invokerPackage>com.oransc.rappmanager.sme.publishservice</invokerPackage>
168 <apiPackage>com.oransc.rappmanager.sme.publishservice.rest</apiPackage>
169 <modelPackage>com.oransc.rappmanager.sme.publishservice.data</modelPackage>
170 <generateClientAsBean>false</generateClientAsBean>
171 </configOptions>
172 </configuration>
173 </execution>
174 <execution>
175 <id>invoker-spec-generator</id>
176 <goals>
177 <goal>generate</goal>
178 </goals>
179 <configuration>
180 <inputSpec>
aravind.estdcd17662023-10-12 15:23:09 +0100181 ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_API_Invoker_Management_API.yaml
aravind.est347f1782023-07-14 09:53:41 +0100182 </inputSpec>
183 <generatorName>java</generatorName>
184 <library>resttemplate</library>
185 <generateApiTests>false</generateApiTests>
186 <generateModelTests>false</generateModelTests>
187 <generateApiDocumentation>false</generateApiDocumentation>
188 <generateModelDocumentation>false</generateModelDocumentation>
189 <generateModels>true</generateModels>
190 <additionalProperties>
191 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
192 </additionalProperties>
193 <configOptions>
194 <sourceFolder>src/main/java</sourceFolder>
195 <useJakartaEe>true</useJakartaEe>
196 <invokerPackage>com.oransc.rappmanager.sme.invoker</invokerPackage>
197 <apiPackage>com.oransc.rappmanager.sme.invoker.rest</apiPackage>
198 <modelPackage>com.oransc.rappmanager.sme.invoker.data</modelPackage>
199 <generateClientAsBean>false</generateClientAsBean>
200 </configOptions>
201 </configuration>
202 </execution>
203 </executions>
204 </plugin>
205 </plugins>
206 </build>
aravind.est3ba4f282023-07-28 14:48:29 +0100207</project>