Answer the question
In order to leave comments, you need to log in
How to make Maven work through Proxy in Intellig IDEA?
Hello.
Sometimes you have to work with a project on Intellig IDEA, where the Internet connection is only through Proxy.
I tried to add the
options -DproxySet=true -DproxyHost=PROXY -DproxyPort=1111
to the
VM Options for Importer
parameters and did not appear in the local MAVEN repository.
How to make Maven work through Proxy in Intellig IDEA?
Answer the question
In order to leave comments, you need to log in
Everything turned out to be much simpler:
We look in IDEA which version of Maven is selected,
then in the
IntelliJ IDEA\plugins\maven\lib\maven3\conf\ folder
we find settings.xml
and edit the block responsible for the proxy
, uncomment it and make our proxy settings
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>имя</username>
<password>пароль</password>
<host>proxy</host>
<port>111</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question