Timoney, Dan (dt5972) | 84b361d | 2019-04-24 15:05:00 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 2 | <!-- |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 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============================================ --> |
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"> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 23 | <modelVersion>4.0.0</modelVersion> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 24 | |
Timoney, Dan (dt5972) | a76ceb4 | 2019-01-24 09:53:56 -0500 | [diff] [blame] | 25 | <parent> |
| 26 | <groupId>org.onap.ccsdk.cds</groupId> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 27 | <artifactId>cds-ui</artifactId> |
Dan Timoney | 31ec742 | 2020-09-22 15:56:18 -0400 | [diff] [blame] | 28 | <version>1.1.0-SNAPSHOT</version> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 29 | <relativePath>..</relativePath> |
Timoney, Dan (dt5972) | a76ceb4 | 2019-01-24 09:53:56 -0500 | [diff] [blame] | 30 | </parent> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 31 | |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 32 | <artifactId>cds-ui-server</artifactId> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 33 | <packaging>pom</packaging> |
| 34 | |
Singal, Kapil (ks220y) | 5844724 | 2020-12-15 19:02:17 -0500 | [diff] [blame] | 35 | <name>CDS UI - Server</name> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 36 | |
| 37 | <properties> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 38 | <image.name>onap/ccsdk-cds-ui-server</image.name> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 39 | </properties> |
| 40 | |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 41 | <build> |
| 42 | <plugins> |
| 43 | <plugin> |
Nirvan Ramjuttun | 2ac64f2 | 2019-05-30 14:07:23 -0400 | [diff] [blame] | 44 | <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) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 57 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> |
Ahmed Abbas | 753f88e | 2019-11-15 22:47:27 +0200 | [diff] [blame] | 58 | <artifactId>blueprint-proto</artifactId> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 59 | <version>${ccsdk.cds.version}</version> |
Nirvan Ramjuttun | 2ac64f2 | 2019-05-30 14:07:23 -0400 | [diff] [blame] | 60 | <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 Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 72 | <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) | dfe5205 | 2019-07-17 11:07:44 -0400 | [diff] [blame] | 78 | <npmVersion>6.4.1</npmVersion> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 79 | <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 80 | <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 Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 90 | <execution> |
| 91 | <id>npm install</id> |
| 92 | <goals> |
| 93 | <goal>npm</goal> |
| 94 | </goals> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 95 | <phase>generate-resources</phase> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 96 | <configuration> |
| 97 | <arguments>install</arguments> |
| 98 | </configuration> |
| 99 | </execution> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 100 | <execution> |
| 101 | <id>npm build</id> |
| 102 | <goals> |
| 103 | <goal>npm</goal> |
| 104 | </goals> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 105 | <phase>generate-resources</phase> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 106 | <configuration> |
| 107 | <arguments>run build</arguments> |
| 108 | </configuration> |
| 109 | </execution> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 110 | </executions> |
| 111 | </plugin> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 112 | <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 Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 128 | </plugins> |
| 129 | </build> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 130 | |
| 131 | <profiles> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 132 | <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) | fbbc9bc | 2020-09-16 10:49:28 -0400 | [diff] [blame] | 139 | <version>0.34.0</version> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 140 | <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) | fbbc9bc | 2020-09-16 10:49:28 -0400 | [diff] [blame] | 156 | <verbose>${docker.verbose}</verbose> |
| 157 | <skipPush>${docker.skip.push}</skipPush> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 158 | </configuration> |
| 159 | <executions> |
| 160 | <execution> |
Singal, Kapil (ks220y) | fbbc9bc | 2020-09-16 10:49:28 -0400 | [diff] [blame] | 161 | <id>build-push-images</id> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 162 | <goals> |
| 163 | <goal>build</goal> |
| 164 | <goal>push</goal> |
| 165 | </goals> |
| 166 | </execution> |
| 167 | </executions> |
| 168 | </plugin> |
| 169 | </plugins> |
| 170 | </build> |
| 171 | </profile> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 172 | </profiles> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 173 | </project> |