Maven "churchofjesuschrist.org" 问题
maven "churchofjesuschrist.org" issue
- 我使用 IntelliJ 使用 Maven 模板创建了一个虚拟 java 项目
编辑了我的 pom.xml 并添加了以下内容:
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>12.2.0.1</version>
</dependency>
库有错误,如果我把下载的文件放在我的本地仓库,我看到的是这样的:
$ cat .m2/repository/com/oracle/ojdbc6/12.2.0.1/ojdbc6-12.2.0.1.jar
<!DOCTYPE html>
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Out of Service</title>
<style>
... some style ...
</style>
</head>
<body id="error-page">
<div class="supercenter">
<h1>This website is down for maintenance.</h1>
<p>We apologize for the inconvenience. Please come back later.</p>
<p><a href="javascript:history.back()">Go Back</a>.</p>
<p>Please check the URL for proper spelling and capitalization.
If you're having trouble locating a page on churchofjesuschrist.org, try visiting
<a href="https://www.churchofjesuschrist.org/">churchofjesuschrist.org</a>
or enter a search term in the field below.</p>
<div id="search">
<form accept-charset="utf-8" method="get" action="https://www.churchofjesuschrist.org/search">
<input type="hidden" name="lang" value="eng">
<span class="search-field"><input type="text" name="query" maxlength="150" class="ac_input"></span>
<input type="submit" value="⌕" class="search-button">
</form>
</div>
<br>
<p><a href="https://www.churchofjesuschrist.org/tools/feedback?lang=eng&body=Error%3ahttps%3a//www.churchofjesuschrist.org/lb">Leave Feedback</a></p>
<div class="pf-logo">
<a href="https://www.churchofjesuschrist.org/" class="ldschurch-logotype">
<span class="ldschurch-logotype__text">The Church of Jesus Christ of Latter-day Saints</span>
</a>
</div>
</div>
</body>
</html>
是否有某种 issue/outage 与 maven 中央存储库?有任何想法吗?
它也发生在其他库中,为了简单起见,我只展示了一个,但这是一个具有许多其他依赖项的旧项目,前面的示例只是以简单的方式展示了这个问题,以便每个人都可以复制它
当我 运行 mvn 我看到这个:
Downloading from codelds: https://code.lds.org/nexus/content/groups/main-repo/com/oracle/ojdbc6/12.2.0.1/ojdbc6-12.2.0.1.pom
那个URL是所有依赖文件上下载的那个
所以,首先,mvnrepository.com 不是 MavenCentral,与它无关。
MavenCentral 不包含 ojdbc6.jar
,我不知道它的其他来源是否合法。
现在是 "down for maintenance" 的那个奇怪的存储库必须在您的 settings.xml
、您的 POM 或您的父 POM 之一甚至依赖项中的某个地方。
- 我使用 IntelliJ 使用 Maven 模板创建了一个虚拟 java 项目
编辑了我的 pom.xml 并添加了以下内容:
<dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> <version>12.2.0.1</version> </dependency>
库有错误,如果我把下载的文件放在我的本地仓库,我看到的是这样的:
$ cat .m2/repository/com/oracle/ojdbc6/12.2.0.1/ojdbc6-12.2.0.1.jar <!DOCTYPE html> <html xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Out of Service</title> <style> ... some style ... </style> </head> <body id="error-page"> <div class="supercenter"> <h1>This website is down for maintenance.</h1> <p>We apologize for the inconvenience. Please come back later.</p> <p><a href="javascript:history.back()">Go Back</a>.</p> <p>Please check the URL for proper spelling and capitalization. If you're having trouble locating a page on churchofjesuschrist.org, try visiting <a href="https://www.churchofjesuschrist.org/">churchofjesuschrist.org</a> or enter a search term in the field below.</p> <div id="search"> <form accept-charset="utf-8" method="get" action="https://www.churchofjesuschrist.org/search"> <input type="hidden" name="lang" value="eng"> <span class="search-field"><input type="text" name="query" maxlength="150" class="ac_input"></span> <input type="submit" value="⌕" class="search-button"> </form> </div> <br> <p><a href="https://www.churchofjesuschrist.org/tools/feedback?lang=eng&body=Error%3ahttps%3a//www.churchofjesuschrist.org/lb">Leave Feedback</a></p> <div class="pf-logo"> <a href="https://www.churchofjesuschrist.org/" class="ldschurch-logotype"> <span class="ldschurch-logotype__text">The Church of Jesus Christ of Latter-day Saints</span> </a> </div> </div> </body> </html>
是否有某种 issue/outage 与 maven 中央存储库?有任何想法吗? 它也发生在其他库中,为了简单起见,我只展示了一个,但这是一个具有许多其他依赖项的旧项目,前面的示例只是以简单的方式展示了这个问题,以便每个人都可以复制它
当我 运行 mvn 我看到这个:
Downloading from codelds: https://code.lds.org/nexus/content/groups/main-repo/com/oracle/ojdbc6/12.2.0.1/ojdbc6-12.2.0.1.pom
那个URL是所有依赖文件上下载的那个
所以,首先,mvnrepository.com 不是 MavenCentral,与它无关。
MavenCentral 不包含 ojdbc6.jar
,我不知道它的其他来源是否合法。
现在是 "down for maintenance" 的那个奇怪的存储库必须在您的 settings.xml
、您的 POM 或您的父 POM 之一甚至依赖项中的某个地方。