瀏覽代碼

AMBARI-22079. Addendum: Upgrade Yarn version for Logsearch Web (Istvan Tobias via oleewere)

Istvan Tobias 8 年之前
父節點
當前提交
0ca85137fd
共有 1 個文件被更改,包括 7 次插入4 次删除
  1. 7 4
      ambari-logsearch/ambari-logsearch-web/pom.xml

+ 7 - 4
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>