Github authentication: how to use Github as Maven repo when repo is private

后端 未结 2 1432
温柔的废话
温柔的废话 2021-02-03 10:33

I\'m trying to store some of our private artifacts on Github and would like to access them as if they were part of a Maven repo. There are lots of pages that explain how to crea

相关标签:
2条回答
  • 2021-02-03 11:24

    The question is now moot. Github has eliminated downloads. They don't host binaries any more. Probably because of exactly the kind of abuse I've proposed...

    0 讨论(0)
  • 2021-02-03 11:30

    You can access private repositories from Maven pom.xml using the following URL: https://api.github.com/users/username/repos?login=username&token=oauthtoken&repositoryname=reponame

    0 讨论(0)
提交回复
热议问题