1 <?xml version="1.0" encoding="UTF-8"?>
\r
4 * ============LICENSE_START========================================================================
\r
5 * ONAP : tr-069-adapter
\r
6 * =================================================================================================
\r
7 * Copyright (C) 2020 CommScope Inc Intellectual Property.
\r
8 * =================================================================================================
\r
9 * This tr-069-adapter software file is distributed by CommScope Inc
\r
10 * under the Apache License, Version 2.0 (the "License");
\r
11 * you may not use this file except in compliance with the License.
\r
12 * You may obtain a copy of the License at
\r
14 * http://www.apache.org/licenses/LICENSE-2.0
\r
16 * This file is distributed on an "AS IS" BASIS,
\r
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
18 * See the License for the specific language governing permissions and
\r
19 * limitations under the License.
\r
20 * ===============LICENSE_END=======================================================================
\r
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">
\r
25 <groupId>org.commscope.tr069adapter</groupId>
\r
26 <artifactId>tr069adapter</artifactId>
\r
27 <version>1.0.0</version>
\r
29 <modelVersion>4.0.0</modelVersion>
\r
30 <groupId>org.commscope.tr069adapter.db</groupId>
\r
31 <artifactId>maria-db</artifactId>
\r
32 <name>maria-db</name>
\r
33 <url>http://maven.apache.org</url>
\r
35 <docker.image.name>tr069adapter-mariadb</docker.image.name>
\r
40 <groupId>io.fabric8</groupId>
\r
41 <artifactId>docker-maven-plugin</artifactId>
\r
42 <version>${docker-maven-plugin}</version>
\r
43 <inherited>false</inherited>
\r
46 <id>generate-policy-agent-image</id>
\r
47 <phase>package</phase>
\r
53 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
56 <name>${docker.image.name}:${build.version}</name>
\r
58 <cleanup>try</cleanup>
\r
59 <contextDir>${basedir}</contextDir>
\r
60 <dockerFile>Dockerfile</dockerFile>
\r
62 <tag>${project.version}</tag>
\r
70 <id>push-policy-agent-image</id>
\r
76 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
77 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
\r
80 <name>${docker.image.name}:${project.version}</name>
\r
82 <contextDir>${basedir}</contextDir>
\r
83 <dockerFile>Dockerfile</dockerFile>
\r
85 <JAR>${project.build.finalName}.jar</JAR>
\r