sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | ONAP SDC |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. |
| 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | * |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | * |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | ============LICENSE_END========================================================= |
| 19 | ================================================================================ |
| 20 | --> |
| 21 | |
| 22 | <project 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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 25 | <parent> |
| 26 | <artifactId>catalog-be-plugins</artifactId> |
| 27 | <groupId>org.openecomp.sdc</groupId> |
vasraz | 0dea712 | 2020-10-26 12:53:23 +0000 | [diff] [blame] | 28 | <version>1.7.2-SNAPSHOT</version> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 29 | </parent> |
| 30 | |
| 31 | <packaging>pom</packaging> |
| 32 | <modelVersion>4.0.0</modelVersion> |
| 33 | |
| 34 | <artifactId>backend-all-plugins</artifactId> |
| 35 | |
| 36 | <properties> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 37 | <docker.skip.build>true</docker.skip.build> |
| 38 | <docker.skip.push>true</docker.skip.push> |
| 39 | <docker.skip.tag>true</docker.skip.tag> |
sebdet | 0667274 | 2020-09-24 22:24:19 +0200 | [diff] [blame] | 40 | <docker.skip>true</docker.skip> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 41 | </properties> |
| 42 | |
| 43 | <profiles> |
| 44 | <profile> |
| 45 | <id>docker</id> |
| 46 | <properties> |
| 47 | <skip.staging.artifacts>true</skip.staging.artifacts> |
| 48 | <docker.skip.build>false</docker.skip.build> |
| 49 | <docker.skip.tag>false</docker.skip.tag> |
| 50 | <docker.skip.push>false</docker.skip.push> |
| 51 | <docker.skip>false</docker.skip> |
| 52 | </properties> |
| 53 | </profile> |
| 54 | </profiles> |
| 55 | <build> |
| 56 | <plugins> |
| 57 | <plugin> |
| 58 | <groupId>io.fabric8</groupId> |
| 59 | <artifactId>docker-maven-plugin</artifactId> |
| 60 | <configuration> |
| 61 | <apiVersion>${docker.api.version}</apiVersion> |
| 62 | <registry>nexus3.onap.org:10001</registry> |
| 63 | <verbose>true</verbose> |
| 64 | <authConfig> |
| 65 | <pull> |
| 66 | <username>docker</username> |
| 67 | <password>docker</password> |
| 68 | </pull> |
| 69 | </authConfig> |
| 70 | <images> |
| 71 | <!-- Build backend image --> |
| 72 | <image> |
andre.schmid | 567623e | 2020-12-09 13:47:20 +0000 | [diff] [blame^] | 73 | <name>uds/sdc-backend-all-plugins</name> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 74 | <alias>sdc-backend-all-plugins</alias> |
| 75 | <build> |
| 76 | <cleanup>try</cleanup> |
| 77 | <dockerFile>backend-all-plugins/Dockerfile</dockerFile> |
| 78 | <tags> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 79 | <tag>latest</tag> |
andre.schmid | 567623e | 2020-12-09 13:47:20 +0000 | [diff] [blame^] | 80 | <tag>${uds.version}-${maven.build.timestamp}</tag> |
| 81 | <tag>${uds.docker.staging.version}-STAGING-latest</tag> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 82 | </tags> |
| 83 | <assembly> |
| 84 | <descriptor>backend-all-plugins/backend-all-plugins-files.xml</descriptor> |
| 85 | <name>onap-sdc-backend-all-plugins</name> |
| 86 | </assembly> |
| 87 | </build> |
| 88 | </image> |
| 89 | </images> |
| 90 | </configuration> |
| 91 | <executions> |
| 92 | <execution> |
| 93 | <id>clean-images</id> |
| 94 | <phase>pre-clean</phase> |
| 95 | <goals> |
| 96 | <goal>remove</goal> |
| 97 | </goals> |
| 98 | </execution> |
| 99 | <execution> |
| 100 | <id>generate-images</id> |
| 101 | <phase>install</phase> |
| 102 | <goals> |
| 103 | <goal>build</goal> |
| 104 | </goals> |
| 105 | </execution> |
| 106 | <execution> |
| 107 | <id>push-images</id> |
| 108 | <phase>deploy</phase> |
| 109 | <goals> |
| 110 | <goal>push</goal> |
| 111 | </goals> |
| 112 | </execution> |
| 113 | </executions> |
| 114 | </plugin> |
| 115 | </plugins> |
| 116 | </build> |
| 117 | </project> |