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 ca291ec85d..e18a7eac33 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml @@ -38,6 +38,34 @@ + + + org.apache.maven.plugins + maven-antrun-plugin + 1.8 + + + validate + + run + + + true + + + + + + + + Ember build script to use = ${emberBuildScript} + + + + + + org.apache.rat @@ -229,7 +257,7 @@ ${packageManagerScript} run - build:mvn + ${emberBuildScript} 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 91c5a0f3e6..deb79a722e 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 @@ -10,7 +10,8 @@ "scripts": { "build": "TMPDIR=tmp node ./node_modules/ember-cli/bin/ember build", "start": "TMPDIR=tmp node ./node_modules/ember-cli/bin/ember server", - "build:mvn": "TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod" + "build:mvn": "TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember build -prod", + "build:mvn:windows": "set TMPDIR=tmp; node/node ./node_modules/ember-cli/bin/ember build -prod" }, "repository": "", "engines": {