Intellij Community can’t use http proxy for Maven

  1. Navigate to Maven > Importing1. inside the IntelliJ IDEA Settings (which is found under File > Settings).

  2. The second last option in Maven > Importing is a field named “VM options for importer”. Append the following to whatever already exists there:

    -DproxySet=true -DproxyHost=myproxy.com -DproxyPort=3128

    Here, replace myproxy.com with your proxy server, (e.g. http://myproxyserver.com). Replace 3128 with your proxy port (e.g. 8080).

  3. Do the same under Maven > Runner1

  4. Apply and close the settings window.

It should work now.


1 This may be nested under Build, Execution, Deployment > Build Tools >, depending on the version of IntelliJ you’re using.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)