Nexus Mark Oracle Maven Repository as Invalid

2019-04-10 02:36发布

问题:

Creating a Proxy repository on Nexus that proxies Oracle Maven Repo (http://download.oracle.com/maven/) marks the Oracle Repo as "Attempting to Proxy and Remote Unavailable"

The problem might be that Oracle disabled directory listing and every attempt to get the content without the full GAV returns a 404 code.

How to workaround this on Nexus?

Using Nexus OS Edition 1.9.2.2

Configuration:

Remote Storage Location = http://download.oracle.com/maven/
Download Remote Indexes = True
Auto Blocking Active = False
File Content Validation = True
CheckSum Policy = Warn

回答1:

There should be no need to proxy the oracle repos, we've merged all of that content into Central now, so you can safely remove these from your Nexus.



回答2:

The url you are using is wrong. Did you mean the java.net repo at http://download.java.net/maven/2/