diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-05-16 15:47:08 +0300 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-05-21 20:02:31 +0300 |
commit | f3d760ed3c86438af0ec55e5683ad07902bf279b (patch) | |
tree | 9bee3e97afacf2764a4bcd39468596332f19978b /vid-app-common/pom.xml | |
parent | 2973b222e9997e375d29d416312bd3d4b9dbf236 (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
(cherry picked from commit 779c51de46cf55648036361bb33e0470b28756ca)
Change-Id: Iabadec524798481dbbe1a341b12fb33229cc9335
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/pom.xml')
-rwxr-xr-x | vid-app-common/pom.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml index 0e12d6cfa..d3c6fbeeb 100755 --- a/vid-app-common/pom.xml +++ b/vid-app-common/pom.xml @@ -184,6 +184,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> |