http://git-wip-us.apache.org/repos/asf/ambari/blob/60f6c4db/contrib/views/hive20/pom.xml ---------------------------------------------------------------------- diff --git a/contrib/views/hive20/pom.xml b/contrib/views/hive20/pom.xml index a4ce74a..a583d23 100644 --- a/contrib/views/hive20/pom.xml +++ b/contrib/views/hive20/pom.xml @@ -278,35 +278,29 @@ <plugin> <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>src/main/resources/ui/</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 --python="${project.basedir}/../src/main/unix/ambari-python-wrap" --unsafe-perm</arguments> - <arguments>--ignore-engines</arguments> </configuration> </execution> </executions>
http://git-wip-us.apache.org/repos/asf/ambari/blob/60f6c4db/contrib/views/hive20/src/main/resources/ui/package.json ---------------------------------------------------------------------- diff --git a/contrib/views/hive20/src/main/resources/ui/package.json b/contrib/views/hive20/src/main/resources/ui/package.json index a409111..0453a52 100644 --- a/contrib/views/hive20/src/main/resources/ui/package.json +++ b/contrib/views/hive20/src/main/resources/ui/package.json @@ -11,7 +11,7 @@ "build": "ember build", "start": "ember server", "test": "ember test", - "preinstall": "", + "preinstall": "chmod +x node/node_modules/npm/bin/node-gyp-bin/node-gyp", "postinstall": "node node_modules/.bin/bower --allow-root install" }, "repository": "",
