Repository: ambari Updated Branches: refs/heads/trunk aa6ef089b -> 5d077fba8
AMBARI-10303. Install node / brunch and other build dependencies at build time. Additional patch. (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5d077fba Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5d077fba Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5d077fba Branch: refs/heads/trunk Commit: 5d077fba8fdc25ed0995ca29db9d417c1bb78c81 Parents: aa6ef08 Author: Alex Antonenko <[email protected]> Authored: Wed Apr 1 19:27:09 2015 +0300 Committer: Alex Antonenko <[email protected]> Committed: Wed Apr 1 19:34:39 2015 +0300 ---------------------------------------------------------------------- ambari-web/pom.xml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/5d077fba/ambari-web/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-web/pom.xml b/ambari-web/pom.xml index 8169219..65ff47e 100644 --- a/ambari-web/pom.xml +++ b/ambari-web/pom.xml @@ -90,10 +90,6 @@ <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <version>0.0.19</version> - <configuration> - <nodeVersion>v0.10.31</nodeVersion> - <npmVersion>1.4.28</npmVersion> - </configuration> <executions> <execution> <id>install node and npm</id> @@ -101,8 +97,8 @@ <goal>install-node-and-npm</goal> </goals> <configuration> - <nodeVersion>v0.10.31</nodeVersion> - <npmVersion>1.4.28</npmVersion> + <nodeVersion>v0.10.33</nodeVersion> + <npmVersion>1.4.4</npmVersion> </configuration> </execution> </executions> @@ -154,6 +150,18 @@ </configuration> </execution> <execution> + <id>npm-cache-info</id> + <phase>compile</phase> + <goals> + <goal>exec</goal> + </goals> + <configuration> + <executable>${executable.node}</executable> + <workingDirectory>${basedir}</workingDirectory> + <commandlineArgs>${args.npm.full.path} cache ls</commandlineArgs> + </configuration> + </execution> + <execution> <id>install-npm</id> <phase>compile</phase> <goals>
