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===================================
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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.o-ran-sc.nonrtric</groupId>
26 <artifactId>nonrtric-controlpanel</artifactId>
27 <version>2.5.0-SNAPSHOT</version>
28 <name>Nonrtric Controlpanel</name>
29 <description>NonRTRIC Controlpanel</description>
32 <docker-maven-plugin.version>0.30.0</docker-maven-plugin.version>
38 <groupId>io.fabric8</groupId>
39 <artifactId>docker-maven-plugin</artifactId>
40 <version>${docker-maven-plugin.version}</version>
41 <inherited>false</inherited>
44 <id>generate-nonrtric-controlpanel-image</id>
45 <phase>package</phase>
50 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
53 <name>o-ran-sc/nonrtric-controlpanel:${project.version}</name>
55 <cleanup>try</cleanup>
56 <contextDir>${basedir}</contextDir>
57 <dockerFile>Dockerfile</dockerFile>
59 <JAR>${project.build.finalName}.jar</JAR>
62 <tag>${project.version}</tag>
70 <id>push-nonrtric-controlpanel-image</id>
76 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
77 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
80 <name>o-ran-sc/nonrtric-controlpanel:${project.version}</name>
82 <contextDir>${basedir}</contextDir>
83 <dockerFile>Dockerfile</dockerFile>
85 <JAR>${project.build.finalName}.jar</JAR>
88 <tag>${project.version}</tag>