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

This commit is contained in:
Akira Ajisaka 2020-11-24 15:19:25 +09:00
parent 9b4faf2b51
commit c4ba0ab7df
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>