AMBARI-22079. Addendum: Upgrade Yarn version for Logsearch Web (Istvan Tobias via oleewere)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0ca85137 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0ca85137 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0ca85137 Branch: refs/heads/branch-feature-AMBARI-20859 Commit: 0ca85137fdf1667e3fddb28c220a6e1f6e88a2ee Parents: 7e0fe29 Author: Istvan Tobias <tobias.ist...@gmal.com> Authored: Mon Oct 9 21:21:52 2017 +0200 Committer: Oliver Szabo <oleew...@gmail.com> Committed: Mon Oct 9 21:21:52 2017 +0200 ---------------------------------------------------------------------- ambari-logsearch/ambari-logsearch-web/pom.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/0ca85137/ambari-logsearch/ambari-logsearch-web/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-logsearch/ambari-logsearch-web/pom.xml b/ambari-logsearch/ambari-logsearch-web/pom.xml index d641d5a..a0621d9 100644 --- a/ambari-logsearch/ambari-logsearch-web/pom.xml +++ b/ambari-logsearch/ambari-logsearch-web/pom.xml @@ -69,13 +69,16 @@ </configuration> </execution> <execution> - <id>generate dist</id> - <phase>generate-resources</phase> + <id>webpack build</id> <goals> - <goal>yarn</goal> + <goal>webpack</goal> </goals> + <!-- optional: the default phase is "generate-resources" --> + <phase>generate-resources</phase> <configuration> - <arguments>build-prod</arguments> + <!-- optional: if not specified, it will run webpack's default + build (and you can remove this whole <configuration> section.) --> + <arguments>-p</arguments> </configuration> </execution> <execution>