How to specify proxy credentials for lagom / activator / sbt?
<p>I am trying out Lagom from Lightbend, using the my-first-system template from the GettingStarted page.</p>

<p>I am on Windows 10, and behind a corporate proxy.</p>

<p>Activator fails to download some dependencies due to missing credentials for the proxy. I have set the HTTP_PROXY environment variable.</p>

<p>The following error is reported by activator:</p>

<pre><code>[info] Updating {file:/E:/Projects/LagomHelloWorld/my-first-system/project/}my-first-system-build...
[info] Resolving com.lightbend.lagom#lagom-sbt-plugin;1.0.0 ...
[error] Server access Error: Connection timed out: connect url=https://repo.typesafe.com/typesafe/ivy-releases/com.lightbend.lagom/lagom-sbt-plugin/scala_2.10/sbt_0.13/1.0.0/ivys/ivy.xml
[error] Server access Error: Connection timed out: connect url=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.lightbend.lagom/lagom-sbt-plugin/scala_2.10/sbt_0.13/1.0.0/ivys/ivy.xml
[error] Server access Error: Connection timed out: connect url=https://repo1.maven.org/maven2/com/lightbend/lagom/lagom-sbt-plugin_2.10_0.13/1.0.0/lagom-sbt-plugin-1.0.0.pom
[error] Unable to find credentials for [ @ &lt;proxy-ipv4-addr&gt; ].
[warn]  module not found: com.lightbend.lagom#lagom-sbt-plugin;1.0.0
</code></pre>

<p>Note: The error message contains the actual IPv4 address, not the substitute I show above.</p>

<p>Where should I specify the user id and password for the proxy?</p>

<p>How can I do that in a secure way?</p>