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


i'm trying store of our private artifacts on github , access them if part of maven repo. there lots of pages explain how create public maven repo on github: put artifacts in proper directory structure in project, , access them using "raw" url:

<repositories> <repository> <id>myrepo.myname.github.com</id> <url>https://github.com/myname/myproject/raw/master/repositories/releases/</url> </repository> </repositories> 

so far, good. trouble can't figure out how access repo if it's private. i've added username , password settings.xml, doesn't work:

<servers> <server> <id>myrepo.myname.github.com</id> <username>myusername</username> <password>mypassword</password> </server> </servers> 

what's trick?

the question moot. github has eliminated downloads. don't host binaries more. because of kind of abuse i've proposed...


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -