summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordoufenghu <[email protected]>2024-06-20 21:54:10 +0800
committerdoufenghu <[email protected]>2024-06-20 21:54:10 +0800
commit445f9f129ad07e04a3e087a93793d6ce5a47f341 (patch)
tree7e8fc7e67782a90f84eaa4f3abca070ddb160561 /docs
parent687f56833e01f1ba6b2e66ab5d7c53847fbfd6c4 (diff)
[Fix][docs] Fix some bootstrap errors
Diffstat (limited to 'docs')
-rw-r--r--docs/faq.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/faq.md b/docs/faq.md
index e69de29..2af4e2b 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -0,0 +1,18 @@
+## Maven 3.8.1 blocked mirror for internal repositories
+If you are using a Maven Wrapper (mvnw) build project, you may encounter the following error:
+```
+maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: xxx
+```
+This is because Maven 3.8.1 has a new feature that blocks all HTTP requests by default. You can disable this feature by adding the following configuration to the Maven settings.xml file:
+```xml
+<mirrors>
+ <mirror>
+ <id>maven-default-http-blocker</id>
+ <mirrorOf>external:dont-match-anything-mate:*</mirrorOf>
+ <name>Pseudo repository to mirror external repositories initially using HTTP.</name>
+ <url>http://0.0.0.0/</url>
+ <blocked>false</blocked>
+ </mirror>
+</mirrors>
+```
+