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:
parent
56ecf469f8
commit
752c890f9d
|
@ -161,7 +161,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>
|
||||||
|
|
Loading…
Reference in New Issue