1 <?xml version="1.0" encoding="UTF-8"?>
3 * ============LICENSE_START=======================================================
5 * ================================================================================
6 * Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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============================================
22 <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>
28 <groupId>org.o-ran-sc.oam</groupId>
29 <artifactId>ves-nf-oam-adopter-parent</artifactId>
30 <version>1.0.0-SNAPSHOT</version>
31 <relativePath>../ves-nf-oam-adopter-parent/pom.xml</relativePath>
34 <artifactId>ves-nf-oam-adopter-mock</artifactId>
37 <!--Image properties-->
38 <image.name>ves-nf-oam-adopter-ran-mock</image.name>
43 <groupId>org.springframework.boot</groupId>
44 <artifactId>spring-boot-starter-web</artifactId>
47 <groupId>org.springframework.boot</groupId>
48 <artifactId>spring-boot-starter-security</artifactId>
51 <groupId>org.springframework.boot</groupId>
52 <artifactId>spring-boot-starter-actuator</artifactId>
55 <groupId>org.springframework.boot</groupId>
56 <artifactId>spring-boot-starter-validation</artifactId>
59 <groupId>org.springframework.boot</groupId>
60 <artifactId>spring-boot-starter-log4j2</artifactId>
63 <groupId>io.swagger.core.v3</groupId>
64 <artifactId>swagger-annotations</artifactId>
67 <groupId>org.projectlombok</groupId>
68 <artifactId>lombok</artifactId>
71 <groupId>org.snmp4j</groupId>
72 <artifactId>snmp4j</artifactId>
75 <groupId>com.google.code.gson</groupId>
76 <artifactId>gson</artifactId>
79 <groupId>com.github.spotbugs</groupId>
80 <artifactId>spotbugs-annotations</artifactId>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-maven-plugin</artifactId>
90 <!-- Swagger code generation. -->
92 <groupId>io.swagger.codegen.v3</groupId>
93 <artifactId>swagger-codegen-maven-plugin</artifactId>
94 <version>${swagger-codegen-maven-plugin.version}</version>
101 <inputSpec>${project.basedir}/docs/api/swagger/openapi.yaml</inputSpec>
102 <invokerPackage>org.o.ran.oam.nf.oam.adopter.mock.app.controller</invokerPackage>
103 <modelPackage>org.o.ran.oam.nf.oam.adopter.mock.model</modelPackage>
104 <apiPackage>org.o.ran.oam.nf.oam.adopter.mock.api</apiPackage>
105 <language>spring</language>
106 <generateSupportingFiles>false</generateSupportingFiles>
108 <sourceFolder>src/gen/java</sourceFolder>
109 <dateLibrary>java11</dateLibrary>
110 <interfaceOnly>true</interfaceOnly>
111 <useTags>true</useTags>
112 <serializableModel>true</serializableModel>
125 <activeByDefault>false</activeByDefault>
130 <groupId>io.fabric8</groupId>
131 <artifactId>docker-maven-plugin</artifactId>
132 <extensions>true</extensions>
134 <verbose>true</verbose>
137 <name>${nexus.repository}${image.name}</name>
139 <from>${base.image}</from>
141 <tag>${project.version}</tag>
143 <workdir>${image.workdir}</workdir>
148 <args>${project.artifactId}-${project.version}.jar</args>
152 <basedir>${image.workdir}</basedir>
156 <useProjectArtifact>true</useProjectArtifact>
158 <include>${project.groupId}:${project.artifactId}</include>
160 <outputFileNameMapping>${project.build.finalName}.jar</outputFileNameMapping>
165 <source>${base.config}application.yml</source>
168 <source>${base.config}/zip/pmFiles.zip</source>
169 <outputDirectory>.</outputDirectory>
170 <destName>./pmFiles.zip</destName>
173 <source>${base.config}log4j2.yml</source>
176 <source>${base.config}/ssl/nf-oam-adopter-keystore.jks</source>
177 <outputDirectory>./ssl</outputDirectory>
178 <destName>nf-oam-adopter-keystore.jks</destName>
189 <id>build-docker-image</id>
190 <phase>package</phase>
197 <phase>deploy</phase>