maven“ churchofjesuschrist.org”问题

问题描述 投票:0回答:1
  1. 我已经使用IntelliJ使用maven模板创建了一个虚拟Java项目
  2. 编辑了我的pom.xml并添加了以下内容:

    <dependency>
      <groupId>com.oracle</groupId>
      <artifactId>ojdbc6</artifactId>
      <version>12.2.0.1</version>
    </dependency>
    
  3. 该库带有错误,如果我在本地存储库中下载了下载的文件,这就是我看到的内容:

    $ 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&amp;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>
    

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是在所有依赖项文件上下载的一个良种

java maven dependencies pom.xml
1个回答
2
投票
现在要“停机维护”的那个奇怪的存储库必须在您的settings.xml,您的POM或您的父POM之一中,甚至可能是依赖项中。
© www.soinside.com 2019 - 2024. All rights reserved.