blob: 6444385ee07e110d0e88dd7870cdbb2a2ef56ff1 [file] [log] [blame]
Timoney, Dan (dt5972)84b361d2019-04-24 15:05:00 -04001<?xml version="1.0" encoding="UTF-8"?>
Singal, Kapil (ks220y)8de37f92020-09-11 13:58:42 -04002<!--
Arundathi Patil85db5b02019-01-17 14:10:08 +05303============LICENSE_START==========================================
4===================================================================
5Copyright (C) 2018-19 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">
Arundathi Patil85db5b02019-01-17 14:10:08 +053023 <modelVersion>4.0.0</modelVersion>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040024
Timoney, Dan (dt5972)a76ceb42019-01-24 09:53:56 -050025 <parent>
26 <groupId>org.onap.ccsdk.cds</groupId>
Singal, Kapil (ks220y)8de37f92020-09-11 13:58:42 -040027 <artifactId>cds-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>
Timoney, Dan (dt5972)a76ceb42019-01-24 09:53:56 -050030 </parent>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040031
Singal, Kapil (ks220y)8de37f92020-09-11 13:58:42 -040032 <artifactId>cds-ui-server</artifactId>
Dan Timoney8edec222020-04-07 11:51:20 -040033 <version>1.0.0-SNAPSHOT</version>
Arundathi Patil85db5b02019-01-17 14:10:08 +053034 <packaging>pom</packaging>
35
Singal, Kapil (ks220y)8de37f92020-09-11 13:58:42 -040036 <name>UI Server</name>
Arundathi Patil85db5b02019-01-17 14:10:08 +053037
38 <properties>
Chandan Ghosh5d55c412019-04-09 15:18:05 +053039 <image.name>onap/ccsdk-cds-ui-server</image.name>
Arundathi Patil85db5b02019-01-17 14:10:08 +053040 </properties>
41
Arundathi Patil85db5b02019-01-17 14:10:08 +053042 <build>
43 <plugins>
44 <plugin>
Nirvan Ramjuttun2ac64f22019-05-30 14:07:23 -040045 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-dependency-plugin</artifactId>
47 <version>3.1.1</version>
48 <executions>
49 <execution>
50 <id>unpack-blueprint-grpc-proto</id>
51 <phase>generate-resources</phase>
52 <goals>
53 <goal>unpack</goal>
54 </goals>
55 <configuration>
56 <artifactItems>
57 <artifactItem>
Singal, Kapil (ks220y)8de37f92020-09-11 13:58:42 -040058 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
Ahmed Abbas753f88e2019-11-15 22:47:27 +020059 <artifactId>blueprint-proto</artifactId>
Singal, Kapil (ks220y)8de37f92020-09-11 13:58:42 -040060 <version>${ccsdk.cds.version}</version>
Nirvan Ramjuttun2ac64f22019-05-30 14:07:23 -040061 <type>jar</type>
62 <overWrite>true</overWrite>
63 <outputDirectory>${project.build.directory}/generated/proto-definition/proto</outputDirectory>
64 <includes>**/*.proto</includes>
65 </artifactItem>
66 </artifactItems>
67 </configuration>
68 </execution>
69 </executions>
70 </plugin>
71
72 <plugin>
Arundathi Patil85db5b02019-01-17 14:10:08 +053073 <groupId>com.github.eirslett</groupId>
74 <artifactId>frontend-maven-plugin</artifactId>
75 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
76 <version>1.3</version>
77 <configuration>
78 <nodeVersion>v8.12.0</nodeVersion>
Timoney, Dan (dt5972)dfe52052019-07-17 11:07:44 -040079 <npmVersion>6.4.1</npmVersion>
Arundathi Patil85db5b02019-01-17 14:10:08 +053080 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
Arundathi Patil85db5b02019-01-17 14:10:08 +053081 <installDirectory>./</installDirectory>
82 </configuration>
83 <executions>
84 <execution>
85 <id>install node and npm</id>
86 <goals>
87 <goal>install-node-and-npm</goal>
88 </goals>
89 <phase>generate-resources</phase>
90 </execution>
91
92 <execution>
93 <id>npm install</id>
94 <goals>
95 <goal>npm</goal>
96 </goals>
97
98 <phase>generate-resources</phase>
99
100 <configuration>
101 <arguments>install</arguments>
102 </configuration>
103 </execution>
104
105 <execution>
106 <id>npm build</id>
107 <goals>
108 <goal>npm</goal>
109 </goals>
110
111 <phase>generate-resources</phase>
112
113 <configuration>
114 <arguments>run build</arguments>
115 </configuration>
116 </execution>
117
118 </executions>
119 </plugin>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530120 <plugin>
121 <groupId>org.codehaus.groovy.maven</groupId>
122 <artifactId>gmaven-plugin</artifactId>
123 <version>1.0</version>
124 <executions>
125 <execution>
126 <phase>validate</phase>
127 <goals>
128 <goal>execute</goal>
129 </goals>
130 <configuration>
131 <source>${basedir}/../../TagVersion.groovy</source>
132 </configuration>
133 </execution>
134 </executions>
135 </plugin>
Arundathi Patil85db5b02019-01-17 14:10:08 +0530136 </plugins>
137 </build>
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +0000138
139 <profiles>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530140 <profile>
141 <id>docker</id>
142 <build>
143 <plugins>
144 <plugin>
145 <groupId>io.fabric8</groupId>
146 <artifactId>docker-maven-plugin</artifactId>
Singal, Kapil (ks220y)fbbc9bc2020-09-16 10:49:28 -0400147 <version>0.34.0</version>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530148 <inherited>false</inherited>
149 <configuration>
150 <images>
151 <image>
152 <name>${image.name}</name>
153 <build>
154 <cleanup>try</cleanup>
155 <dockerFileDir>${basedir}</dockerFileDir>
156 <tags>
157 <tag>${project.docker.latestminortag.version}</tag>
158 <tag>${project.docker.latestfulltag.version}</tag>
159 <tag>${project.docker.latesttagtimestamp.version}</tag>
160 </tags>
161 </build>
162 </image>
163 </images>
Singal, Kapil (ks220y)fbbc9bc2020-09-16 10:49:28 -0400164 <verbose>${docker.verbose}</verbose>
165 <skipPush>${docker.skip.push}</skipPush>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530166 </configuration>
167 <executions>
168 <execution>
Singal, Kapil (ks220y)fbbc9bc2020-09-16 10:49:28 -0400169 <id>build-push-images</id>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530170 <phase>${docker.push.phase}</phase>
171 <goals>
172 <goal>build</goal>
173 <goal>push</goal>
174 </goals>
175 </execution>
176 </executions>
177 </plugin>
178 </plugins>
179 </build>
180 </profile>
181
182 </profiles>
Arundathi Patil85db5b02019-01-17 14:10:08 +0530183</project>