AMBARI-5823 - Views: Centos 5 build is failing (Roman Rader via tbeerbower)
diff --git a/contrib/views/files/pom.xml b/contrib/views/files/pom.xml
index 7f53258..7a243a6 100644
--- a/contrib/views/files/pom.xml
+++ b/contrib/views/files/pom.xml
@@ -155,7 +155,7 @@
<!-- optional: The default argument is actually "install", so unless
you need to run some other npm command, you can remove this whole <configuration>
section. -->
- <arguments>install --unsafe-perm --registry=http://registry.npmjs.eu</arguments>
+ <arguments>install --python=python2.6 --unsafe-perm --registry=http://registry.npmjs.eu</arguments>
</configuration>
</execution>
</executions>
diff --git a/contrib/views/pig/pom.xml b/contrib/views/pig/pom.xml
index 9404d44..f8ffc04 100644
--- a/contrib/views/pig/pom.xml
+++ b/contrib/views/pig/pom.xml
@@ -147,7 +147,7 @@
<goal>npm</goal>
</goals>
<configuration>
- <arguments>install --unsafe-perm</arguments>
+ <arguments>install --python=python2.6 --unsafe-perm</arguments>
</configuration>
</execution>
</executions>