Apache Geode Pulse WAR 文件
Apache Geode Pulse WAR File
我正在按照 Apache Geode build instructions 构建项目。我的环境是Windows10.
我真正感兴趣的是从构建中获取 Geode Pulse WAR 神器。但是,由于这样的错误,构建没有成功,
> Could not resolve all files for configuration ':geode-core:integrationTestCompileClasspath'.
> Could not find log4j-core-tests.jar (org.apache.logging.log4j:log4j-core:2.11.1).
Searched in the following locations:
file:/C:/Users/james/.m2/repository/org/apache/logging/log4j/log4j-core/2.11.1/log4j-core-2.11.1-tests.jar
> Could not find log4j-core-test-sources.jar (org.apache.logging.log4j:log4j-core:2.11.1).
Searched in the following locations:
file:/C:/Users/james/.m2/repository/org/apache/logging/log4j/log4j-core/2.11.1/log4j-core-2.11.1-test-sources.jar
如何跳过包括集成测试在内的所有测试或在测试失败的情况下继续构建?我试过 gradlew build -x test
但它因相同的构建错误而中断。请指教。谢谢
我过去遇到过这个问题,我认为它与您的本地 MAVEN
存储库有关,与 Geode
无关。您可以尝试完全删除文件夹 C:/Users/james/.m2/repository/org/apache/logging/log4j/log4j-core/2.11.1
并重试吗?MAVEN
肯定会从头开始下载 jar 并且一切正常。
干杯。
我正在按照 Apache Geode build instructions 构建项目。我的环境是Windows10.
我真正感兴趣的是从构建中获取 Geode Pulse WAR 神器。但是,由于这样的错误,构建没有成功,
> Could not resolve all files for configuration ':geode-core:integrationTestCompileClasspath'.
> Could not find log4j-core-tests.jar (org.apache.logging.log4j:log4j-core:2.11.1).
Searched in the following locations:
file:/C:/Users/james/.m2/repository/org/apache/logging/log4j/log4j-core/2.11.1/log4j-core-2.11.1-tests.jar
> Could not find log4j-core-test-sources.jar (org.apache.logging.log4j:log4j-core:2.11.1).
Searched in the following locations:
file:/C:/Users/james/.m2/repository/org/apache/logging/log4j/log4j-core/2.11.1/log4j-core-2.11.1-test-sources.jar
如何跳过包括集成测试在内的所有测试或在测试失败的情况下继续构建?我试过 gradlew build -x test
但它因相同的构建错误而中断。请指教。谢谢
我过去遇到过这个问题,我认为它与您的本地 MAVEN
存储库有关,与 Geode
无关。您可以尝试完全删除文件夹 C:/Users/james/.m2/repository/org/apache/logging/log4j/log4j-core/2.11.1
并重试吗?MAVEN
肯定会从头开始下载 jar 并且一切正常。
干杯。