All the Azure Maven/Gradle plugins now supports http proxy, if your network requires proxy, you may need to enable it by:
The most convenient way to configure proxy is to configure system proxy, if you are using Window 10, you can configure system proxy by:
#
to show startup menu, type settings
and click on the system settings button.proxy
and click the 'Proxy settings' button.save
button.-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
Java Command Line ArgumentsNote: System proxy doesn't support proxy with credentials, see https://superuser.com/questions/979727/windows-10-set-up-a-os-level-proxy-with-authentication
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.
Example:
mvn azure-webapp:deploy -Dhttps.proxyHost=192.168.1.102 -Dhttps.proxyPort=8080 mvn azure-webapp:deploy -Dhttps.proxyHost=192.168.1.102 -Dhttps.proxyPort=8081 -Dhttps.proxyUser=user -Dhttps.proxyPassword=pass
Maven Configuration(username, password supported)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
see here for how to configure maven proxies.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4