You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2017/05/03 16:46:54 UTC

[11/53] [abbrv] ambari git commit: Revert "AMBARI-20885.Convert all Ambari Views to use yarn package manager(Venkata Sairam)"

http://git-wip-us.apache.org/repos/asf/ambari/blob/60f6c4db/contrib/views/hawq/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/hawq/pom.xml b/contrib/views/hawq/pom.xml
index 0bbd9e1..8089d68 100644
--- a/contrib/views/hawq/pom.xml
+++ b/contrib/views/hawq/pom.xml
@@ -133,35 +133,29 @@
                 <!-- Building frontend -->
                 <groupId>com.github.eirslett</groupId>
                 <artifactId>frontend-maven-plugin</artifactId>
-                <version>1.4</version>
+                <version>1.3</version>
                 <configuration>
                     <nodeVersion>v4.5.0</nodeVersion>
-                    <yarnVersion>v0.23.2</yarnVersion>
+                    <npmVersion>2.15.0</npmVersion>
                     <workingDirectory>${ui.dir}</workingDirectory>
                     <npmInheritsProxyConfigFromMaven>false</npmInheritsProxyConfigFromMaven>
-                    <!-- setting npm_config_tmp environment variable is a workaround for 
-                       https://github.com/Medium/phantomjs/issues/673 -->
-                    <environmentVariables>
-                      <npm_config_tmp>/tmp/npm_config_tmp</npm_config_tmp>
-                    </environmentVariables>
                 </configuration>
                 <executions>
                     <execution>
-                        <id>install node and yarn</id>
+                        <id>install node and npm</id>
                         <phase>generate-sources</phase>
                         <goals>
-                            <goal>install-node-and-yarn</goal>
+                            <goal>install-node-and-npm</goal>
                         </goals>
                     </execution>
                     <execution>
-                        <id>yarn install</id>
+                        <id>npm install</id>
                         <phase>generate-sources</phase>
                         <goals>
-                            <goal>yarn</goal>
+                            <goal>npm</goal>
                         </goals>
                         <configuration>
                             <arguments>install --unsafe-perm</arguments>
-                            <arguments>--ignore-engines</arguments>
                         </configuration>
                     </execution>
                 </executions>
@@ -268,4 +262,4 @@
         </resources>
 
     </build>
-</project>
+</project>
\ No newline at end of file