Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Merge requests
  • !668

Add basic authentication support for fetching from Maven repositories

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/mrkane27/issue-664 into master Feb 25, 2016
  • Overview 14
  • Commits 6
  • Pipelines 0
  • Changes 5

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/mrkane27/issue-664