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============================================ --> |
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> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 26 | <artifactId>cds-ui</artifactId> |
Dan Timoney | b0ca47d | 2022-04-26 13:44:15 -0400 | [diff] [blame] | 27 | <version>1.4.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 | |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 31 | <artifactId>cds-ui-server</artifactId> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 32 | <packaging>pom</packaging> |
| 33 | |
Singal, Kapil (ks220y) | 5844724 | 2020-12-15 19:02:17 -0500 | [diff] [blame] | 34 | <name>CDS UI - Server</name> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 35 | |
| 36 | <properties> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 37 | <image.name>onap/ccsdk-cds-ui-server</image.name> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 38 | </properties> |
| 39 | |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 40 | <build> |
| 41 | <plugins> |
| 42 | <plugin> |
Nirvan Ramjuttun | 2ac64f2 | 2019-05-30 14:07:23 -0400 | [diff] [blame] | 43 | <groupId>org.apache.maven.plugins</groupId> |
| 44 | <artifactId>maven-dependency-plugin</artifactId> |
| 45 | <version>3.1.1</version> |
| 46 | <executions> |
| 47 | <execution> |
| 48 | <id>unpack-blueprint-grpc-proto</id> |
| 49 | <phase>generate-resources</phase> |
| 50 | <goals> |
| 51 | <goal>unpack</goal> |
| 52 | </goals> |
| 53 | <configuration> |
| 54 | <artifactItems> |
| 55 | <artifactItem> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 56 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> |
Ahmed Abbas | 753f88e | 2019-11-15 22:47:27 +0200 | [diff] [blame] | 57 | <artifactId>blueprint-proto</artifactId> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 58 | <version>${ccsdk.cds.version}</version> |
Nirvan Ramjuttun | 2ac64f2 | 2019-05-30 14:07:23 -0400 | [diff] [blame] | 59 | <type>jar</type> |
| 60 | <overWrite>true</overWrite> |
| 61 | <outputDirectory>${project.build.directory}/generated/proto-definition/proto</outputDirectory> |
| 62 | <includes>**/*.proto</includes> |
| 63 | </artifactItem> |
| 64 | </artifactItems> |
| 65 | </configuration> |
| 66 | </execution> |
| 67 | </executions> |
| 68 | </plugin> |
| 69 | |
| 70 | <plugin> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 71 | <groupId>com.github.eirslett</groupId> |
| 72 | <artifactId>frontend-maven-plugin</artifactId> |
| 73 | <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> |
Singal, Kapil (ks220y) | 613e825 | 2022-08-22 10:55:48 -0400 | [diff] [blame] | 74 | <version>1.12.1</version> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 75 | <configuration> |
Lukasz Rajewski | 3a31cda | 2022-09-18 23:41:04 +0200 | [diff] [blame^] | 76 | <nodeVersion>v16.14.0</nodeVersion> |
| 77 | <npmVersion>8.3.0</npmVersion> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 78 | <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 79 | <installDirectory>./</installDirectory> |
| 80 | </configuration> |
| 81 | <executions> |
| 82 | <execution> |
| 83 | <id>install node and npm</id> |
| 84 | <goals> |
| 85 | <goal>install-node-and-npm</goal> |
| 86 | </goals> |
| 87 | <phase>generate-resources</phase> |
| 88 | </execution> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 89 | <execution> |
| 90 | <id>npm install</id> |
| 91 | <goals> |
| 92 | <goal>npm</goal> |
| 93 | </goals> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 94 | <phase>generate-resources</phase> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 95 | <configuration> |
| 96 | <arguments>install</arguments> |
| 97 | </configuration> |
| 98 | </execution> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 99 | <execution> |
| 100 | <id>npm build</id> |
| 101 | <goals> |
| 102 | <goal>npm</goal> |
| 103 | </goals> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 104 | <phase>generate-resources</phase> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 105 | <configuration> |
| 106 | <arguments>run build</arguments> |
| 107 | </configuration> |
| 108 | </execution> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 109 | </executions> |
| 110 | </plugin> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 111 | <plugin> |
| 112 | <groupId>org.codehaus.groovy.maven</groupId> |
| 113 | <artifactId>gmaven-plugin</artifactId> |
| 114 | <version>1.0</version> |
| 115 | <executions> |
| 116 | <execution> |
| 117 | <phase>validate</phase> |
| 118 | <goals> |
| 119 | <goal>execute</goal> |
| 120 | </goals> |
| 121 | <configuration> |
| 122 | <source>${basedir}/../../TagVersion.groovy</source> |
| 123 | </configuration> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | </plugin> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 127 | </plugins> |
| 128 | </build> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 129 | |
| 130 | <profiles> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 131 | <profile> |
| 132 | <id>docker</id> |
| 133 | <build> |
| 134 | <plugins> |
| 135 | <plugin> |
| 136 | <groupId>io.fabric8</groupId> |
| 137 | <artifactId>docker-maven-plugin</artifactId> |
Singal, Kapil (ks220y) | fbbc9bc | 2020-09-16 10:49:28 -0400 | [diff] [blame] | 138 | <version>0.34.0</version> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 139 | <inherited>false</inherited> |
| 140 | <configuration> |
| 141 | <images> |
| 142 | <image> |
| 143 | <name>${image.name}</name> |
| 144 | <build> |
| 145 | <cleanup>try</cleanup> |
Singal, Kapil (ks220y) | 11687d2 | 2021-03-19 15:08:22 -0400 | [diff] [blame] | 146 | <noCache>true</noCache> |
Chandan Ghosh | 5d55c41 | 2019-04-09 15:18:05 +0530 | [diff] [blame] | 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> |