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-16 15:47:08 +0300 |
commit | 779c51de46cf55648036361bb33e0470b28756ca (patch) | |
tree | cd7b10b6185a41c77a1bf6e18aeb0199866a252f /vid-app-common/pom.xml | |
parent | 4dc2c4df24d733db6176c738eb9a9ee35a112795 (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/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 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> |