[ https://issues.apache.org/jira/browse/AMBARI-25775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yu Hou updated AMBARI-25775: ---------------------------- Epic Link: AMBARI-25792 > Failed to compile Ambari-Infra because of invalid url > ----------------------------------------------------- > > Key: AMBARI-25775 > URL: https://issues.apache.org/jira/browse/AMBARI-25775 > Project: Ambari > Issue Type: Bug > Components: ambari-infra > Affects Versions: 2.8.0 > Environment: Centos7 > Ambari-infra-2.8.0 > Reporter: Yu Hou > Assignee: Yu Hou > Priority: Major > Labels: pull-request-available > Fix For: 2.8.0 > > Attachments: image-2022-11-04-10-05-46-029.png > > > http://central.maven.org/maven2 has been unable to access > !image-2022-11-04-10-05-46-029.png! > {code} > 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 > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org For additional commands, e-mail: issues-h...@ambari.apache.org