我正在尝试构建在https://github.com/mulesoft/mule/releases/tag/mule-3.5.0
找到的Mule ESB 3.5.0社区运行时如果我使用maven构建并跳过测试,一切都很好。
但是,如果我启用测试,则会有一些失败,其余的都会被跳过。
我尝试使用下面列出的设置按照父POM中列出的顺序单独构建每个maven模块:
有人可以建议为成功构建源所需的任何其他步骤或环境设置吗?
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)
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)
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)
此致 库马兰
答案 0 :(得分:0)
export MAVEN_OPTS="-Xmx4000m"