From c27fa1ab0de9506802289b751af7b4d8b27646ee Mon Sep 17 00:00:00 2001 From: Jiajie Zhong Date: Fri, 24 Jun 2022 13:35:36 +0800 Subject: [PATCH] [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 (cherry picked from commit 15a86071d14c83b6a40557ea49ea39ac46cd9057) --- dolphinscheduler-ui/pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dolphinscheduler-ui/pom.xml b/dolphinscheduler-ui/pom.xml index 76144ad270..9624cb941a 100644 --- a/dolphinscheduler-ui/pom.xml +++ b/dolphinscheduler-ui/pom.xml @@ -43,6 +43,9 @@ com.github.eirslett frontend-maven-plugin ${frontend-maven-plugin.version} + + false + install node and pnpm