【发布时间】:2017-11-05 14:31:49
【问题描述】:
我正在尝试在 EC2 (CentOS) 上安装 Apache Ignite。 下载了最新的 Ignite src (2.0) 并安装了 Java 1.8 和 MVN。
接下来尝试运行(在 Ignite 文件夹内)MVN 设置但失败:
mvn clean package -DskipTests
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/16/apache-16.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.ignite:ignite-parent:1: Could not transfer artifact org.apache:apache:pom:16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out (Connection timed out) and 'parent.relativePath' points at no local POM @ org.apache.ignite:ignite-parent:1, /home/ec2-user/ignite/apache-ignite-2.0.0-src/parent/pom.xml, line 29, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.ignite:apache-ignite:2.0.0 (/home/ec2-user/ignite/apache-ignite-2.0.0-src/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.apache.ignite:ignite-parent:1: Could not transfer artifact org.apache:apache:pom:16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out (Connection timed out) and 'parent.relativePath' points at no local POM @ org.apache.ignite:ignite-parent:1, /home/ec2-user/ignite/apache-ignite-2.0.0-src/parent/pom.xml, line 29, column 13 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
我可以在我的 Mac 上以相同的方式安装而不会出现此错误。可能是什么问题?可以不同地设置 MVN 以避免此错误吗?还是 EC2/Apache Ignite 兼容性有问题? (我无法将 AMI 用于 Ignite,因为未获准在公司网络内使用)
【问题讨论】:
标签: amazon-ec2 ignite