Skip to content

Instantly share code, notes, and snippets.

@kdabir
Created March 15, 2012 10:41
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kdabir/2043555 to your computer and use it in GitHub Desktop.
Save kdabir/2043555 to your computer and use it in GitHub Desktop.
Install a library with Groovy Grape when behind a proxy
grape -Dhttp.proxyHost=proxy.corp.com -Dhttp.proxyPort=8080 install org.seleniumhq.selenium selenium-firefox-driver 2.15.0
@Dazster
Copy link

Dazster commented May 21, 2013

For anyone else looking, the username and password settings are:
-Dhttp.proxyUser=[your proxy username] -Dhttp.proxyPassword=[your proxy password]

(I only used square brackets as chevrons are escaped - obviously you shouldn't include square brackets)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment