doc: idea maven proxy settings.xml

This commit is contained in:
jaysunxiao committed 2024-12-13 23:03:34 +08:00
1 parent c147070992
commit 159200c16b
3 files changed
+19

No files matched your search

+3
View File
@@ -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)
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 http://maven.apache.org/xsd/settings-1.2.0.xsd">
<proxies>
<proxy>
<id>my-maven-proxy-config</id>
<active>true</active>
<protocol>http</protocol>
<host>127.0.0.1</host>
<port>10808</port>
</proxy>
</proxies>
</settings>
Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB