blob: 1ee16ea9e198e42348ef4c782ddf38a242d7b465 [file] [log] [blame]
aravind.est347f1782023-07-14 09:53:41 +01001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <parent>
7 <groupId>com.oransc</groupId>
8 <artifactId>rappmanager</artifactId>
9 <version>0.0.1-SNAPSHOT</version>
10 </parent>
11
12 <groupId>com.oransc.rappmanager</groupId>
13 <artifactId>rapp-manager-sme</artifactId>
14
15 <properties>
aravind.estfbe22212023-08-09 11:11:15 +010016 <maven.compiler.source>${java.version}</maven.compiler.source>
17 <maven.compiler.target>${java.version}</maven.compiler.target>
aravind.est347f1782023-07-14 09:53:41 +010018 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
aravind.estfbe22212023-08-09 11:11:15 +010019
aravind.est347f1782023-07-14 09:53:41 +010020 </properties>
21
aravind.est3ba4f282023-07-28 14:48:29 +010022 <profiles>
23 <profile>
24 <id>Windows</id>
25 <activation>
26 <os>
27 <family>Windows</family>
28 </os>
29 </activation>
30 <properties>
31 <script.extension>.bat</script.extension>
32 <file.separator>\</file.separator>
33 </properties>
34 </profile>
35 <profile>
36 <id>unix</id>
37 <activation>
38 <os>
39 <family>unix</family>
40 </os>
41 </activation>
42 <properties>
43 <script.extension>.sh</script.extension>
44 <file.separator>/</file.separator>
45 </properties>
46 </profile>
47 </profiles>
48
aravind.est347f1782023-07-14 09:53:41 +010049 <dependencies>
50 <dependency>
51 <groupId>com.oransc.rappmanager</groupId>
52 <artifactId>rapp-manager-models</artifactId>
53 <version>${project.version}</version>
54 </dependency>
55 <dependency>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-web</artifactId>
58 </dependency>
59 <dependency>
60 <groupId>org.projectlombok</groupId>
61 <artifactId>lombok</artifactId>
62 <optional>true</optional>
63 </dependency>
64 <dependency>
65 <groupId>org.openapitools</groupId>
66 <artifactId>jackson-databind-nullable</artifactId>
aravind.estfbe22212023-08-09 11:11:15 +010067 <version>${openapi.jackson.databind.nullable.version}</version>
aravind.est347f1782023-07-14 09:53:41 +010068 </dependency>
aravind.esta071d6b2023-07-26 12:24:30 +010069 <dependency>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-test</artifactId>
72 <scope>test</scope>
73 </dependency>
74 <dependency>
75 <groupId>org.apache.httpcomponents</groupId>
76 <artifactId>httpcore</artifactId>
aravind.estfbe22212023-08-09 11:11:15 +010077 <version>${apache.httpcore.version}</version>
aravind.esta071d6b2023-07-26 12:24:30 +010078 <scope>test</scope>
79 </dependency>
aravind.est347f1782023-07-14 09:53:41 +010080 </dependencies>
81
82 <build>
83 <plugins>
84 <plugin>
85 <groupId>org.codehaus.mojo</groupId>
86 <artifactId>exec-maven-plugin</artifactId>
87 <version>${exec-maven-plugin.version}</version>
88 <executions>
89 <execution>
90 <id>git submodule update</id>
91 <phase>initialize</phase>
92 <configuration>
93 <executable>git</executable>
94 <arguments>
95 <argument>submodule</argument>
96 <argument>update</argument>
97 <argument>--init</argument>
98 <argument>--recursive</argument>
99 </arguments>
100 </configuration>
101 <goals>
102 <goal>exec</goal>
103 </goals>
104 </execution>
105 <execution>
106 <id>initialize-sme-openapi-specs</id>
107 <phase>initialize</phase>
108 <goals>
109 <goal>exec</goal>
110 </goals>
111 <configuration>
aravind.est3ba4f282023-07-28 14:48:29 +0100112 <executable>
113 ..${file.separator}scripts${file.separator}init${file.separator}init-sme-spec${script.extension}
114 </executable>
aravind.est347f1782023-07-14 09:53:41 +0100115 </configuration>
116 </execution>
117 </executions>
118 </plugin>
119 <plugin>
120 <groupId>org.openapitools</groupId>
121 <artifactId>openapi-generator-maven-plugin</artifactId>
122 <version>${openapi.maven.version}</version>
123 <executions>
124 <execution>
125 <id>provider-spec-generator</id>
126 <goals>
127 <goal>generate</goal>
128 </goals>
129 <configuration>
130 <inputSpec>
aravind.est3ba4f282023-07-28 14:48:29 +0100131 ${project.basedir}/src/main/resources/openapi/TS29222_CAPIF_API_Provider_Management_API.yaml
aravind.est347f1782023-07-14 09:53:41 +0100132 </inputSpec>
133 <generatorName>java</generatorName>
134 <library>resttemplate</library>
135 <generateApiTests>false</generateApiTests>
136 <generateModelTests>false</generateModelTests>
137 <generateApiDocumentation>false</generateApiDocumentation>
138 <generateModelDocumentation>false</generateModelDocumentation>
139 <generateModels>true</generateModels>
140 <additionalProperties>
141 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
142 </additionalProperties>
143 <configOptions>
144 <sourceFolder>src/main/java</sourceFolder>
145 <useJakartaEe>true</useJakartaEe>
146 <invokerPackage>com.oransc.rappmanager.sme.provider</invokerPackage>
147 <apiPackage>com.oransc.rappmanager.sme.provider.rest</apiPackage>
148 <modelPackage>com.oransc.rappmanager.sme.provider.data</modelPackage>
149 <generateClientAsBean>false</generateClientAsBean>
150 </configOptions>
151 </configuration>
152 </execution>
153 <execution>
154 <id>publish-service-spec-generator</id>
155 <goals>
156 <goal>generate</goal>
157 </goals>
158 <configuration>
159 <inputSpec>
aravind.est3ba4f282023-07-28 14:48:29 +0100160 ${project.basedir}/src/main/resources/openapi/TS29222_CAPIF_Publish_Service_API.yaml
aravind.est347f1782023-07-14 09:53:41 +0100161 </inputSpec>
162 <generatorName>java</generatorName>
163 <library>resttemplate</library>
164 <generateApiTests>false</generateApiTests>
165 <generateModelTests>false</generateModelTests>
166 <generateApiDocumentation>false</generateApiDocumentation>
167 <generateModelDocumentation>false</generateModelDocumentation>
168 <generateModels>true</generateModels>
169 <additionalProperties>
170 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
171 </additionalProperties>
172 <configOptions>
173 <sourceFolder>src/main/java</sourceFolder>
174 <useJakartaEe>true</useJakartaEe>
175 <invokerPackage>com.oransc.rappmanager.sme.publishservice</invokerPackage>
176 <apiPackage>com.oransc.rappmanager.sme.publishservice.rest</apiPackage>
177 <modelPackage>com.oransc.rappmanager.sme.publishservice.data</modelPackage>
178 <generateClientAsBean>false</generateClientAsBean>
179 </configOptions>
180 </configuration>
181 </execution>
182 <execution>
183 <id>invoker-spec-generator</id>
184 <goals>
185 <goal>generate</goal>
186 </goals>
187 <configuration>
188 <inputSpec>
aravind.est3ba4f282023-07-28 14:48:29 +0100189 ${project.basedir}/src/main/resources/openapi/TS29222_CAPIF_API_Invoker_Management_API.yaml
aravind.est347f1782023-07-14 09:53:41 +0100190 </inputSpec>
191 <generatorName>java</generatorName>
192 <library>resttemplate</library>
193 <generateApiTests>false</generateApiTests>
194 <generateModelTests>false</generateModelTests>
195 <generateApiDocumentation>false</generateApiDocumentation>
196 <generateModelDocumentation>false</generateModelDocumentation>
197 <generateModels>true</generateModels>
198 <additionalProperties>
199 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
200 </additionalProperties>
201 <configOptions>
202 <sourceFolder>src/main/java</sourceFolder>
203 <useJakartaEe>true</useJakartaEe>
204 <invokerPackage>com.oransc.rappmanager.sme.invoker</invokerPackage>
205 <apiPackage>com.oransc.rappmanager.sme.invoker.rest</apiPackage>
206 <modelPackage>com.oransc.rappmanager.sme.invoker.data</modelPackage>
207 <generateClientAsBean>false</generateClientAsBean>
208 </configOptions>
209 </configuration>
210 </execution>
211 </executions>
212 </plugin>
213 </plugins>
214 </build>
aravind.est3ba4f282023-07-28 14:48:29 +0100215</project>