From dddb03722dd33578c2839011c84647d16f7037a1 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Tue, 12 Nov 2024 15:20:45 +0800 Subject: [PATCH] [KYUUBI #6778] [BUILD] allow frontend plugin not to inherits Maven's http proxy config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # :mag: Description ## Issue References ๐Ÿ”— ## Describe Your Solution ๐Ÿ”ง - previously, `pnpm install` and `npm install` are forced to inherits HTTP proxy configs from Maven by the frontend maven plugin (https://github.com/eirslett/frontend-maven-plugin?tab=readme-ov-file#proxy-settings) - adding a parameter `maven.plugin.frontend.inheritsProxyConfigFromMave` to control whether it inherits the proxy configs with false as default value ## Types of changes :bookmark: - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan ๐Ÿงช #### Behavior Without This Pull Request :coffin: #### Behavior With This Pull Request :tada: #### Related Unit Tests --- # Checklist ๐Ÿ“ - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6778 from bowenliang123/frontend-build-proxy. Closes #6778 c8eb2e4f1 [Bowen Liang] inheritsProxyConfigFromMaven Authored-by: Bowen Liang Signed-off-by: Bowen Liang --- pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pom.xml b/pom.xml index 0005d54c1e6..07976fb23af 100644 --- a/pom.xml +++ b/pom.xml @@ -233,6 +233,7 @@ 1.8.0 1.6.0 1.12.1 + false 4.9.2 2.2.0 org.scalatest.tags.Slow @@ -1786,6 +1787,8 @@ ${node.version} ${pnpm.version} + ${maven.plugin.frontend.inheritsProxyConfigFromMaven} + ${maven.plugin.frontend.inheritsProxyConfigFromMaven}