1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2023 Nordix Foundation
7 * Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ========================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>
27 <groupId>org.o-ran-sc.nonrtric.plt</groupId>
28 <artifactId>participants</artifactId>
29 <version>0.2.0-SNAPSHOT</version>
32 <groupId>org.o-ran-sc.nonrtric.plt.participants</groupId>
33 <artifactId>participant-impl-dme</artifactId>
36 <maven.compiler.source>17</maven.compiler.source>
37 <maven.compiler.target>17</maven.compiler.target>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <groupId>org.onap.policy.clamp.participant</groupId>
44 <artifactId>policy-clamp-participant-intermediary</artifactId>
45 <version>${onap.acm.models.version}</version>
48 <groupId>org.onap.policy.clamp</groupId>
49 <artifactId>policy-clamp-models</artifactId>
50 <version>${onap.acm.models.version}</version>
53 <groupId>org.springframework.boot</groupId>
54 <artifactId>spring-boot-starter-web</artifactId>
57 <groupId>org.springframework.boot</groupId>
58 <artifactId>spring-boot-starter-actuator</artifactId>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-security</artifactId>
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter-aop</artifactId>
69 <groupId>io.micrometer</groupId>
70 <artifactId>micrometer-registry-prometheus</artifactId>
73 <groupId>org.apache.httpcomponents</groupId>
74 <artifactId>httpcore</artifactId>
77 <groupId>org.projectlombok</groupId>
78 <artifactId>lombok</artifactId>
79 <optional>true</optional>
82 <groupId>org.openapitools</groupId>
83 <artifactId>jackson-databind-nullable</artifactId>
84 <version>${openapi.jackson.databind.nullable.version}</version>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-starter-test</artifactId>
96 <groupId>org.springframework.boot</groupId>
97 <artifactId>spring-boot-maven-plugin</artifactId>
101 <goal>repackage</goal>
103 <phase>package</phase>
108 <groupId>org.openapitools</groupId>
109 <artifactId>openapi-generator-maven-plugin</artifactId>
110 <version>${openapi.maven.version}</version>
113 <id>dme-participant-spec-generator</id>
115 <goal>generate</goal>
118 <inputSpec>${project.parent.basedir}/../openapi/dme/ics-api.yaml</inputSpec>
119 <generatorName>java</generatorName>
120 <library>resttemplate</library>
121 <generateApiTests>false</generateApiTests>
122 <generateModelTests>false</generateModelTests>
123 <generateApiDocumentation>false</generateApiDocumentation>
124 <generateModelDocumentation>false</generateModelDocumentation>
125 <generateModels>true</generateModels>
126 <additionalProperties>
127 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
128 </additionalProperties>
130 <sourceFolder>src/main/java</sourceFolder>
131 <useJakartaEe>true</useJakartaEe>
132 <invokerPackage>com.oransc.participant.dme</invokerPackage>
133 <apiPackage>com.oransc.participant.dme.rest</apiPackage>
134 <modelPackage>com.oransc.participant.dme.data</modelPackage>
135 <generateClientAsBean>false</generateClientAsBean>
142 <groupId>io.fabric8</groupId>
143 <artifactId>docker-maven-plugin</artifactId>
144 <version>${docker-maven-plugin}</version>
145 <inherited>false</inherited>
148 <id>generate-nonrtric-plt-participant-impl-dme-image</id>
149 <phase>package</phase>
154 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
158 o-ran-sc/nonrtric-plt-participant-impl-dme:${project.version}
161 <cleanup>try</cleanup>
162 <contextDir>${project.basedir}</contextDir>
163 <dockerFile>Dockerfile</dockerFile>
165 <JAR>${project.build.finalName}.jar</JAR>
168 <tag>${project.version}</tag>
177 <id>push-nonrtric-plt-participant-impl-dme-image</id>
182 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
186 o-ran-sc/nonrtric-plt-participant-impl-dme:${project.version}
189 <contextDir>${project.basedir}</contextDir>
190 <dockerFile>Dockerfile</dockerFile>
192 <JAR>${project.build.finalName}.jar</JAR>
195 <tag>${project.version}</tag>