AWS Java SDK 构建错误

AWS Java SDK Build Error

我正在尝试为 java 构建 AWS SDK。我已按照 github 存储库中指定的步骤进行操作。当我 运行

时出现以下错误
mvn clean install


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
19.1:test (default-test) on project aws-java-sdk-core: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\<USER>\Downloads\aws-sdk-java-master\aws-java
-sdk-core\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :aws-java-sdk-core

关于如何构建 sdk 并在我的 java 项目中使用它的任何建议。

[编辑]

[编辑 2] []2

查看 Maven 输出,似乎 aws-java-sdk-core 包中存在测试失败。为了避免你回滚 maven 输出来找出哪些测试失败了,你可以让 surefire-plugin 为你生成一个 HTML 报告。就 运行

mvn clean install surefire-report:report

它应该向 target/site/surefire-report.html

发出报告