blob: 59b14b890da61551a31806685940441432c58b8d [file] [log] [blame]
Arundathi Patil85db5b02019-01-17 14:10:08 +05301<!--
2============LICENSE_START==========================================
3===================================================================
4Copyright (C) 2018-19 IBM Intellectual Property. All rights reserved.
5===================================================================
6
7Unless otherwise specified, all software contained herein is licensed
8under the Apache License, Version 2.0 (the License);
9you may not use this software except in compliance with the License.
10You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14Unless required by applicable law or agreed to in writing, software
15distributed under the License is distributed on an "AS IS" BASIS,
16WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17See the License for the specific language governing permissions and
18limitations 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ëtc90edac2019-03-25 13:04:18 -040022 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Arundathi Patil85db5b02019-01-17 14:10:08 +053023 <modelVersion>4.0.0</modelVersion>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040024
Timoney, Dan (dt5972)a76ceb42019-01-24 09:53:56 -050025 <parent>
26 <groupId>org.onap.ccsdk.cds</groupId>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040027 <artifactId>ui</artifactId>
28 <version>0.4.2-SNAPSHOT</version>
29 <relativePath>..</relativePath>
Timoney, Dan (dt5972)a76ceb42019-01-24 09:53:56 -050030 </parent>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040031
32 <artifactId>ui-server</artifactId>
33 <version>0.4.2-SNAPSHOT</version>
Arundathi Patil85db5b02019-01-17 14:10:08 +053034 <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 Patil85db5b02019-01-17 14:10:08 +053044 <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>