mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 18:16:28 +00:00
doc: idea maven proxy settings.xml
This commit is contained in:
1 parent
c147070992
commit
159200c16b
3 files changed
+19
No files matched your search
@@ -175,6 +175,9 @@ See the License for the specific language governing permissions and limitations
|
||||
- idea代理设置
|
||||

|
||||
|
||||
- maven需要设置代理,把当前目录中的settings.xml复制到.m2文件夹下,settings.xml中配置了proxy网络代理
|
||||

|
||||
|
||||
- maven代理设置(非全局),-DproxySet=true -DproxyHost=127.0.0.1 -DproxyPort=10809
|
||||

|
||||
|
||||
|
||||
@@ -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 |
Reference in new issue
Block a user