diff --git a/doc/idea/idea-set-up.md b/doc/idea/idea-set-up.md index 54d0e60bf..7ffe5e1a8 100644 --- a/doc/idea/idea-set-up.md +++ b/doc/idea/idea-set-up.md @@ -175,6 +175,9 @@ See the License for the specific language governing permissions and limitations - idea代理设置 ![Image text](../image/idea/idea-proxy.jpg) +- maven需要设置代理,把当前目录中的settings.xml复制到.m2文件夹下,settings.xml中配置了proxy网络代理 + ![Image text](../image/idea/maven-settings-config.png) + - maven代理设置(非全局),-DproxySet=true -DproxyHost=127.0.0.1 -DproxyPort=10809 ![Image text](../image/idea/idea-proxy-maven.jpg) diff --git a/doc/idea/settings.xml b/doc/idea/settings.xml new file mode 100644 index 000000000..f8aa35bcd --- /dev/null +++ b/doc/idea/settings.xml @@ -0,0 +1,16 @@ + + + + + + my-maven-proxy-config + true + http + 127.0.0.1 + 10808 + + + + diff --git a/doc/image/idea/maven-settings-config.png b/doc/image/idea/maven-settings-config.png new file mode 100644 index 000000000..f1087d5ad Binary files /dev/null and b/doc/image/idea/maven-settings-config.png differ