blob: 4768352bccc0eca1ef6b55d44d3c106834856c11 [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 Timoney31ec7422020-09-22 15:56:18 -040028 <version>1.1.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>
Arundathi Patil85db5b02019-01-17 14:10:08 +053033 <packaging>pom</packaging>
34
Singal, Kapil (ks220y)58447242020-12-15 19:02:17 -050035 <name>CDS UI - Server</name>
Arundathi Patil85db5b02019-01-17 14:10:08 +053036
37 <properties>
Chandan Ghosh5d55c412019-04-09 15:18:05 +053038 <image.name>onap/ccsdk-cds-ui-server</image.name>
Arundathi Patil85db5b02019-01-17 14:10:08 +053039 </properties>
40
Arundathi Patil85db5b02019-01-17 14:10:08 +053041 <build>
42 <plugins>
43 <plugin>
Nirvan Ramjuttun2ac64f22019-05-30 14:07:23 -040044 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-dependency-plugin</artifactId>
46 <version>3.1.1</version>
47 <executions>
48 <execution>
49 <id>unpack-blueprint-grpc-proto</id>
50 <phase>generate-resources</phase>
51 <goals>
52 <goal>unpack</goal>
53 </goals>
54 <configuration>
55 <artifactItems>
56 <artifactItem>
Singal, Kapil (ks220y)8de37f92020-09-11 13:58:42 -040057 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
Ahmed Abbas753f88e2019-11-15 22:47:27 +020058 <artifactId>blueprint-proto</artifactId>
Singal, Kapil (ks220y)8de37f92020-09-11 13:58:42 -040059 <version>${ccsdk.cds.version}</version>
Nirvan Ramjuttun2ac64f22019-05-30 14:07:23 -040060 <type>jar</type>
61 <overWrite>true</overWrite>
62 <outputDirectory>${project.build.directory}/generated/proto-definition/proto</outputDirectory>
63 <includes>**/*.proto</includes>
64 </artifactItem>
65 </artifactItems>
66 </configuration>
67 </execution>
68 </executions>
69 </plugin>
70
71 <plugin>
Arundathi Patil85db5b02019-01-17 14:10:08 +053072 <groupId>com.github.eirslett</groupId>
73 <artifactId>frontend-maven-plugin</artifactId>
74 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
75 <version>1.3</version>
76 <configuration>
77 <nodeVersion>v8.12.0</nodeVersion>
Timoney, Dan (dt5972)dfe52052019-07-17 11:07:44 -040078 <npmVersion>6.4.1</npmVersion>
Arundathi Patil85db5b02019-01-17 14:10:08 +053079 <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
Arundathi Patil85db5b02019-01-17 14:10:08 +053080 <installDirectory>./</installDirectory>
81 </configuration>
82 <executions>
83 <execution>
84 <id>install node and npm</id>
85 <goals>
86 <goal>install-node-and-npm</goal>
87 </goals>
88 <phase>generate-resources</phase>
89 </execution>
Arundathi Patil85db5b02019-01-17 14:10:08 +053090 <execution>
91 <id>npm install</id>
92 <goals>
93 <goal>npm</goal>
94 </goals>
Arundathi Patil85db5b02019-01-17 14:10:08 +053095 <phase>generate-resources</phase>
Arundathi Patil85db5b02019-01-17 14:10:08 +053096 <configuration>
97 <arguments>install</arguments>
98 </configuration>
99 </execution>
Arundathi Patil85db5b02019-01-17 14:10:08 +0530100 <execution>
101 <id>npm build</id>
102 <goals>
103 <goal>npm</goal>
104 </goals>
Arundathi Patil85db5b02019-01-17 14:10:08 +0530105 <phase>generate-resources</phase>
Arundathi Patil85db5b02019-01-17 14:10:08 +0530106 <configuration>
107 <arguments>run build</arguments>
108 </configuration>
109 </execution>
Arundathi Patil85db5b02019-01-17 14:10:08 +0530110 </executions>
111 </plugin>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530112 <plugin>
113 <groupId>org.codehaus.groovy.maven</groupId>
114 <artifactId>gmaven-plugin</artifactId>
115 <version>1.0</version>
116 <executions>
117 <execution>
118 <phase>validate</phase>
119 <goals>
120 <goal>execute</goal>
121 </goals>
122 <configuration>
123 <source>${basedir}/../../TagVersion.groovy</source>
124 </configuration>
125 </execution>
126 </executions>
127 </plugin>
Arundathi Patil85db5b02019-01-17 14:10:08 +0530128 </plugins>
129 </build>
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +0000130
131 <profiles>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530132 <profile>
133 <id>docker</id>
134 <build>
135 <plugins>
136 <plugin>
137 <groupId>io.fabric8</groupId>
138 <artifactId>docker-maven-plugin</artifactId>
Singal, Kapil (ks220y)fbbc9bc2020-09-16 10:49:28 -0400139 <version>0.34.0</version>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530140 <inherited>false</inherited>
141 <configuration>
142 <images>
143 <image>
144 <name>${image.name}</name>
145 <build>
146 <cleanup>try</cleanup>
147 <dockerFileDir>${basedir}</dockerFileDir>
148 <tags>
149 <tag>${project.docker.latestminortag.version}</tag>
150 <tag>${project.docker.latestfulltag.version}</tag>
151 <tag>${project.docker.latesttagtimestamp.version}</tag>
152 </tags>
153 </build>
154 </image>
155 </images>
Singal, Kapil (ks220y)fbbc9bc2020-09-16 10:49:28 -0400156 <verbose>${docker.verbose}</verbose>
157 <skipPush>${docker.skip.push}</skipPush>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530158 </configuration>
159 <executions>
160 <execution>
Singal, Kapil (ks220y)fbbc9bc2020-09-16 10:49:28 -0400161 <id>build-push-images</id>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530162 <goals>
163 <goal>build</goal>
164 <goal>push</goal>
165 </goals>
166 </execution>
167 </executions>
168 </plugin>
169 </plugins>
170 </build>
171 </profile>
Chandan Ghosh5d55c412019-04-09 15:18:05 +0530172 </profiles>
Arundathi Patil85db5b02019-01-17 14:10:08 +0530173</project>