Browse Source

[feat] ui build no inherit from maven proxy (#10590)

Users may set in for maven setting.xml. but
frontend-maven-plugin will inherit proxy setting
from it. And pnpm not support both `--proxy` and
`--https-proxy` and will fail ui build. This patch
make pnpm run without inherits maven proxy.

ref: https://github.com/eirslett/frontend-maven-plugin#proxy-settings
and 9f39dbad09/frontend-maven-plugin/src/main/java/com/github/eirslett/maven/plugins/frontend/mojo/PnpmMojo.java (L28)

(cherry picked from commit 15a86071d1)
3.0.0/version-upgrade
Jiajie Zhong 2 years ago committed by devosend
parent
commit
c27fa1ab0d
  1. 3
      dolphinscheduler-ui/pom.xml

3
dolphinscheduler-ui/pom.xml

@ -43,6 +43,9 @@
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<configuration>
<pnpmInheritsProxyConfigFromMaven>false</pnpmInheritsProxyConfigFromMaven>
</configuration>
<executions>
<execution>
<id>install node and pnpm</id>

Loading…
Cancel
Save