Try this https://ubs-soft.com/maven-private-repository-in-gitlab/
On Monday, 13 January 2014 17:14:48 UTC+5:30, Bram wrote: > > It doesn't work because gitlab doesn't use http basic authentication but > has its own login system. I don't think it can be done with gitlab (at this > moment). We just finished setting up a sonatype nexus ( > http://www.sonatype.org/nexus/) server where I removed all proxies and > disabled anonymous access. This allows me us to control who has access to > the repositories (and can also be used with LDAP I think). Deployment to > the nexus server is also supported by maven out of the box. > > Since we only have a few libs its a bit overkill but it works. > > Op maandag 13 januari 2014 12:39:02 UTC+1 schreef Bianca Dietz: >> >> That is exactly what I'm trying to do but I'm stuck with the >> authentication as well. I figured that I needed a settings.xml to give >> Maven the information to access Gitlab, but it doesn't work. I tried using >> user name and password as well as private key and passphrase (while >> passphrase was empty). >> >> Does it have anything to do with the fact, that the Gitlab server uses >> LDAP authentication? I was able to connect to the server with Eclipse (to >> checkout the projects) though (using private key). >> >> I would appreciate any help! Thanks!! >> >> -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/59bdfc0c-0c7e-4897-a800-66fe08fc11f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.