blob: 52eb555d45ab4dcb8a09525fd1b9e657cb6d4494 [file] [log] [blame]
Timoney, Dan (dt5972)84b361d2019-04-24 15:05:00 -04001<?xml version="1.0" encoding="UTF-8"?>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -04002<!--
3============LICENSE_START==========================================
4===================================================================
5Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
6===================================================================
7
8Unless otherwise specified, all software contained herein is licensed
9under the Apache License, Version 2.0 (the License);
10you may not use this software except in compliance with the License.
11You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15Unless required by applicable law or agreed to in writing, software
16distributed under the License is distributed on an "AS IS" BASIS,
17WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18See the License for the specific language governing permissions and
19limitations under the License.
20============LICENSE_END============================================ -->
Dan Timoney8edec222020-04-07 11:51:20 -040021
Timoney, Dan (dt5972)84b361d2019-04-24 15:05:00 -040022<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ëtc90edac2019-03-25 13:04:18 -040023 <modelVersion>4.0.0</modelVersion>
24
25 <parent>
26 <groupId>org.onap.ccsdk.cds</groupId>
27 <artifactId>ui</artifactId>
Dan Timoney8edec222020-04-07 11:51:20 -040028 <version>1.0.0-SNAPSHOT</version>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040029 <relativePath>..</relativePath>
30 </parent>
31
32 <artifactId>application</artifactId>
Dan Timoney8edec222020-04-07 11:51:20 -040033 <version>1.0.0-SNAPSHOT</version>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040034 <packaging>pom</packaging>
35
Singal, Kapil (ks220y)71f561e2019-09-18 10:05:39 -040036 <name>CDS UI Application</name>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040037
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)d18507f2020-09-02 10:43:21 -040052 <version>1.0</version>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040053 <executions>
54 <execution>
55 <phase>validate</phase>
56 <goals>
57 <goal>execute</goal>
58 </goals>
59 <configuration>
Alexis de Talhouëta298b9e2019-03-26 12:44:59 -040060 <source>${project.basedir}/../../TagVersion.groovy</source>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040061 </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ëtc90edac2019-03-25 13:04:18 -040084 <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ëtc90edac2019-03-25 13:04:18 -0400116</project>