This documentation is for WSO2 Carbon 4.4.1. View documentation for the latest release.
Page Comparison - Working with the Source Code (v.8 vs v.9) - Carbon 4.4.1 - WSO2 Documentation
Due to a known issue do not use JDK1.8.0_151 with WSO2 products. Use JDK 1.8.0_144 until JDK 1.8.0_162-ea is released.

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.



Prerequisites for using Maven:

  • Install Maven and JDK. See See the Installation Prerequisites for  page for compatible versions. 
  • Set the environment


    variable to avoid the Maven OutOfMemoryError as follows:

    JDK VersionEnvironment Variable Setting
    JDK 7MAVEN_OPTS="-Xms1024m -
    Xmx2048m -XX:MaxPermSize=1024m"
     to avoid the Maven OutOfMemoryError.
    JDK 8MAVEN_OPTS="-Xms1024m -Xmx2048m"

Use one of the following Maven commands to build your repositories: