0

Hi can anyone explain me on how to get private GitHub repositories as my maven dependencies???

I was able to get only public GitHub repositories as my maven dependencies.

  • 1
    How do you get public github repositories as your maven dependencies? – Thorbjørn Ravn Andersen Oct 31 '17 at 13:45
  • Hi Thorbjorn, I have got the public repo by adding the below repository in to my POM. USER NAME REPO NAME Repo Url I have followed the below two links and proceeded: https://blog.idrsolutions.com/2015/06/how-to-host-a-maven-artifact-on-github/ https://blog.idrsolutions.com/2015/06/how-to-use-github-hosted-maven-artifact-in-a-maven-project/ – Yuvaraj Nov 01 '17 at 08:57
  • Sounds like github does not like the maven authentification scheme. Then you are probably out of luck. – Thorbjørn Ravn Andersen Nov 01 '17 at 10:11
  • Oh God! Will that be possible by OSSRH process. http://central.sonatype.org/pages/ossrh-guide.html – Yuvaraj Nov 01 '17 at 10:18
  • That is only for open source projects, which yo normally do not keep in private repositories. Perhaps you should elaborate on what problem you need solved instead. – Thorbjørn Ravn Andersen Nov 01 '17 at 10:44
  • Are you inside a company? If so you should start using a repository manager which should solve the problem with private git repositories... – khmarbaise Nov 01 '17 at 11:41
  • Hi Thorbjorn, Please find the detailed issue from the link: https://stackoverflow.com/questions/46585927/using-java-project-as-jar-file-in-other-project-as-maven-dependency – Yuvaraj Nov 01 '17 at 15:19
  • Hi Khmarbaise, Can you please elaborate on Repository Manager??? – Yuvaraj Nov 01 '17 at 15:20

0 Answers0