开发者

Nexus Mark Oracle Maven Repository as Invalid

开发者 https://www.devze.com 2023-03-31 15:13 出处:网络
Creating a Proxy repository on Nexus that proxies Oracle Maven Repo开发者_StackOverflow社区 (http://download.oracle.com/maven/) marks the Oracle Repo as \"Attempting to Proxy and Remote Unavailable\"

Creating a Proxy repository on Nexus that proxies Oracle Maven Repo开发者_StackOverflow社区 (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


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号