From 7005580752bf9346b57f80f1e73ccd5737ae11a5 Mon Sep 17 00:00:00 2001 From: sunilg Date: Thu, 25 Aug 2016 23:21:29 +0530 Subject: [PATCH] YARN-5504. [YARN-3368] Fix YARN UI build pom.xml (Sreenath Somarajapuram via Sunil G) --- .../hadoop-yarn/hadoop-yarn-ui/pom.xml | 59 +++++-------------- .../src/main/webapp/ember-cli-build.js | 2 +- .../src/main/webapp/package.json | 3 +- 3 files changed, 17 insertions(+), 47 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml index 2933a762d7..fca8d304c4 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml @@ -35,7 +35,7 @@ node v0.12.2 2.10.0 - false + false @@ -60,19 +60,20 @@ - maven-clean-plugin - 3.0.0 - - false - - - ${basedir}/src/main/webapp/bower_components - - - ${basedir}/src/main/webapp/node_modules - - - + maven-clean-plugin + 3.0.0 + + ${keep-ui-build-cache} + false + + + ${basedir}/src/main/webapp/bower_components + + + ${basedir}/src/main/webapp/node_modules + + + @@ -125,21 +126,6 @@ - - generate-sources - bower --allow-root install - - exec - - - ${webappDir} - bower - - --allow-root - install - - - ember build generate-sources @@ -157,21 +143,6 @@ - - ember test - generate-resources - - exec - - - ${skipTests} - ${webappDir} - ember - - test - - - cleanup tmp generate-sources diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/ember-cli-build.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/ember-cli-build.js index d21cc3e627..7736c759da 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/ember-cli-build.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/ember-cli-build.js @@ -22,7 +22,7 @@ var EmberApp = require('ember-cli/lib/broccoli/ember-app'); module.exports = function(defaults) { var app = new EmberApp(defaults, { - // Add options here + hinting: false }); app.import("bower_components/datatables/media/css/jquery.dataTables.min.css"); diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/package.json b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/package.json index baa473ad13..6a4eb16a18 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/package.json +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/package.json @@ -9,8 +9,7 @@ }, "scripts": { "build": "ember build", - "start": "ember server", - "test": "ember test" + "start": "ember server" }, "repository": "", "engines": {