1 <?xml version="1.0" encoding="UTF-8"?>
3 * ========================LICENSE_START=================================
6 * Copyright (C) 2021 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===================================
22 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.springframework.boot</groupId>
28 <artifactId>spring-boot-starter-parent</artifactId>
29 <version>2.3.8.RELEASE</version>
32 <groupId>org.o-ran-sc.nonrtric</groupId>
33 <artifactId>helm-manager</artifactId>
34 <!-- Update this when stepping version of the helm-manager -->
35 <version>1.0.0-SNAPSHOT</version>
38 <name>The Apache Software License, Version 2.0</name>
39 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
43 <!-- Update this when a new version of the dependency jar shall be included -->
44 <policy-clamp-participant-impl-kubernetes.version>6.1.2-SNAPSHOT</policy-clamp-participant-impl-kubernetes.version>
45 <docker-maven-plugin.version>0.36.0</docker-maven-plugin.version>
46 <maven-dependency-plugin.version>3.1.2</maven-dependency-plugin.version>
50 <groupId>org.onap.policy.clamp.participant</groupId>
51 <artifactId>policy-clamp-participant-impl-kubernetes</artifactId>
52 <version>${policy-clamp-participant-impl-kubernetes.version}</version>
58 <!-- Make the jar file of the dependency available as a file for inclusion in the docker image-->
59 <groupId>org.apache.maven.plugins</groupId>
60 <artifactId>maven-dependency-plugin</artifactId>
61 <version>${maven-dependency-plugin.version}</version>
65 <phase>package</phase>
72 <groupId>org.onap.policy.clamp.participant</groupId>
73 <artifactId>policy-clamp-participant-impl-kubernetes</artifactId>
74 <version>${policy-clamp-participant-impl-kubernetes.version}</version>
76 <overWrite>true</overWrite>
77 <outputDirectory>${basedir}/target</outputDirectory>
78 <destFileName>app.jar</destFileName>
86 <groupId>io.fabric8</groupId>
87 <artifactId>docker-maven-plugin</artifactId>
88 <version>${docker-maven-plugin.version}</version>
89 <inherited>false</inherited>
92 <id>generate-helm-manager-image</id>
93 <phase>package</phase>
98 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
101 <name>o-ran-sc/nonrtric-helm-manager:${project.version}</name>
103 <cleanup>try</cleanup>
104 <contextDir>${basedir}</contextDir>
105 <dockerFile>Dockerfile</dockerFile>
107 <tag>${project.version}</tag>
115 <id>push-helm-manager-image</id>
121 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
122 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
125 <name>o-ran-sc/nonrtric-helm-manager:${project.version}</name>
127 <contextDir>${basedir}</contextDir>
128 <dockerFile>Dockerfile</dockerFile>
130 <tag>${project.version}</tag>
143 <system>JIRA</system>
144 <url>https://jira.o-ran-sc.org/</url>