aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
aravind.est | c7d8cf9 | 2023-08-22 17:50:58 +0100 | [diff] [blame] | 2 | <!-- |
| 3 | * ========================LICENSE_START================================= |
| 4 | * O-RAN-SC |
| 5 | * %% |
| 6 | * Copyright (C) 2023 Nordix Foundation |
| 7 | * %% |
| 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 |
| 11 | * |
| 12 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | * |
| 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=================================== |
| 20 | --> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 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> |
| 25 | <parent> |
aravind.est | c7d8cf9 | 2023-08-22 17:50:58 +0100 | [diff] [blame] | 26 | <groupId>org.o-ran-sc.nonrtric.plt</groupId> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 27 | <artifactId>rappmanager</artifactId> |
| 28 | <version>0.0.1-SNAPSHOT</version> |
| 29 | </parent> |
| 30 | |
aravind.est | c7d8cf9 | 2023-08-22 17:50:58 +0100 | [diff] [blame] | 31 | <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 32 | <artifactId>rapp-manager-sme</artifactId> |
| 33 | |
| 34 | <properties> |
aravind.est | fbe2221 | 2023-08-09 11:11:15 +0100 | [diff] [blame] | 35 | <maven.compiler.source>${java.version}</maven.compiler.source> |
| 36 | <maven.compiler.target>${java.version}</maven.compiler.target> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
aravind.est | fbe2221 | 2023-08-09 11:11:15 +0100 | [diff] [blame] | 38 | |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 39 | </properties> |
| 40 | |
aravind.est | 3ba4f28 | 2023-07-28 14:48:29 +0100 | [diff] [blame] | 41 | <profiles> |
| 42 | <profile> |
| 43 | <id>Windows</id> |
| 44 | <activation> |
| 45 | <os> |
| 46 | <family>Windows</family> |
| 47 | </os> |
| 48 | </activation> |
| 49 | <properties> |
| 50 | <script.extension>.bat</script.extension> |
| 51 | <file.separator>\</file.separator> |
| 52 | </properties> |
| 53 | </profile> |
| 54 | <profile> |
| 55 | <id>unix</id> |
| 56 | <activation> |
| 57 | <os> |
| 58 | <family>unix</family> |
| 59 | </os> |
| 60 | </activation> |
| 61 | <properties> |
| 62 | <script.extension>.sh</script.extension> |
| 63 | <file.separator>/</file.separator> |
| 64 | </properties> |
| 65 | </profile> |
| 66 | </profiles> |
| 67 | |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 68 | <dependencies> |
| 69 | <dependency> |
aravind.est | c7d8cf9 | 2023-08-22 17:50:58 +0100 | [diff] [blame] | 70 | <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 71 | <artifactId>rapp-manager-models</artifactId> |
| 72 | <version>${project.version}</version> |
| 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>org.springframework.boot</groupId> |
| 76 | <artifactId>spring-boot-starter-web</artifactId> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.projectlombok</groupId> |
| 80 | <artifactId>lombok</artifactId> |
| 81 | <optional>true</optional> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>org.openapitools</groupId> |
| 85 | <artifactId>jackson-databind-nullable</artifactId> |
aravind.est | fbe2221 | 2023-08-09 11:11:15 +0100 | [diff] [blame] | 86 | <version>${openapi.jackson.databind.nullable.version}</version> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 87 | </dependency> |
aravind.est | a071d6b | 2023-07-26 12:24:30 +0100 | [diff] [blame] | 88 | <dependency> |
| 89 | <groupId>org.springframework.boot</groupId> |
| 90 | <artifactId>spring-boot-starter-test</artifactId> |
| 91 | <scope>test</scope> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>org.apache.httpcomponents</groupId> |
| 95 | <artifactId>httpcore</artifactId> |
aravind.est | fbe2221 | 2023-08-09 11:11:15 +0100 | [diff] [blame] | 96 | <version>${apache.httpcore.version}</version> |
aravind.est | a071d6b | 2023-07-26 12:24:30 +0100 | [diff] [blame] | 97 | <scope>test</scope> |
| 98 | </dependency> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 99 | </dependencies> |
| 100 | |
| 101 | <build> |
| 102 | <plugins> |
| 103 | <plugin> |
| 104 | <groupId>org.codehaus.mojo</groupId> |
| 105 | <artifactId>exec-maven-plugin</artifactId> |
| 106 | <version>${exec-maven-plugin.version}</version> |
| 107 | <executions> |
| 108 | <execution> |
| 109 | <id>git submodule update</id> |
| 110 | <phase>initialize</phase> |
| 111 | <configuration> |
| 112 | <executable>git</executable> |
| 113 | <arguments> |
| 114 | <argument>submodule</argument> |
| 115 | <argument>update</argument> |
| 116 | <argument>--init</argument> |
| 117 | <argument>--recursive</argument> |
| 118 | </arguments> |
| 119 | </configuration> |
| 120 | <goals> |
| 121 | <goal>exec</goal> |
| 122 | </goals> |
| 123 | </execution> |
| 124 | <execution> |
| 125 | <id>initialize-sme-openapi-specs</id> |
| 126 | <phase>initialize</phase> |
| 127 | <goals> |
| 128 | <goal>exec</goal> |
| 129 | </goals> |
| 130 | <configuration> |
aravind.est | 3ba4f28 | 2023-07-28 14:48:29 +0100 | [diff] [blame] | 131 | <executable> |
| 132 | ..${file.separator}scripts${file.separator}init${file.separator}init-sme-spec${script.extension} |
| 133 | </executable> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 134 | </configuration> |
| 135 | </execution> |
| 136 | </executions> |
| 137 | </plugin> |
| 138 | <plugin> |
| 139 | <groupId>org.openapitools</groupId> |
| 140 | <artifactId>openapi-generator-maven-plugin</artifactId> |
| 141 | <version>${openapi.maven.version}</version> |
| 142 | <executions> |
| 143 | <execution> |
| 144 | <id>provider-spec-generator</id> |
| 145 | <goals> |
| 146 | <goal>generate</goal> |
| 147 | </goals> |
| 148 | <configuration> |
| 149 | <inputSpec> |
aravind.est | dcd1766 | 2023-10-12 15:23:09 +0100 | [diff] [blame^] | 150 | ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_API_Provider_Management_API.yaml |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 151 | </inputSpec> |
| 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> |
| 162 | <configOptions> |
| 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> |
| 169 | </configOptions> |
| 170 | </configuration> |
| 171 | </execution> |
| 172 | <execution> |
| 173 | <id>publish-service-spec-generator</id> |
| 174 | <goals> |
| 175 | <goal>generate</goal> |
| 176 | </goals> |
| 177 | <configuration> |
| 178 | <inputSpec> |
aravind.est | dcd1766 | 2023-10-12 15:23:09 +0100 | [diff] [blame^] | 179 | ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_Publish_Service_API.yaml |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 180 | </inputSpec> |
| 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> |
| 191 | <configOptions> |
| 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> |
| 198 | </configOptions> |
| 199 | </configuration> |
| 200 | </execution> |
| 201 | <execution> |
| 202 | <id>invoker-spec-generator</id> |
| 203 | <goals> |
| 204 | <goal>generate</goal> |
| 205 | </goals> |
| 206 | <configuration> |
| 207 | <inputSpec> |
aravind.est | dcd1766 | 2023-10-12 15:23:09 +0100 | [diff] [blame^] | 208 | ${project.parent.basedir}/openapi/sme/TS29222_CAPIF_API_Invoker_Management_API.yaml |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 209 | </inputSpec> |
| 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> |
| 220 | <configOptions> |
| 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> |
| 227 | </configOptions> |
| 228 | </configuration> |
| 229 | </execution> |
| 230 | </executions> |
| 231 | </plugin> |
| 232 | </plugins> |
| 233 | </build> |
aravind.est | 3ba4f28 | 2023-07-28 14:48:29 +0100 | [diff] [blame] | 234 | </project> |