Timoney, Dan (dt5972) | 84b361d | 2019-04-24 15:05:00 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START========================================== |
| 4 | =================================================================== |
| 5 | Copyright (C) 2018-19 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"> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 23 | |
Timoney, Dan (dt5972) | a76ceb4 | 2019-01-24 09:53:56 -0500 | [diff] [blame] | 24 | <parent> |
| 25 | <groupId>org.onap.ccsdk.cds</groupId> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 26 | <artifactId>ui</artifactId> |
Timoney, Dan (dt5972) | 1926b37 | 2019-09-11 10:54:30 -0400 | [diff] [blame] | 27 | <version>0.7.0-SNAPSHOT</version> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 28 | <relativePath>..</relativePath> |
Timoney, Dan (dt5972) | a76ceb4 | 2019-01-24 09:53:56 -0500 | [diff] [blame] | 29 | </parent> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 30 | |
| 31 | <artifactId>ui-server</artifactId> |
Timoney, Dan (dt5972) | 1926b37 | 2019-09-11 10:54:30 -0400 | [diff] [blame] | 32 | <version>0.7.0-SNAPSHOT</version> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 33 | <packaging>pom</packaging> |
| 34 | |
Singal, Kapil (ks220y) | 71f561e | 2019-09-18 10:05:39 -0400 | [diff] [blame^] | 35 | <name>CDS UI Server</name> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 36 | |
| 37 | <properties> |
| 38 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 39 | <npm.executable>npm</npm.executable> |
| 40 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 41 | <image.name>onap/ccsdk-cds-ui-server</image.name> |
| 42 | <docker.push.phase>deploy</docker.push.phase> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 43 | </properties> |
| 44 | |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 45 | <build> |
| 46 | <plugins> |
| 47 | <plugin> |
Nirvan Ramjuttun | 2ac64f2 | 2019-05-30 14:07:23 -0400 | [diff] [blame] | 48 | <groupId>org.apache.maven.plugins</groupId> |
| 49 | <artifactId>maven-dependency-plugin</artifactId> |
| 50 | <version>3.1.1</version> |
| 51 | <executions> |
| 52 | <execution> |
| 53 | <id>unpack-blueprint-grpc-proto</id> |
| 54 | <phase>generate-resources</phase> |
| 55 | <goals> |
| 56 | <goal>unpack</goal> |
| 57 | </goals> |
| 58 | <configuration> |
| 59 | <artifactItems> |
| 60 | <artifactItem> |
| 61 | <groupId>org.onap.ccsdk.cds.components</groupId> |
| 62 | <artifactId>proto-definition</artifactId> |
| 63 | <version>${project.version}</version> |
| 64 | <type>jar</type> |
| 65 | <overWrite>true</overWrite> |
| 66 | <outputDirectory>${project.build.directory}/generated/proto-definition/proto</outputDirectory> |
| 67 | <includes>**/*.proto</includes> |
| 68 | </artifactItem> |
| 69 | </artifactItems> |
| 70 | </configuration> |
| 71 | </execution> |
| 72 | </executions> |
| 73 | </plugin> |
| 74 | |
| 75 | <plugin> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 76 | <groupId>com.github.eirslett</groupId> |
| 77 | <artifactId>frontend-maven-plugin</artifactId> |
| 78 | <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> |
| 79 | <version>1.3</version> |
| 80 | <configuration> |
| 81 | <nodeVersion>v8.12.0</nodeVersion> |
Timoney, Dan (dt5972) | dfe5205 | 2019-07-17 11:07:44 -0400 | [diff] [blame] | 82 | <npmVersion>6.4.1</npmVersion> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 83 | <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 84 | <installDirectory>./</installDirectory> |
| 85 | </configuration> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <id>install node and npm</id> |
| 89 | <goals> |
| 90 | <goal>install-node-and-npm</goal> |
| 91 | </goals> |
| 92 | <phase>generate-resources</phase> |
| 93 | </execution> |
| 94 | |
| 95 | <execution> |
| 96 | <id>npm install</id> |
| 97 | <goals> |
| 98 | <goal>npm</goal> |
| 99 | </goals> |
| 100 | |
| 101 | <phase>generate-resources</phase> |
| 102 | |
| 103 | <configuration> |
| 104 | <arguments>install</arguments> |
| 105 | </configuration> |
| 106 | </execution> |
| 107 | |
| 108 | <execution> |
| 109 | <id>npm build</id> |
| 110 | <goals> |
| 111 | <goal>npm</goal> |
| 112 | </goals> |
| 113 | |
| 114 | <phase>generate-resources</phase> |
| 115 | |
| 116 | <configuration> |
| 117 | <arguments>run build</arguments> |
| 118 | </configuration> |
| 119 | </execution> |
| 120 | |
| 121 | </executions> |
| 122 | </plugin> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 123 | <plugin> |
| 124 | <groupId>org.codehaus.groovy.maven</groupId> |
| 125 | <artifactId>gmaven-plugin</artifactId> |
| 126 | <version>1.0</version> |
| 127 | <executions> |
| 128 | <execution> |
| 129 | <phase>validate</phase> |
| 130 | <goals> |
| 131 | <goal>execute</goal> |
| 132 | </goals> |
| 133 | <configuration> |
| 134 | <source>${basedir}/../../TagVersion.groovy</source> |
| 135 | </configuration> |
| 136 | </execution> |
| 137 | </executions> |
| 138 | </plugin> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 139 | </plugins> |
| 140 | </build> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 141 | |
| 142 | <profiles> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 143 | <profile> |
| 144 | <id>docker</id> |
| 145 | <build> |
| 146 | <plugins> |
| 147 | <plugin> |
| 148 | <groupId>io.fabric8</groupId> |
| 149 | <artifactId>docker-maven-plugin</artifactId> |
| 150 | <version>0.26.1</version> |
| 151 | <inherited>false</inherited> |
| 152 | <configuration> |
| 153 | <images> |
| 154 | <image> |
| 155 | <name>${image.name}</name> |
| 156 | <build> |
| 157 | <cleanup>try</cleanup> |
| 158 | <dockerFileDir>${basedir}</dockerFileDir> |
| 159 | <tags> |
| 160 | <tag>${project.docker.latestminortag.version}</tag> |
| 161 | <tag>${project.docker.latestfulltag.version}</tag> |
| 162 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 163 | </tags> |
| 164 | </build> |
| 165 | </image> |
| 166 | </images> |
| 167 | <verbose>true</verbose> |
| 168 | </configuration> |
| 169 | <executions> |
| 170 | <execution> |
| 171 | <id>generate-images</id> |
| 172 | <phase>package</phase> |
| 173 | <goals> |
| 174 | <goal>build</goal> |
| 175 | </goals> |
| 176 | </execution> |
| 177 | <execution> |
| 178 | <id>push-images</id> |
| 179 | <phase>${docker.push.phase}</phase> |
| 180 | <goals> |
| 181 | <goal>build</goal> |
| 182 | <goal>push</goal> |
| 183 | </goals> |
| 184 | </execution> |
| 185 | </executions> |
| 186 | </plugin> |
| 187 | </plugins> |
| 188 | </build> |
| 189 | </profile> |
| 190 | |
| 191 | </profiles> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 192 | </project> |