无法构建mule 3.5.0源代码

时间:2014-12-01 10:54:42

标签: mule

我正在尝试构建在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)

此致 库马兰

1 个答案:

答案 0 :(得分:0)

  • Mule 3.5必须针对Java6进行编译。
  • 理论上它可以在windows上编译,但我宁愿尝试使用Linux / Mac。
  • 确保分配足够的内容export MAVEN_OPTS="-Xmx4000m"
  • 仔细阅读BUILD说明。