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" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
Timoney, Dan (dt5972) | a76ceb4 | 2019-01-24 09:53:56 -0500 | [diff] [blame] | 24 | |
| 25 | <parent> |
| 26 | <groupId>org.onap.ccsdk.cds</groupId> |
| 27 | <artifactId>controller-design-studio</artifactId> |
| 28 | <version>1.0.0-SNAPSHOT</version> |
| 29 | <relativePath>../..</relativePath> |
| 30 | </parent> |
| 31 | |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 32 | <groupId>org.onap.ccsdk.cds.server</groupId> |
| 33 | <artifactId>controller-design-studio-server</artifactId> |
Timoney, Dan (dt5972) | a76ceb4 | 2019-01-24 09:53:56 -0500 | [diff] [blame] | 34 | <version>1.0.0-SNAPSHOT</version> |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 35 | <packaging>pom</packaging> |
| 36 | |
| 37 | <name>cds-ui-server</name> |
| 38 | |
| 39 | <properties> |
| 40 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 41 | <npm.executable>npm</npm.executable> |
| 42 | <onap.nexus.url>https://nexus.onap.org</onap.nexus.url> |
| 43 | </properties> |
| 44 | |
Arundathi Patil | 85db5b0 | 2019-01-17 14:10:08 +0530 | [diff] [blame] | 45 | |
| 46 | |
| 47 | <build> |
| 48 | <plugins> |
| 49 | <plugin> |
| 50 | <groupId>com.github.eirslett</groupId> |
| 51 | <artifactId>frontend-maven-plugin</artifactId> |
| 52 | <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> |
| 53 | <version>1.3</version> |
| 54 | <configuration> |
| 55 | <nodeVersion>v8.12.0</nodeVersion> |
| 56 | <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> |
| 57 | <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot> |
| 58 | <installDirectory>./</installDirectory> |
| 59 | </configuration> |
| 60 | <executions> |
| 61 | <execution> |
| 62 | <id>install node and npm</id> |
| 63 | <goals> |
| 64 | <goal>install-node-and-npm</goal> |
| 65 | </goals> |
| 66 | <phase>generate-resources</phase> |
| 67 | </execution> |
| 68 | |
| 69 | <execution> |
| 70 | <id>npm install</id> |
| 71 | <goals> |
| 72 | <goal>npm</goal> |
| 73 | </goals> |
| 74 | |
| 75 | <phase>generate-resources</phase> |
| 76 | |
| 77 | <configuration> |
| 78 | <arguments>install</arguments> |
| 79 | </configuration> |
| 80 | </execution> |
| 81 | |
| 82 | <execution> |
| 83 | <id>npm build</id> |
| 84 | <goals> |
| 85 | <goal>npm</goal> |
| 86 | </goals> |
| 87 | |
| 88 | <phase>generate-resources</phase> |
| 89 | |
| 90 | <configuration> |
| 91 | <arguments>run build</arguments> |
| 92 | </configuration> |
| 93 | </execution> |
| 94 | |
| 95 | </executions> |
| 96 | </plugin> |
| 97 | </plugins> |
| 98 | </build> |
| 99 | </project> |