From 779c51de46cf55648036361bb33e0470b28756ca Mon Sep 17 00:00:00 2001 From: Ittay Stern Date: Thu, 16 May 2019 15:47:08 +0300 Subject: 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 --- vid-app-common/package.json | 1 - vid-app-common/pom.xml | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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 @@ -171,6 +171,16 @@ ${node.version} + + npm install + + install + + + npm + + generate-resources + npm run-script build -- cgit 1.2.3-korg