YARN-10470. When building new web ui with root user, the bower install should support it. Contributed by zhuqi.

(cherry picked from commit c4ba0ab7df)
This commit is contained in:
Akira Ajisaka 2020-11-24 15:19:25 +09:00
parent 38cc47d308
commit bb4c6db9b3
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -202,7 +202,7 @@
<phase>generate-resources</phase> <phase>generate-resources</phase>
<id>bower install</id> <id>bower install</id>
<configuration> <configuration>
<arguments>install</arguments> <arguments>install --allow-root</arguments>
</configuration> </configuration>
<goals> <goals>
<goal>bower</goal> <goal>bower</goal>