1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>org.openecomp.aai</groupId>
5 <artifactId>sparky-fe</artifactId>
6 <packaging>war</packaging>
7 <version>1.0.0-SNAPSHOT</version>
9 <url>http://maven.apache.org</url>
12 <nexusproxy>https://nexus.onap.org</nexusproxy>
22 <groupId>org.apache.maven.plugins</groupId>
23 <artifactId>maven-war-plugin</artifactId>
25 <failOnMissingWebXml>false</failOnMissingWebXml>
28 <directory>dist</directory>
35 <groupId>com.github.eirslett</groupId>
36 <artifactId>frontend-maven-plugin</artifactId>
37 <version>1.4</version>
40 <id>install node and npm</id>
42 <goal>install-node-and-npm</goal>
44 <phase>generate-resources</phase>
46 <nodeVersion>v6.2.2</nodeVersion>
47 <npmVersion>3.10.3</npmVersion>
55 <phase>generate-resources</phase>
57 <arguments>config set cache node\npm-cache</arguments>
65 <phase>generate-resources</phase>
72 <phase>generate-resources</phase>
75 <arguments>build</arguments>
84 <distributionManagement>
86 <id>ecomp-releases</id>
87 <name>ECOMP Release Repository</name>
88 <url>${nexusproxy}/content/repositories/releases/</url>
91 <id>ecomp-snapshots</id>
92 <name>ECOMP Snapshot Repository</name>
93 <url>${nexusproxy}/content/repositories/snapshots/</url>
95 </distributionManagement>