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 https://github.com/eirslett/frontend-maven-plugin/blob/9f39dbad0948237ada4e7b19bf90690f94a61b81/frontend-maven-plugin/src/main/java/com/github/eirslett/maven/plugins/frontend/mojo/PnpmMojo.java#L28
Jiajie Zhong 2 years ago
parent
commit
15a86071d1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      dolphinscheduler-ui/pom.xml

+ 3 - 0
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>