Created by: mrkane27
Summary:
Ref #664 (closed).
Adds the ability to specify credentials when using Maven repositories. These are passed using basic authentication.
One question would be whether to use Authenticator instead. The
worry there is that it's a global object, so I wasn't sure whether
I wanted to go that far. RFC.
Test Plan:
Have a .buckconfig file that looks like:
...
[maven_repositories]
central=https://repo1.maven.org/maven2
foo=https://example.com/content/repositories/releases
[credentials]
foo_user=bar
foo_pass=baz
...
Successfully ran buck fetch against a SonaType Nexus server configured to
use authentication.