summaryrefslogtreecommitdiffstats
path: root/vid-app-common
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-05-16 15:47:08 +0300
committerIttay Stern <ittay.stern@att.com>2019-05-16 15:47:08 +0300
commit779c51de46cf55648036361bb33e0470b28756ca (patch)
treecd7b10b6185a41c77a1bf6e18aeb0199866a252f /vid-app-common
parent4dc2c4df24d733db6176c738eb9a9ee35a112795 (diff)
Run npm install as a frontend-maven-plugin goal
Without this, "prebuild" step is using local npm, instead of frontend-maven-plugin one: npm ERR! Linux 4.4.0-134-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 Issue-ID: VID-391 Change-Id: Ic9cd94898faaaf109b02d23640e652bd7e541753 Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common')
-rw-r--r--vid-app-common/package.json1
-rwxr-xr-xvid-app-common/pom.xml10
2 files changed, 10 insertions, 1 deletions
diff --git a/vid-app-common/package.json b/vid-app-common/package.json
index fb8d5d762..c9445c6c6 100644
--- a/vid-app-common/package.json
+++ b/vid-app-common/package.json
@@ -12,7 +12,6 @@
"ng-file-upload": "^12.2.13"
},
"scripts": {
- "prebuild": "npm install",
"build": "gulp"
},
"devDependencies": {
diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml
index 2795239e3..49398884e 100755
--- a/vid-app-common/pom.xml
+++ b/vid-app-common/pom.xml
@@ -172,6 +172,16 @@
</configuration>
</execution>
<execution>
+ <id>npm install</id>
+ <configuration>
+ <arguments>install</arguments>
+ </configuration>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ </execution>
+ <execution>
<id>npm run-script build</id>
<configuration>
<arguments>run-script build</arguments>