Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25775

Failed to compile Ambari-Infra because of invalid url

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • None
    • ambari-infra
    • Centos7

      Ambari-infra-2.8.0

    Description

      http://central.maven.org/maven2 has been unable to access

      kage/code/ambari-infra/ambari-infra-solr-client/target/migrate/lucene-core-6.6.2.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for ambari-infra 3.0.0.0-SNAPSHOT:
      [INFO] 
      [INFO] ambari-infra ....................................... SUCCESS [  6.914 s]
      [INFO] Ambari Infra Solr Client ........................... FAILURE [  7.090 s]
      [INFO] Ambari Infra Solr Plugin ........................... SKIPPED
      [INFO] Ambari Infra Manager ............................... SKIPPED
      [INFO] Ambari Infra Assembly .............................. SKIPPED
      [INFO] Ambari Infra Manager Integration Tests ............. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  14.279 s
      [INFO] Finished at: 2022-11-04T10:04:29+08:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project ambari-infra-solr-client: An Ant BuildException has occured: The following error occurred while executing this line:
      [ERROR] /opt/package/code/ambari-infra/ambari-infra-solr-client/build.xml:39: java.net.UnknownHostException: central.maven.org
      [ERROR] around Ant part ...<ant antfile="build.xml">... @ 4:28 in /opt/package/code/ambari-infra/ambari-infra-solr-client/target/antrun/build-main.xml: Unknown host central.maven.org
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <args> -rf :ambari-infra-solr-client
      make: *** [rpm] Error 1
      

      Attachments

        Issue Links

          Activity

            People

              houyu Yu Hou
              houyu Yu Hou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: