blob: 2f758c5bf452d87c33adda071072457ae698772d [file] [log] [blame]
Lvbo163f721b1a2017-08-23 17:27:33 +08001<?xml version="1.0"?>
2<!--
3/**
YuanHu66266de2018-03-28 11:26:36 +08004 * Copyright (c) 2017-2018 ZTE Corporation.
Lvbo163f721b1a2017-08-23 17:27:33 +08005 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * and the Apache License 2.0 which both accompany this distribution,
8 * and are available at http://www.eclipse.org/legal/epl-v10.html
9 * and http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Contributors:
12 * ZTE - initial API and implementation and/or initial documentation
13 */
14-->
YuanHu66266de2018-03-28 11:26:36 +080015
Lvbo163f721b1a2017-08-23 17:27:33 +080016<project
17 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
18 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
19 <parent>
20 <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
21 <artifactId>sdc-workflow-designer</artifactId>
YuanHu77acffc2018-02-09 16:13:05 +080022 <version>1.1.0-SNAPSHOT</version>
Lvbo163f721b1a2017-08-23 17:27:33 +080023 </parent>
24
25 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
27 <artifactId>sdc-workflow-designer-ui</artifactId>
Lvbo163f721b1a2017-08-23 17:27:33 +080028 <name>sdc-workflow-designer-ui</name>
YuanHu77acffc2018-02-09 16:13:05 +080029 <packaging>jar</packaging>
Lvbo163f721b1a2017-08-23 17:27:33 +080030
31 <properties>
32 <frontend-maven-plugin-version>1.4</frontend-maven-plugin-version>
YuanHu77acffc2018-02-09 16:13:05 +080033 <version.output>target/version</version.output>
Lvbo163f721b1a2017-08-23 17:27:33 +080034 </properties>
35
36 <build>
Lvbo163f721b1a2017-08-23 17:27:33 +080037 <plugins>
38 <plugin>
39 <groupId>com.github.eirslett</groupId>
40 <artifactId>frontend-maven-plugin</artifactId>
41 <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
42 <version>${frontend-maven-plugin-version}</version>
43
44 <configuration>
45 </configuration>
46
47 <executions>
48 <execution>
49 <id>install node and npm</id>
50 <goals>
51 <goal>install-node-and-npm</goal>
52 </goals>
53 <configuration>
54 <!-- See https://nodejs.org/en/download/ for
55 latest node and npm (lts) versions -->
YuanHu5fc43ca2018-03-27 13:00:45 +080056 <nodeVersion>v8.2.1</nodeVersion>
57 <npmVersion>5.3.0</npmVersion>
Lvbo163f721b1a2017-08-23 17:27:33 +080058 </configuration>
59 </execution>
60
61 <execution>
62 <id>npm install</id>
63 <goals>
64 <goal>npm</goal>
65 </goals>
66 <configuration>
67 <arguments>install</arguments>
68 </configuration>
69 </execution>
70
71 <execution>
72 <id>npm run build</id>
73 <goals>
74 <goal>npm</goal>
75 </goals>
76 <configuration>
77 <arguments>run build</arguments>
78 </configuration>
79 </execution>
80 </executions>
81 </plugin>
82
83 </plugins>
YuanHu77acffc2018-02-09 16:13:05 +080084
85 <resources>
86 <resource>
87 <targetPath>workflow-modeler</targetPath>
88 <directory>dist</directory>
89 <includes>
90 <include>**/**</include>
91 </includes>
92 <filtering>false</filtering>
93 </resource>
94 </resources>
Lvbo163f721b1a2017-08-23 17:27:33 +080095 </build>
96</project>