1
votes

I am attempting to build the Mule ESB 3.5.0 Community Runtime found at https://github.com/mulesoft/mule/releases/tag/mule-3.5.0

If I build using maven and skip the tests everything is fine.

However if I leave the tests enabled a few fail and the rest are skipped.

I have tried building each maven module individually in the order they are listed in the parent POM using the setups listed below:

Please could someone advise to any additional steps or environment setup required in order to successfully build the source?


Setup #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)

Setup #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)

Setup #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)

Regards Kumaran

1

1 Answers

0
votes
  • Mule 3.5 has to be compiled against Java6.
  • Theoretically it can be compiled on windows but I would rather try with Linux/Mac.
  • Make sure you allocate enough ram export MAVEN_OPTS="-Xmx4000m"
  • Read carefully the BUILD instructions.