Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START========================================== |
| 3 | =================================================================== |
| 4 | Copyright (C) 2018-19 IBM Intellectual Property. All rights reserved. |
| 5 | =================================================================== |
| 6 | |
| 7 | Unless otherwise specified, all software contained herein is licensed |
| 8 | under the Apache License, Version 2.0 (the License); |
| 9 | you may not use this software except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | ============LICENSE_END============================================ --> |
| 20 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame^] | 22 | 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> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame^] | 27 | <artifactId>ui</artifactId> |
| 28 | <version>0.4.2-SNAPSHOT</version> |
| 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 | |
| 32 | <artifactId>ui-server</artifactId> |
| 33 | <version>0.4.2-SNAPSHOT</version> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 34 | <packaging>pom</packaging> |
| 35 | |
| 36 | <name>cds-ui-server</name> |
| 37 | |
| 38 | <properties> |
| 39 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 40 | <npm.executable>npm</npm.executable> |
| 41 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 42 | </properties> |
| 43 | |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 44 | <build> |
| 45 | <plugins> |
| 46 | <plugin> |
| 47 | <groupId>com.github.eirslett</groupId> |
| 48 | <artifactId>frontend-maven-plugin</artifactId> |
| 49 | <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> |
| 50 | <version>1.3</version> |
| 51 | <configuration> |
| 52 | <nodeVersion>v8.12.0</nodeVersion> |
| 53 | <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> |
| 54 | <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot> |
| 55 | <installDirectory>./</installDirectory> |
| 56 | </configuration> |
| 57 | <executions> |
| 58 | <execution> |
| 59 | <id>install node and npm</id> |
| 60 | <goals> |
| 61 | <goal>install-node-and-npm</goal> |
| 62 | </goals> |
| 63 | <phase>generate-resources</phase> |
| 64 | </execution> |
| 65 | |
| 66 | <execution> |
| 67 | <id>npm install</id> |
| 68 | <goals> |
| 69 | <goal>npm</goal> |
| 70 | </goals> |
| 71 | |
| 72 | <phase>generate-resources</phase> |
| 73 | |
| 74 | <configuration> |
| 75 | <arguments>install</arguments> |
| 76 | </configuration> |
| 77 | </execution> |
| 78 | |
| 79 | <execution> |
| 80 | <id>npm build</id> |
| 81 | <goals> |
| 82 | <goal>npm</goal> |
| 83 | </goals> |
| 84 | |
| 85 | <phase>generate-resources</phase> |
| 86 | |
| 87 | <configuration> |
| 88 | <arguments>run build</arguments> |
| 89 | </configuration> |
| 90 | </execution> |
| 91 | |
| 92 | </executions> |
| 93 | </plugin> |
| 94 | </plugins> |
| 95 | </build> |
| 96 | </project> |