1 <?xml version="1.0" encoding="UTF-8"?>
4 * ============LICENSE_START========================================================================
5 * O-RAN-SC : tr-069-adapter
6 * =================================================================================================
7 * Copyright (C) 2020 CommScope Inc Intellectual Property.
8 * =================================================================================================
9 * This tr-069-adapter software file is distributed by CommScope Inc
10 * under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
14 * http://www.apache.org/licenses/LICENSE-2.0
16 * This file 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=======================================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <groupId>org.commscope.tr069adapter</groupId>
26 <artifactId>tr069adapter</artifactId>
27 <version>1.0.0</version>
29 <modelVersion>4.0.0</modelVersion>
30 <groupId>org.commscope.tr069adapter.db</groupId>
31 <artifactId>maria-db</artifactId>
33 <url>http://maven.apache.org</url>
35 <docker.image.name>o-ran-sc/tr069adapter-mariadb</docker.image.name>
40 <groupId>io.fabric8</groupId>
41 <artifactId>docker-maven-plugin</artifactId>
42 <version>${docker-maven-plugin}</version>
43 <inherited>false</inherited>
46 <id>generate-policy-agent-image</id>
47 <phase>package</phase>
53 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
56 <name>${docker.image.name}:${build.version}</name>
58 <cleanup>try</cleanup>
59 <contextDir>${basedir}</contextDir>
60 <dockerFile>Dockerfile</dockerFile>
62 <tag>${project.version}</tag>
70 <id>push-policy-agent-image</id>
76 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
77 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
80 <name>${docker.image.name}:${project.version}</name>
82 <contextDir>${basedir}</contextDir>
83 <dockerFile>Dockerfile</dockerFile>
85 <JAR>${project.build.finalName}.jar</JAR>