Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sonatype Nexus cannot proxy jcenter.bintray.com

Tags:

maven

nexus

I use sonatype nexus for maven repository proxing. Our project need to use http://jcenter.bintray.com/ repository. But if I add jcenter as a proxy to our nexus server, it does not work properly. it seems a folder includes parent folder structures recursivly. something like the following.

a
b
c
    a
    b
    c
        a
        b
        c
            ....

Is this possible to proxy jcenter with sonatype nexus?

like image 972
KwonNam Avatar asked Jan 03 '14 04:01

KwonNam


2 Answers

Have you tried pulling in artifacts through the JCenter remote proxy? This should work as JCenter is a standard maven repository that's heavily used by all maven clients/repository managers. The issue may only be with the remote repository browsing in the Nexus UI.

like image 148
Yoav Landman Avatar answered Oct 02 '22 12:10

Yoav Landman


As previously mentioned, pulling artifacts worked for me. As proxy repo I used https://jcenter.bintray.com/

Browsing the repo is not possible, but gradle with the configured nexus successfully pulled out everything necessary.

like image 44
sschrass Avatar answered Oct 02 '22 13:10

sschrass