Browse Source

AMBARI-10303. Install node / brunch and other build dependencies at build time. Additional patch. (alexantonenko)

Alex Antonenko 10 years ago
parent
commit
5d077fba8f
1 changed files with 14 additions and 6 deletions
  1. 14 6
      ambari-web/pom.xml

+ 14 - 6
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>
@@ -153,6 +149,18 @@
               <commandlineArgs>${args.npm.full.path} cache clean</commandlineArgs>
             </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>