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.6.2</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.2.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>
44 <id>onap-releases</id>
45 <name>onap-releases</name>
46 <url>https://nexus.onap.org/content/repositories/releases/</url>
50 <!-- Update this when a new version of the dependency jar shall be included -->
51 <policy-clamp-participant-impl-kubernetes.version>6.1.2</policy-clamp-participant-impl-kubernetes.version>
52 <docker-maven-plugin.version>0.36.0</docker-maven-plugin.version>
56 <groupId>org.onap.policy.clamp.participant</groupId>
57 <artifactId>policy-clamp-participant-impl-kubernetes</artifactId>
58 <version>${policy-clamp-participant-impl-kubernetes.version}</version>
64 <!-- Make the jar file of the dependency available as a file for inclusion in the docker image-->
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-dependency-plugin</artifactId>
70 <phase>package</phase>
77 <groupId>org.onap.policy.clamp.participant</groupId>
78 <artifactId>policy-clamp-participant-impl-kubernetes</artifactId>
79 <version>${policy-clamp-participant-impl-kubernetes.version}</version>
81 <overWrite>true</overWrite>
82 <outputDirectory>${basedir}/target</outputDirectory>
83 <destFileName>app.jar</destFileName>
91 <groupId>io.fabric8</groupId>
92 <artifactId>docker-maven-plugin</artifactId>
93 <version>${docker-maven-plugin.version}</version>
94 <inherited>false</inherited>
97 <id>generate-helm-manager-image</id>
98 <phase>package</phase>
103 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
106 <name>o-ran-sc/nonrtric-helm-manager:${project.version}</name>
108 <cleanup>try</cleanup>
109 <contextDir>${basedir}</contextDir>
110 <dockerFile>Dockerfile</dockerFile>
112 <tag>${project.version}</tag>
120 <id>push-helm-manager-image</id>
126 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
127 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
130 <name>o-ran-sc/nonrtric-helm-manager:${project.version}</name>
132 <contextDir>${basedir}</contextDir>
133 <dockerFile>Dockerfile</dockerFile>
135 <tag>${project.version}</tag>
148 <system>JIRA</system>
149 <url>https://jira.o-ran-sc.org/</url>