Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Apache Stratos team uses Git as their source control system and Maven 3 as the build tool. Follow the instructions below to be able to contribute your code to Apache Stratos as a non-committer.

Step 1 - Mirror the Apache Stratos Git repository

Set up a mirror of the original Apache Stratos Git repository by forking it. The Git repository can be found at the following location https://github.com/apache/stratos/.

Step 2 - Build using Maven

  1. Navigate to the directory that you checked out the Stratos source distribution.

    cd <LOCAL_FOLDER_NAME>/<STRATOS_SOURCE_HOME>

    For example: cd myLocalRepo/<STRATOS_SOURCE_HOME>
  2. Use Maven to build the source.

    CommandDescription
    mvn clean install To build the source distribution of the release.
    mvn clean install -Dmaven.test.skip=trueTo build source distribution, without running any of the unit tests.
    mvn clean install -Dmaven.test.skip=true -o To build source distribution, without running any of the unit tests, in offline mode. This can be done only if you've already built the source at least once.

Step 3 - Contribute code to Apache Stratos

After you set up your local Git repository, follow the steps below to contribute code as a Non-committer:

  1. Make a clone of the GitHub repository you forked in step 1. 
  2. Commit the changes to your fork.
  3. Contribute code to Apache Stratos through pull requests.
Info

For more information on how to use pull requests, see Using pull requests.