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-app</artifactId>
37 <!--Image properties-->
38 <image.name>ves-nf-oam-adopter</image.name>
43 <groupId>${project.groupId}</groupId>
44 <artifactId>ves-nf-oam-adopter-api</artifactId>
47 <groupId>${project.groupId}</groupId>
48 <artifactId>ves-nf-oam-adopter-event-notifier</artifactId>
51 <groupId>${project.groupId}</groupId>
52 <artifactId>ves-nf-oam-adopter-snmp-manager</artifactId>
55 <groupId>${project.groupId}</groupId>
56 <artifactId>ves-nf-oam-adopter-pm-manager</artifactId>
59 <groupId>${project.groupId}</groupId>
60 <artifactId>ves-nf-oam-adopter-pm-sb-rest-client</artifactId>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-web</artifactId>
67 <groupId>org.springframework.boot</groupId>
68 <artifactId>spring-boot-starter-security</artifactId>
71 <groupId>org.springframework.boot</groupId>
72 <artifactId>spring-boot-starter-actuator</artifactId>
75 <groupId>org.springframework.boot</groupId>
76 <artifactId>spring-boot-starter-validation</artifactId>
79 <groupId>org.springframework.boot</groupId>
80 <artifactId>spring-boot-starter-log4j2</artifactId>
83 <groupId>org.apache.httpcomponents.client5</groupId>
84 <artifactId>httpclient5</artifactId>
87 <groupId>io.swagger.core.v3</groupId>
88 <artifactId>swagger-annotations</artifactId>
91 <groupId>org.springframework.boot</groupId>
92 <artifactId>spring-boot-starter-test</artifactId>
96 <groupId>org.springframework.security</groupId>
97 <artifactId>spring-security-test</artifactId>
105 <groupId>org.springframework.boot</groupId>
106 <artifactId>spring-boot-maven-plugin</artifactId>
108 <!-- Swagger code generation. -->
110 <groupId>io.swagger.codegen.v3</groupId>
111 <artifactId>swagger-codegen-maven-plugin</artifactId>
115 <goal>generate</goal>
118 <inputSpec>${project.basedir}/docs/api/swagger/openapi.yaml</inputSpec>
119 <invokerPackage>org.o.ran.oam.nf.oam.adopter.app.controller</invokerPackage>
120 <modelPackage>org.o.ran.oam.nf.oam.adopter.model</modelPackage>
121 <apiPackage>org.o.ran.oam.nf.oam.adopter.api</apiPackage>
122 <language>spring</language>
123 <generateSupportingFiles>false</generateSupportingFiles>
125 <sourceFolder>src/gen/java</sourceFolder>
126 <dateLibrary>java11</dateLibrary>
127 <interfaceOnly>true</interfaceOnly>
128 <useTags>true</useTags>
129 <serializableModel>true</serializableModel>
142 <activeByDefault>false</activeByDefault>
147 <groupId>io.fabric8</groupId>
148 <artifactId>docker-maven-plugin</artifactId>
149 <version>0.34.1</version>
150 <extensions>true</extensions>
152 <verbose>true</verbose>
155 <name>${nexus.repository}${image.name}</name>
157 <from>${nexus.repository.mirror}${base.image}</from>
159 <tag>${project.version}</tag>
161 <workdir>${image.workdir}</workdir>
166 <args>${project.artifactId}-${project.version}.jar</args>
170 <basedir>${image.workdir}</basedir>
174 <useProjectArtifact>true</useProjectArtifact>
176 <include>${project.groupId}:${project.artifactId}</include>
178 <outputFileNameMapping>${project.build.finalName}.jar</outputFileNameMapping>
183 <source>${base.config}application.yml</source>
184 <outputDirectory>.</outputDirectory>
185 <destName>application.yml</destName>
188 <source>${base.config}fm-ves-message-mapping.yaml</source>
189 <outputDirectory>./mapping-configuration</outputDirectory>
190 <destName>fm-ves-message-mapping.yaml</destName>
193 <source>${base.config}pm-ves-message-mapping.yaml</source>
194 <outputDirectory>./mapping-configuration</outputDirectory>
195 <destName>pm-ves-message-mapping.yaml</destName>
198 <source>${base.config}log4j2.yml</source>
201 <source>${base.config}/ssl/nf-oam-adopter-keystore.jks</source>
202 <outputDirectory>./ssl</outputDirectory>
203 <destName>nf-oam-adopter-keystore.jks</destName>
206 <source>${base.config}/ssl/nf-oam-adopter-truststore.jks</source>
207 <outputDirectory>./ssl</outputDirectory>
208 <destName>nf-oam-adopter-truststore.jks</destName>
219 <id>build-docker-image</id>
220 <phase>package</phase>
227 <phase>deploy</phase>