You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most convenient way to configure proxy is to configure system proxy, if you are using Window 10, you can configure system proxy by:
Press # to show startup menu, type settings and click on the system settings button.
In System Settings page, search proxy and click the 'Proxy settings' button.
Input the proper host name and port and click the save button.
Execute the maven goal directly(no need to to add -Djava.net.useSystemProxies=true) or execute gradle tasks by adding command-line argument:-Djava.net.useSystemProxies=true --no-daemon.
Note: Gradle plugins require you to add command argument:-Djava.net.useSystemProxies=true --no-daemon to use system proxy
Execute your maven commands with proxy arguments, eg:-Dhttps.proxyHost=192.168.1.100 -Dhttps.proxyPort=8080 <-Dhttps.proxyUser=user -Dhttps.proxyPassword=pass>, please replace the host and port with your proxy. You can refer here for more details.
Note: Gradle plugins require you to add command argument:--no-daemon to avoid use previous proxy configuration caused by gradle daemon, eg:
-Dhttps.proxyHost=192.168.1.100 -Dhttps.proxyPort=8080 --no-daemon