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============================================ --> |
Dan Timoney | 8edec22 | 2020-04-07 11:51:20 -0400 | [diff] [blame] | 21 | |
Timoney, Dan (dt5972) | 84b361d | 2019-04-24 15:05:00 -0400 | [diff] [blame] | 22 | <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] | 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
| 25 | <parent> |
| 26 | <groupId>org.onap.ccsdk.cds</groupId> |
| 27 | <artifactId>ui</artifactId> |
Dan Timoney | 8edec22 | 2020-04-07 11:51:20 -0400 | [diff] [blame] | 28 | <version>1.0.0-SNAPSHOT</version> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 29 | <relativePath>..</relativePath> |
| 30 | </parent> |
| 31 | |
| 32 | <artifactId>application</artifactId> |
Dan Timoney | 8edec22 | 2020-04-07 11:51:20 -0400 | [diff] [blame] | 33 | <version>1.0.0-SNAPSHOT</version> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 34 | <packaging>pom</packaging> |
| 35 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame] | 36 | <name>CDS UI Application</name> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 37 | |
| 38 | <properties> |
| 39 | <image.name>onap/ccsdk-cds-ui</image.name> |
| 40 | <ccsdk.project.version>${project.version}</ccsdk.project.version> |
| 41 | <ccsdk.distribution.version>${project.version}</ccsdk.distribution.version> |
| 42 | <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp> |
| 43 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
| 44 | <docker.verbose>true</docker.verbose> |
| 45 | </properties> |
| 46 | |
| 47 | <build> |
| 48 | <plugins> |
| 49 | <plugin> |
| 50 | <groupId>org.codehaus.groovy.maven</groupId> |
| 51 | <artifactId>gmaven-plugin</artifactId> |
Singal, Kapil (ks220y) | d18507f | 2020-09-02 10:43:21 -0400 | [diff] [blame] | 52 | <version>1.0</version> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 53 | <executions> |
| 54 | <execution> |
| 55 | <phase>validate</phase> |
| 56 | <goals> |
| 57 | <goal>execute</goal> |
| 58 | </goals> |
| 59 | <configuration> |
Alexis de Talhouët | a298b9e | 2019-03-26 12:44:59 -0400 | [diff] [blame] | 60 | <source>${project.basedir}/../../TagVersion.groovy</source> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 61 | </configuration> |
| 62 | </execution> |
| 63 | </executions> |
| 64 | </plugin> |
| 65 | </plugins> |
| 66 | </build> |
| 67 | |
| 68 | <profiles> |
| 69 | <profile> |
| 70 | <id>docker</id> |
| 71 | <build> |
| 72 | <plugins> |
| 73 | <plugin> |
| 74 | <groupId>io.fabric8</groupId> |
| 75 | <artifactId>docker-maven-plugin</artifactId> |
| 76 | <version>0.28.0</version> |
| 77 | <inherited>false</inherited> |
| 78 | <configuration> |
| 79 | <images> |
| 80 | <image> |
| 81 | <name>${image.name}</name> |
| 82 | <build> |
| 83 | <cleanup>try</cleanup> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 84 | <tags> |
| 85 | <tag>${project.docker.latestminortag.version}</tag> |
| 86 | <tag>${project.docker.latestfulltag.version}</tag> |
| 87 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 88 | </tags> |
| 89 | </build> |
| 90 | </image> |
| 91 | </images> |
| 92 | </configuration> |
| 93 | <executions> |
| 94 | <execution> |
| 95 | <id>generate-images</id> |
| 96 | <phase>package</phase> |
| 97 | <goals> |
| 98 | <goal>build</goal> |
| 99 | </goals> |
| 100 | </execution> |
| 101 | |
| 102 | <execution> |
| 103 | <id>push-images</id> |
| 104 | <phase>deploy</phase> |
| 105 | <goals> |
| 106 | <goal>build</goal> |
| 107 | <goal>push</goal> |
| 108 | </goals> |
| 109 | </execution> |
| 110 | </executions> |
| 111 | </plugin> |
| 112 | </plugins> |
| 113 | </build> |
| 114 | </profile> |
| 115 | </profiles> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 116 | </project> |