Versions Compared


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

WSO2 invites you to contribute by downloading the source code from the GitHub source control system, building the product and making changes, and then committing your changes back to the source repository. The following sections describe this process:

Table of Contents


source code




The following instructions explain how you can download the source code for WSO2 Application Server 5.3.0 release. The complete source code used for this product consists of a number of Git repositories, which are listed below.

Follow the steps given below to download each of the above repositories for AS 5.3.0.


Navigate to the <gitrepo_SOURCE_HOME> directory.
cd <gitrepo_SOURCE_HOME>



After the source code is downloaded, you can start editing. However, it is recommended to run a build prior to changing the source code to ensure that the download is complete.

Editing the source code

Now that you have downloaded the source code for the Carbon project from GitHub, you can prepare your development environment and do the required changes to the code. 

  1. To edit the source code in your IDE, set up your development environment by running one of the following commands:

  2. Add the required changes to the source code.


Ensure that the following prerequisites are in place before you build:

  1. Make sure the build server has an active Internet connection to download dependencies while building.
  2. Install Maven and JDK. See Installation Prerequisites for compatible versions. 
  3. Set the environment variable  MAVEN_OPTS=”-Xms1024m -Xmx4096m -XX:MaxPermSize=1024m” to avoid the Maven OutOfMemoryError.

Use the following maven commands to build your product:

mvn clean install

The binary and source distributions.

mvn clean install -Dmaven.test.skip=true The binary and source distributions, without running any of the unit tests.
mvn clean install -Dmaven.test.skip=true -o
The binary and source distributions, without running any of the unit tests, in offline mode. This can be done only if you have already built the source at least once.

Committing your changes

You can contribute to WSO2 products by committing your changes to GitHub. Whether you are a committer or a non-committer, you can contribute with your code as explained in the Get Involved sectionWSO2 Application Server as well as all other WSO2 products are maintained in GitHub repositories. If you are a developer, you can clone the source code from these Git repositories, and if required, you can do modifications and build a customized product on your own. WSO2 invites interested parties to contribute their changes and suggestions to WSO2. 

See the documentation on working with the source code for more information.