Timoney, Dan (dt5972) | 84b361d | 2019-04-24 15:05:00 -0400 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START========================================== |
| 4 | =================================================================== |
| 5 | Copyright (C) 2018 IBM Intellectual Property. All rights reserved. |
| 6 | =================================================================== |
| 7 | |
| 8 | Unless otherwise specified, all software contained herein is licensed |
| 9 | under the Apache License, Version 2.0 (the License); |
| 10 | you may not use this software except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
| 12 | |
| 13 | http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | |
| 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License 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============================================ --> |
Timoney, Dan (dt5972) | 84b361d | 2019-04-24 15:05:00 -0400 | [diff] [blame^] | 21 | <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"> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | |
| 24 | <parent> |
| 25 | <groupId>org.onap.ccsdk.cds</groupId> |
| 26 | <artifactId>ui</artifactId> |
| 27 | <version>0.4.2-SNAPSHOT</version> |
| 28 | <relativePath>..</relativePath> |
| 29 | </parent> |
| 30 | |
| 31 | <artifactId>application</artifactId> |
| 32 | <version>0.4.2-SNAPSHOT</version> |
| 33 | <packaging>pom</packaging> |
| 34 | |
| 35 | <name>cds-ui-application</name> |
| 36 | |
| 37 | <properties> |
| 38 | <image.name>onap/ccsdk-cds-ui</image.name> |
| 39 | <ccsdk.project.version>${project.version}</ccsdk.project.version> |
| 40 | <ccsdk.distribution.version>${project.version}</ccsdk.distribution.version> |
| 41 | <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp> |
| 42 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
| 43 | <docker.verbose>true</docker.verbose> |
| 44 | </properties> |
| 45 | |
| 46 | <build> |
| 47 | <plugins> |
| 48 | <plugin> |
| 49 | <groupId>org.codehaus.groovy.maven</groupId> |
| 50 | <artifactId>gmaven-plugin</artifactId> |
| 51 | <executions> |
| 52 | <execution> |
| 53 | <phase>validate</phase> |
| 54 | <goals> |
| 55 | <goal>execute</goal> |
| 56 | </goals> |
| 57 | <configuration> |
Alexis de Talhouët | a298b9e | 2019-03-26 12:44:59 -0400 | [diff] [blame] | 58 | <source>${project.basedir}/../../TagVersion.groovy</source> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 59 | </configuration> |
| 60 | </execution> |
| 61 | </executions> |
| 62 | </plugin> |
| 63 | </plugins> |
| 64 | </build> |
| 65 | |
| 66 | <profiles> |
| 67 | <profile> |
| 68 | <id>docker</id> |
| 69 | <build> |
| 70 | <plugins> |
| 71 | <plugin> |
| 72 | <groupId>io.fabric8</groupId> |
| 73 | <artifactId>docker-maven-plugin</artifactId> |
| 74 | <version>0.28.0</version> |
| 75 | <inherited>false</inherited> |
| 76 | <configuration> |
| 77 | <images> |
| 78 | <image> |
| 79 | <name>${image.name}</name> |
| 80 | <build> |
| 81 | <cleanup>try</cleanup> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 82 | <tags> |
| 83 | <tag>${project.docker.latestminortag.version}</tag> |
| 84 | <tag>${project.docker.latestfulltag.version}</tag> |
| 85 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 86 | </tags> |
| 87 | </build> |
| 88 | </image> |
| 89 | </images> |
| 90 | </configuration> |
| 91 | <executions> |
| 92 | <execution> |
| 93 | <id>generate-images</id> |
| 94 | <phase>package</phase> |
| 95 | <goals> |
| 96 | <goal>build</goal> |
| 97 | </goals> |
| 98 | </execution> |
| 99 | |
| 100 | <execution> |
| 101 | <id>push-images</id> |
| 102 | <phase>deploy</phase> |
| 103 | <goals> |
| 104 | <goal>build</goal> |
| 105 | <goal>push</goal> |
| 106 | </goals> |
| 107 | </execution> |
| 108 | </executions> |
| 109 | </plugin> |
| 110 | </plugins> |
| 111 | </build> |
| 112 | </profile> |
| 113 | </profiles> |
| 114 | |
| 115 | </project> |