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

后端 未结 2 1433
温柔的废话
温柔的废话 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: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

提交回复
热议问题