Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
| 3 | /** |
| 4 | * Copyright (c) 2017 ZTE Corporation. |
| 5 | * 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 | --> |
| 15 | <project |
| 16 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| 17 | xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 18 | <parent> |
| 19 | <groupId>org.onap.sdc.sdc-workflow-designer</groupId> |
| 20 | <artifactId>sdc-workflow-designer</artifactId> |
YuanHu | 77acffc | 2018-02-09 16:13:05 +0800 | [diff] [blame] | 21 | <version>1.1.0-SNAPSHOT</version> |
Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 22 | </parent> |
| 23 | |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <groupId>org.onap.sdc.sdc-workflow-designer</groupId> |
| 26 | <artifactId>sdc-workflow-designer-ui</artifactId> |
Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 27 | <name>sdc-workflow-designer-ui</name> |
YuanHu | 77acffc | 2018-02-09 16:13:05 +0800 | [diff] [blame] | 28 | <packaging>jar</packaging> |
Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 29 | |
| 30 | <properties> |
| 31 | <frontend-maven-plugin-version>1.4</frontend-maven-plugin-version> |
YuanHu | 77acffc | 2018-02-09 16:13:05 +0800 | [diff] [blame] | 32 | <version.output>target/version</version.output> |
Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 33 | </properties> |
| 34 | |
| 35 | <build> |
Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 36 | <plugins> |
| 37 | <plugin> |
| 38 | <groupId>com.github.eirslett</groupId> |
| 39 | <artifactId>frontend-maven-plugin</artifactId> |
| 40 | <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> |
| 41 | <version>${frontend-maven-plugin-version}</version> |
| 42 | |
| 43 | <configuration> |
| 44 | </configuration> |
| 45 | |
| 46 | <executions> |
| 47 | <execution> |
| 48 | <id>install node and npm</id> |
| 49 | <goals> |
| 50 | <goal>install-node-and-npm</goal> |
| 51 | </goals> |
| 52 | <configuration> |
| 53 | <!-- See https://nodejs.org/en/download/ for |
| 54 | latest node and npm (lts) versions --> |
YuanHu | 5fc43ca | 2018-03-27 13:00:45 +0800 | [diff] [blame^] | 55 | <nodeVersion>v8.2.1</nodeVersion> |
| 56 | <npmVersion>5.3.0</npmVersion> |
Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 57 | </configuration> |
| 58 | </execution> |
| 59 | |
| 60 | <execution> |
| 61 | <id>npm install</id> |
| 62 | <goals> |
| 63 | <goal>npm</goal> |
| 64 | </goals> |
| 65 | <configuration> |
| 66 | <arguments>install</arguments> |
| 67 | </configuration> |
| 68 | </execution> |
| 69 | |
| 70 | <execution> |
| 71 | <id>npm run build</id> |
| 72 | <goals> |
| 73 | <goal>npm</goal> |
| 74 | </goals> |
| 75 | <configuration> |
| 76 | <arguments>run build</arguments> |
| 77 | </configuration> |
| 78 | </execution> |
| 79 | </executions> |
| 80 | </plugin> |
| 81 | |
| 82 | </plugins> |
YuanHu | 77acffc | 2018-02-09 16:13:05 +0800 | [diff] [blame] | 83 | |
| 84 | <resources> |
| 85 | <resource> |
| 86 | <targetPath>workflow-modeler</targetPath> |
| 87 | <directory>dist</directory> |
| 88 | <includes> |
| 89 | <include>**/**</include> |
| 90 | </includes> |
| 91 | <filtering>false</filtering> |
| 92 | </resource> |
| 93 | </resources> |
Lvbo163 | f721b1a | 2017-08-23 17:27:33 +0800 | [diff] [blame] | 94 | </build> |
| 95 | </project> |