aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 1 | <?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.est | fbe2221 | 2023-08-09 11:11:15 +0100 | [diff] [blame^] | 16 | <maven.compiler.source>${java.version}</maven.compiler.source> |
| 17 | <maven.compiler.target>${java.version}</maven.compiler.target> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 18 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
aravind.est | fbe2221 | 2023-08-09 11:11:15 +0100 | [diff] [blame^] | 19 | |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 20 | </properties> |
| 21 | |
aravind.est | 3ba4f28 | 2023-07-28 14:48:29 +0100 | [diff] [blame] | 22 | <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.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 49 | <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.est | fbe2221 | 2023-08-09 11:11:15 +0100 | [diff] [blame^] | 67 | <version>${openapi.jackson.databind.nullable.version}</version> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 68 | </dependency> |
aravind.est | a071d6b | 2023-07-26 12:24:30 +0100 | [diff] [blame] | 69 | <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.est | fbe2221 | 2023-08-09 11:11:15 +0100 | [diff] [blame^] | 77 | <version>${apache.httpcore.version}</version> |
aravind.est | a071d6b | 2023-07-26 12:24:30 +0100 | [diff] [blame] | 78 | <scope>test</scope> |
| 79 | </dependency> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 80 | </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.est | 3ba4f28 | 2023-07-28 14:48:29 +0100 | [diff] [blame] | 112 | <executable> |
| 113 | ..${file.separator}scripts${file.separator}init${file.separator}init-sme-spec${script.extension} |
| 114 | </executable> |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 115 | </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.est | 3ba4f28 | 2023-07-28 14:48:29 +0100 | [diff] [blame] | 131 | ${project.basedir}/src/main/resources/openapi/TS29222_CAPIF_API_Provider_Management_API.yaml |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 132 | </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.est | 3ba4f28 | 2023-07-28 14:48:29 +0100 | [diff] [blame] | 160 | ${project.basedir}/src/main/resources/openapi/TS29222_CAPIF_Publish_Service_API.yaml |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 161 | </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.est | 3ba4f28 | 2023-07-28 14:48:29 +0100 | [diff] [blame] | 189 | ${project.basedir}/src/main/resources/openapi/TS29222_CAPIF_API_Invoker_Management_API.yaml |
aravind.est | 347f178 | 2023-07-14 09:53:41 +0100 | [diff] [blame] | 190 | </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.est | 3ba4f28 | 2023-07-28 14:48:29 +0100 | [diff] [blame] | 215 | </project> |