+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+* ========================LICENSE_START=================================\r
+* O-RAN-SC\r
+* %%\r
+* Copyright (C) 2020 Nordix Foundation\r
+* %%\r
+* Licensed under the Apache License, Version 2.0 (the "License");\r
+* you may not use this file except in compliance with the License.\r
+* You may obtain a copy of the License at\r
+*\r
+* http://www.apache.org/licenses/LICENSE-2.0\r
+*\r
+* Unless required by applicable law or agreed to in writing, software\r
+* distributed under the License is distributed on an "AS IS" BASIS,\r
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+* See the License for the specific language governing permissions and\r
+* limitations under the License.\r
+* ========================LICENSE_END===================================\r
+-->\r
+<project xmlns="http://maven.apache.org/POM/4.0.0"\r
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">\r
+ <modelVersion>4.0.0</modelVersion>\r
+\r
+ <parent>\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot-starter-parent</artifactId>\r
+ <version>2.3.4.RELEASE</version>\r
+ <relativePath />\r
+ </parent>\r
+ <groupId>org.o-ran-sc.nonrtric</groupId>\r
+ <artifactId>r-app-catalogue</artifactId>\r
+ <version>1.0.0-SNAPSHOT</version>\r
+ <licenses>\r
+ <license>\r
+ <name>The Apache Software License, Version 2.0</name>\r
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>\r
+ </license>\r
+ </licenses>\r
+ <properties>\r
+ <java.version>11</java.version>\r
+ <swagger-annotations.version>1.5.22</swagger-annotations.version>\r
+ <springfox.version>2.9.2</springfox.version>\r
+ <jackson-databind-nullable.version>0.2.1</jackson-databind-nullable.version>\r
+ <openapi-generator-maven-plugin.version>4.3.1</openapi-generator-maven-plugin.version>\r
+ <swagger-codegen-maven-plugin.version>3.0.11</swagger-codegen-maven-plugin.version>\r
+ <docker-maven-plugin.version>0.30.0</docker-maven-plugin.version>\r
+ </properties>\r
+\r
+ <dependencies>\r
+ <dependency>\r
+ <groupId>io.swagger</groupId>\r
+ <artifactId>swagger-annotations</artifactId>\r
+ <version>${swagger-annotations.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>com.fasterxml.jackson.core</groupId>\r
+ <artifactId>jackson-annotations</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework</groupId>\r
+ <artifactId>spring-beans</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot-autoconfigure</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework</groupId>\r
+ <artifactId>spring-web</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework.boot</groupId>\r
+ <artifactId>spring-boot</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework</groupId>\r
+ <artifactId>spring-webmvc</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.springframework</groupId>\r
+ <artifactId>spring-context</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>io.springfox</groupId>\r
+ <artifactId>springfox-swagger2</artifactId>\r
+ <version>${springfox.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>io.springfox</groupId>\r
+ <artifactId>springfox-core</artifactId>\r
+ <version>${springfox.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>io.springfox</groupId>\r
+ <artifactId>springfox-spring-web</artifactId>\r
+ <version>${springfox.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>io.springfox</groupId>\r
+ <artifactId>springfox-spi</artifactId>\r
+ <version>${springfox.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.assertj</groupId>\r
+ <artifactId>assertj-core</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.apache.tomcat.embed</groupId>\r
+ <artifactId>tomcat-embed-core</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.openapitools</groupId>\r
+ <artifactId>jackson-databind-nullable</artifactId>\r
+ <version>${jackson-databind-nullable.version}</version>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>javax.validation</groupId>\r
+ <artifactId>validation-api</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>com.fasterxml.jackson.core</groupId>\r
+ <artifactId>jackson-databind</artifactId>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.yaml</groupId>\r
+ <artifactId>snakeyaml</artifactId>\r
+ <scope>runtime</scope>\r
+ </dependency>\r
+ <!-- TEST -->\r
+ <dependency>\r
+ <groupId>org.springframework</groupId>\r
+ <artifactId>spring-test</artifactId>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.junit.jupiter</groupId>\r
+ <artifactId>junit-jupiter-api</artifactId>\r
+ <scope>test</scope>\r
+ </dependency>\r
+ </dependencies>\r
+\r
+ <build>\r
+ <plugins>\r
+ <plugin>\r
+ <groupId>org.openapitools</groupId>\r
+ <artifactId>openapi-generator-maven-plugin</artifactId>\r
+ <version>${openapi-generator-maven-plugin.version}</version>\r
+ <executions>\r
+ <execution>\r
+ <goals>\r
+ <goal>generate</goal>\r
+ </goals>\r
+ <configuration>\r
+ <inputSpec>${project.basedir}/api/rac-api.json</inputSpec>\r
+ <generatorName>spring</generatorName>\r
+ <apiPackage>org.oransc.rappcatalogue.api</apiPackage>\r
+ <modelPackage>org.oransc.rappcatalogue.model</modelPackage>\r
+ <configOptions>\r
+ <delegatePattern>true</delegatePattern>\r
+ </configOptions>\r
+ </configuration>\r
+ </execution>\r
+ </executions>\r
+ </plugin>\r
+ <plugin>\r
+ <groupId>io.swagger.codegen.v3</groupId>\r
+ <artifactId>swagger-codegen-maven-plugin</artifactId>\r
+ <version>${swagger-codegen-maven-plugin.version}</version>\r
+ <executions>\r
+ <execution>\r
+ <goals>\r
+ <goal>generate</goal>\r
+ </goals>\r
+ <configuration>\r
+ <inputSpec>${project.basedir}/api/rac-api.json</inputSpec>\r
+ <language>openapi-yaml</language>\r
+ <output>${project.basedir}/api/</output>\r
+ <configOptions>\r
+ <outputFile>rac-api.yaml</outputFile>\r
+ </configOptions>\r
+ </configuration>\r
+ </execution>\r
+ </executions>\r
+ </plugin>\r
+ <plugin>\r
+ <groupId>io.fabric8</groupId>\r
+ <artifactId>docker-maven-plugin</artifactId>\r
+ <version>${docker-maven-plugin.version}</version>\r
+ <inherited>false</inherited>\r
+ <executions>\r
+ <execution>\r
+ <id>generate-r-app-catalogue-image</id>\r
+ <phase>package</phase>\r
+ <goals>\r
+ <goal>build</goal>\r
+ </goals>\r
+ <configuration>\r
+ <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>\r
+ <images>\r
+ <image>\r
+ <name>o-ran-sc/nonrtric-r-app-catalogue:${project.version}</name>\r
+ <build>\r
+ <cleanup>try</cleanup>\r
+ <contextDir>${basedir}</contextDir>\r
+ <dockerFile>Dockerfile</dockerFile>\r
+ <args>\r
+ <JAR>${project.build.finalName}.jar</JAR>\r
+ </args>\r
+ <tags>\r
+ <tag>${project.version}</tag>\r
+ </tags>\r
+ </build>\r
+ </image>\r
+ </images>\r
+ </configuration>\r
+ </execution>\r
+ <execution>\r
+ <id>push-r-app-catalogue-image</id>\r
+ <goals>\r
+ <goal>build</goal>\r
+ <goal>push</goal>\r
+ </goals>\r
+ <configuration>\r
+ <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>\r
+ <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>\r
+ <images>\r
+ <image>\r
+ <name>o-ran-sc/nonrtric-r-app-catalogue:${project.version}</name>\r
+ <build>\r
+ <contextDir>${basedir}</contextDir>\r
+ <dockerFile>Dockerfile</dockerFile>\r
+ <args>\r
+ <JAR>${project.build.finalName}.jar</JAR>\r
+ </args>\r
+ <tags>\r
+ <tag>${project.version}</tag>\r
+ <tag>latest</tag>\r
+ </tags>\r
+ </build>\r
+ </image>\r
+ </images>\r
+ </configuration>\r
+ </execution>\r
+ </executions>\r
+ </plugin>\r
+ </plugins>\r
+ </build>\r
+</project>
\ No newline at end of file