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" |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 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"> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 25 | <parent> |
| 26 | <artifactId>catalog-be-plugins</artifactId> |
| 27 | <groupId>org.openecomp.sdc</groupId> |
MichaelMorris | 23d8034 | 2022-02-09 14:08:27 +0000 | [diff] [blame^] | 28 | <version>1.10.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> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 46 | <activation> |
| 47 | <activeByDefault>false</activeByDefault> |
| 48 | </activation> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 49 | <properties> |
| 50 | <skip.staging.artifacts>true</skip.staging.artifacts> |
| 51 | <docker.skip.build>false</docker.skip.build> |
| 52 | <docker.skip.tag>false</docker.skip.tag> |
| 53 | <docker.skip.push>false</docker.skip.push> |
| 54 | <docker.skip>false</docker.skip> |
| 55 | </properties> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 56 | <build> |
| 57 | <plugins> |
| 58 | <plugin> |
| 59 | <groupId>io.fabric8</groupId> |
| 60 | <artifactId>docker-maven-plugin</artifactId> |
| 61 | <configuration> |
| 62 | <verbose>${verbose}</verbose> |
| 63 | <apiVersion>${docker.api.version}</apiVersion> |
| 64 | <registry>${docker.registry}</registry> |
| 65 | <verbose>${verbose}</verbose> |
| 66 | <authConfig> |
| 67 | <pull> |
| 68 | <username>${docker.username}</username> |
| 69 | <password>${docker.password}</password> |
| 70 | </pull> |
| 71 | </authConfig> |
| 72 | <images> |
| 73 | <!-- Build backend image --> |
| 74 | <image> |
| 75 | <name>${docker.namespace}/sdc-backend-all-plugins</name> |
| 76 | <alias>sdc-backend-all-plugins</alias> |
| 77 | <build> |
| 78 | <cleanup>try</cleanup> |
| 79 | <dockerFile>backend-all-plugins/Dockerfile</dockerFile> |
| 80 | <tags> |
| 81 | <tag>latest</tag> |
| 82 | <tag> |
| 83 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 84 | </tag> |
| 85 | <tag> |
| 86 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp} |
| 87 | </tag> |
| 88 | </tags> |
| 89 | <assembly> |
| 90 | <descriptor> |
| 91 | backend-all-plugins/backend-all-plugins-files.xml |
| 92 | </descriptor> |
| 93 | <name>onap-sdc-backend-all-plugins</name> |
| 94 | </assembly> |
| 95 | </build> |
| 96 | </image> |
| 97 | </images> |
| 98 | </configuration> |
| 99 | <executions> |
| 100 | <execution> |
| 101 | <id>clean-images</id> |
| 102 | <phase>pre-clean</phase> |
| 103 | <goals> |
| 104 | <goal>remove</goal> |
| 105 | </goals> |
| 106 | </execution> |
| 107 | <execution> |
| 108 | <id>generate-images</id> |
| 109 | <phase>install</phase> |
| 110 | <goals> |
| 111 | <goal>build</goal> |
| 112 | </goals> |
| 113 | </execution> |
| 114 | <execution> |
| 115 | <id>push-images</id> |
| 116 | <phase>deploy</phase> |
| 117 | <goals> |
| 118 | <goal>push</goal> |
| 119 | </goals> |
| 120 | </execution> |
| 121 | </executions> |
| 122 | </plugin> |
| 123 | </plugins> |
| 124 | </build> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 125 | </profile> |
| 126 | </profiles> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 127 | </project> |