1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2023 Nordix Foundation
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===================================
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>
26 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
27 <artifactId>participants</artifactId>
28 <version>0.0.1-SNAPSHOT</version>
31 <groupId>org.o-ran-sc.nonrtric.plt.participants</groupId>
32 <artifactId>participant-impl-dme</artifactId>
35 <maven.compiler.source>17</maven.compiler.source>
36 <maven.compiler.target>17</maven.compiler.target>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <groupId>org.onap.policy.clamp.participant</groupId>
43 <artifactId>policy-clamp-participant-intermediary</artifactId>
44 <version>${onap.acm.models.version}</version>
47 <groupId>org.onap.policy.clamp</groupId>
48 <artifactId>policy-clamp-models</artifactId>
49 <version>${onap.acm.models.version}</version>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-starter-web</artifactId>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-security</artifactId>
60 <groupId>io.micrometer</groupId>
61 <artifactId>micrometer-registry-prometheus</artifactId>
64 <groupId>org.projectlombok</groupId>
65 <artifactId>lombok</artifactId>
66 <optional>true</optional>
69 <groupId>org.openapitools</groupId>
70 <artifactId>jackson-databind-nullable</artifactId>
71 <version>${openapi.jackson.databind.nullable.version}</version>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-test</artifactId>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-maven-plugin</artifactId>
88 <goal>repackage</goal>
90 <phase>package</phase>
95 <groupId>org.openapitools</groupId>
96 <artifactId>openapi-generator-maven-plugin</artifactId>
97 <version>${openapi.maven.version}</version>
100 <id>dme-participant-spec-generator</id>
102 <goal>generate</goal>
105 <inputSpec>${project.parent.basedir}/../openapi/dme/ics-api.yaml</inputSpec>
106 <generatorName>java</generatorName>
107 <library>resttemplate</library>
108 <generateApiTests>false</generateApiTests>
109 <generateModelTests>false</generateModelTests>
110 <generateApiDocumentation>false</generateApiDocumentation>
111 <generateModelDocumentation>false</generateModelDocumentation>
112 <generateModels>true</generateModels>
113 <additionalProperties>
114 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
115 </additionalProperties>
117 <sourceFolder>src/main/java</sourceFolder>
118 <useJakartaEe>true</useJakartaEe>
119 <invokerPackage>com.oransc.participant.dme</invokerPackage>
120 <apiPackage>com.oransc.participant.dme.rest</apiPackage>
121 <modelPackage>com.oransc.participant.dme.data</modelPackage>
122 <generateClientAsBean>false</generateClientAsBean>
129 <groupId>io.fabric8</groupId>
130 <artifactId>docker-maven-plugin</artifactId>
131 <version>${docker-maven-plugin}</version>
132 <inherited>false</inherited>
135 <id>generate-nonrtric-plt-participant-impl-dme-image</id>
136 <phase>package</phase>
141 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
145 o-ran-sc/nonrtric-plt-participant-impl-dme:${project.version}
148 <cleanup>try</cleanup>
149 <contextDir>${project.basedir}</contextDir>
150 <dockerFile>Dockerfile</dockerFile>
152 <JAR>${project.build.finalName}.jar</JAR>
155 <tag>${project.version}</tag>
164 <id>push-nonrtric-plt-participant-impl-dme-image</id>
169 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
173 o-ran-sc/nonrtric-plt-participant-impl-dme:${project.version}
176 <contextDir>${project.basedir}</contextDir>
177 <dockerFile>Dockerfile</dockerFile>
179 <JAR>${project.build.finalName}.jar</JAR>
182 <tag>${project.version}</tag>