【发布时间】:2015-01-29 08:45:49
【问题描述】:
我正在尝试构建位于 https://github.com/mulesoft/mule/releases/tag/mule-3.5.0 的 Mule ESB 3.5.0 社区运行时
如果我使用 maven 构建并跳过测试一切都很好。
但是,如果我启用测试,一些测试会失败,其余的会被跳过。
我已经尝试使用下面列出的设置按照它们在父 POM 中列出的顺序单独构建每个 maven 模块:
请有人建议为成功构建源代码所需的任何其他步骤或环境设置?
设置 #1
Ubuntu 14.04 LTS Desktop (64bit)
java-7-oracle JDK (64bit)
Maven 3.0.5
The results are as follows:
buildtools - ALL TESTS PASS
core - ALL TESTS PASS
distributions - ALL TESTS PASS
examples - ALL TESTS PASS
modules - failed on Management Extensions:
testDefaultJmxAgent(org.mule.management.JmxAgentEmptyConfigurationTestCase)
testDefaultJmxAgent(org.mule.management.JmxAgentDefaultConfigurationWithRMITestCase)
patterns - ALL TESTS PASS
tools - ALL TESTS PASS
transports - failed on HTTP Transport:
createHttpServerConnectionWithHttpConnectorProperties(org.mule.transport.http.HttpServerConnectionTestCase)
tests -failed on Integration Tests:
testOutboundInMiddleOfFlow(org.mule.test.construct.FlowOutboundInMiddleOfFlowTestCase)
validatesDbConnectorGenericMySqlOverriddenTemplateResolution(org.mule.spring.config.NewDatabaseMuleArtifactTestCase)
verifiesDerby(org.mule.spring.config.DatabaseMuleArtifactTestCase)
设置 #2
Windows 7 Pro (64bit)
Oracle Jave JDK 1.6.0_31 (64bit)
Maven 3.2.1
The results are as follows:
buildtools - ALL TESTS PASS
core - Failed
testFullStackTraceWithoutMessage(org.mule.util.ExceptionUtilsTestCase)
dateTimeIsAfter[0](org.mule.el.context.ServerContextTestCase)
testIsSupportedJdkVersion(org.mule.util.JdkVersionUtilsTestCase)
testRecommendedJdkVersion(org.mule.util.JdkVersionUtilsTestCase)
testValidateJdk5(org.mule.util.JdkVersionUtilsTestCase)
设置 #3
Windows 7 Pro (64bit)
Oracle Jave JDK 1.7.0_51 (64bit)
Maven 3.2.1
The results are as follows:
buildtools - ALL TESTS PASS
core - Failed
testFullStackTraceWithoutMessage(org.mule.util.ExceptionUtilsTestCase)
dateTimeIsAfter[0](org.mule.el.context.ServerContextTestCase)
testIsSupportedJdkVersion(org.mule.util.JdkVersionUtilsTestCase)
testRecommendedJdkVersion(org.mule.util.JdkVersionUtilsTestCase)
testValidateJdk5(org.mule.util.JdkVersionUtilsTestCase)
问候 库马兰
【问题讨论】:
标签: mule