How to add jcenter/jitpack as remote repository into apache archiva?
Asked Answered
W

1

6

I want to have a private repository manager to not download all the packages from internet every time. I decide to go with Apache Archiva.

At the moment I want to add jitpack.io and jcenter.bintray.com to my remote repositories. I've done as following picture but it doesn't do any good and I can't get for example "com.google.dagger:dagger-compiler:2.5" from my private repository.

How can I properly add jitpack.io and jcenter into my Archiva?

Wedekind answered 28/9, 2016 at 13:44 Comment(0)
A
1

Dagger is on maven central now so this is now moot but in order to get jitpack.io into archiva you need to add it as a proxy connector first at #proxyconnectors, and then as a remote repository under #repositorylist -> Remote Repository Management.

I haven't had any luck getting jcenter into Archiva - I was only able to get it to work by adding bintray repositories directly through their "Set me up!" button with a wrench icon on it, e.g., using a URL like http://dl.bintray.com/netlogo/NetLogo-JVM as the repository.

Apothecium answered 27/5, 2017 at 3:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.