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

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -