Versions Compared

Key

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

The main Git repository is hosted at the following location: https://git-wip-us.apache.org/repos/asf/stratos.git. Apache Stratos, welcomes you all to contribute by checking out Apache Stratos source from Git, building the products used by Apache Stratos and making changes. If you are a non-committer, for for more information on contributing, see Contributing as a Non-committer.   If you are an Apache Stratos committer, you will be able to directly commit your changes after following the instructions below:

Table of Contents

Excerpt

Step 1 - Check out the source

Checkout the source from Apache Stratos remote repository to a folder of your choice.

git clone httpsclone https://git-wip-us.apache.org/repos/asf/stratos.git <local-folder-name>

For example: git clone httpsclone https://git-wip-us.apache.org/repos/asf/stratos.git myLocalRepo

Info
HTML
Make sure that you have setup Git properly. For more information, go to <a target="_blank" href=http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup>http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup</a>

Step 2 - Build using Maven

  1. Go to the top level of the directory in which you checked out the source.

    cd <local-folder-name>

    For example: cd myLocalRepo
  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.