You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vs...@apache.org on 2017/05/05 15:04:01 UTC
[12/14] ambari git commit: AMBARI-20928.Ambari Views are failing to
compile in 2.4.3(Venkata Sairam)
http://git-wip-us.apache.org/repos/asf/ambari/blob/de64972c/contrib/views/hawq/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/hawq/pom.xml b/contrib/views/hawq/pom.xml
index e4ed54a..f3e5aaf 100644
--- a/contrib/views/hawq/pom.xml
+++ b/contrib/views/hawq/pom.xml
@@ -133,27 +133,33 @@
<!-- Building frontend -->
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
+ <version>1.4</version>
<configuration>
<nodeVersion>v4.5.0</nodeVersion>
- <npmVersion>2.15.0</npmVersion>
+ <yarnVersion>v0.23.2</yarnVersion>
<workingDirectory>${ui.dir}</workingDirectory>
+ <!-- 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 npm</id>
+ <id>install node and yarn</id>
<phase>generate-sources</phase>
<goals>
- <goal>install-node-and-npm</goal>
+ <goal>install-node-and-yarn</goal>
</goals>
</execution>
<execution>
- <id>npm install</id>
+ <id>yarn install --pure-lockfile</id>
<phase>generate-sources</phase>
<goals>
- <goal>npm</goal>
+ <goal>yarn</goal>
</goals>
<configuration>
- <arguments>install --unsafe-perm</arguments>
+ <arguments>install --unsafe-perm --ignore-engines</arguments>
</configuration>
</execution>
</executions>